From 602b098c03ff642e4b4bb82eb413731feabd417f Mon Sep 17 00:00:00 2001 From: TypeScript Bot Date: Thu, 13 Jun 2024 10:31:10 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Pick=20PR=20#58831=20(Disable=20?= =?UTF-8?q?#57896=20(Respect=20package.jso...)=20into=20release-5.5=20(#58?= =?UTF-8?q?848)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Andrew Branch Co-authored-by: Andrew Branch --- src/compiler/program.ts | 14 +- .../unittests/tscWatch/incremental.ts | 6 +- .../allowJsCrossMonorepoPackage.trace.json | 26 +- ...ionsExcludesNode(module=esnext).trace.json | 23 +- ...nsExcludesNode(module=preserve).trace.json | 23 +- ...odule(moduleresolution=bundler).trace.json | 162 +-- .../bundlerImportESM(module=esnext).js | 6 +- ...sextensions=false,noemit=false).trace.json | 41 +- ...tsextensions=false,noemit=true).trace.json | 41 +- ...tsextensions=true,noemit=false).trace.json | 41 +- ...gtsextensions=true,noemit=true).trace.json | 41 +- ...dlerNodeModules1(module=esnext).errors.txt | 6 +- .../bundlerNodeModules1(module=esnext).js | 3 +- ...dlerNodeModules1(module=esnext).trace.json | 41 +- .../bundlerNodeModules1(module=esnext).types | 6 +- ...erNodeModules1(module=preserve).errors.txt | 6 +- ...erNodeModules1(module=preserve).trace.json | 41 +- ...bundlerNodeModules1(module=preserve).types | 6 +- ...bundlerRelative1(module=esnext).trace.json | 27 +- ...ndlerRelative1(module=preserve).trace.json | 27 +- .../reference/cacheResolutions.trace.json | 28 +- .../cachedModuleResolution1.trace.json | 30 +- .../cachedModuleResolution2.trace.json | 30 +- .../cachedModuleResolution3.trace.json | 29 +- .../cachedModuleResolution4.trace.json | 29 +- .../cachedModuleResolution5.trace.json | 29 +- .../cachedModuleResolution6.trace.json | 26 +- .../cachedModuleResolution7.trace.json | 26 +- .../cachedModuleResolution8.trace.json | 26 +- .../cachedModuleResolution9.trace.json | 26 +- ...lback(moduleresolution=bundler).trace.json | 20 +- ...esolvepackagejsonexports=false).trace.json | 24 +- ...resolvepackagejsonexports=true).trace.json | 24 +- ...age_relativeImportWithinPackage.trace.json | 23 +- ...ativeImportWithinPackage_scoped.trace.json | 23 +- ...lpersWithLocalCollisions(module=node16).js | 7 +- ...ersWithLocalCollisions(module=nodenext).js | 7 +- ...nthesizedDefault(module=esnext).errors.txt | 23 - ...oSynthesizedDefault(module=esnext).symbols | 10 +- ...mNoSynthesizedDefault(module=esnext).types | 52 +- ...hesizedDefault(module=preserve).errors.txt | 23 - ...ynthesizedDefault(module=preserve).symbols | 10 +- ...oSynthesizedDefault(module=preserve).types | 52 +- ...balAugmentationModuleResolution.trace.json | 18 +- ...impliedNodeFormatEmit1(module=commonjs).js | 18 +- .../impliedNodeFormatEmit1(module=esnext).js | 8 +- ...impliedNodeFormatEmit2(module=commonjs).js | 18 +- .../impliedNodeFormatEmit2(module=esnext).js | 8 +- ...impliedNodeFormatEmit3(module=commonjs).js | 34 +- .../impliedNodeFormatEmit3(module=esnext).js | 8 +- ...impliedNodeFormatEmit4(module=commonjs).js | 18 +- .../impliedNodeFormatEmit4(module=esnext).js | 24 +- ...portHelpersVerbatimModuleSyntax.errors.txt | 48 + .../importHelpersVerbatimModuleSyntax.types | 4 + .../importWithTrailingSlash.trace.json | 26 +- ...portWithTrailingSlash_noResolve.trace.json | 17 +- .../reference/jsdocInTypeScript.trace.json | 30 +- ...lesExportsSpecifierGenerationConditions.js | 8 +- .../libTypeScriptOverrideSimple.trace.json | 22 +- ...bTypeScriptOverrideSimpleConfig.trace.json | 21 +- .../libTypeScriptSubfileResolving.trace.json | 26 +- ...ypeScriptSubfileResolvingConfig.trace.json | 26 +- .../reference/library-reference-1.trace.json | 22 +- .../reference/library-reference-10.trace.json | 19 +- .../reference/library-reference-11.trace.json | 20 +- .../reference/library-reference-12.trace.json | 21 +- .../reference/library-reference-13.trace.json | 25 +- .../reference/library-reference-14.trace.json | 23 +- .../reference/library-reference-15.trace.json | 23 +- .../reference/library-reference-2.trace.json | 18 +- .../reference/library-reference-3.trace.json | 22 +- .../reference/library-reference-4.trace.json | 34 +- .../reference/library-reference-5.trace.json | 34 +- .../reference/library-reference-6.trace.json | 22 +- .../reference/library-reference-7.trace.json | 22 +- .../reference/library-reference-8.trace.json | 26 +- ...brary-reference-scoped-packages.trace.json | 21 +- ...NodeModuleJsDepthDefaultsToZero.trace.json | 19 +- ...uleDetectionIsolatedModulesCjsFileScope.js | 3 +- .../reference/modulePreserve2.trace.json | 160 +-- .../reference/modulePreserve3.trace.json | 165 +-- .../reference/modulePreserve4.errors.txt | 38 +- .../baselines/reference/modulePreserve4.types | 8 +- ...olutionAsTypeReferenceDirective.trace.json | 19 +- ...AsTypeReferenceDirectiveAmbient.trace.json | 19 +- ...nAsTypeReferenceDirectiveScoped.trace.json | 36 +- ...geIdWithRelativeAndAbsolutePath.trace.json | 32 +- .../moduleResolutionWithExtensions.trace.json | 26 +- ...tionWithExtensions_notSupported.trace.json | 17 +- ...ionWithExtensions_notSupported2.trace.json | 17 +- ...ionWithExtensions_notSupported3.trace.json | 17 +- ...lutionWithExtensions_unexpected.trace.json | 17 +- ...utionWithExtensions_unexpected2.trace.json | 17 +- ...thExtensions_withAmbientPresent.trace.json | 18 +- ...olutionWithExtensions_withPaths.trace.json | 44 +- .../moduleResolutionWithRequire.trace.json | 17 +- ...eResolutionWithRequireAndImport.trace.json | 18 +- ...uleResolutionWithSuffixes_empty.trace.json | 18 +- ...lutionWithSuffixes_notSpecified.trace.json | 18 +- ...oduleResolutionWithSuffixes_one.trace.json | 19 +- ...ResolutionWithSuffixes_oneBlank.trace.json | 18 +- ...olutionWithSuffixes_oneNotFound.trace.json | 18 +- ...Suffixes_one_dirModuleWithIndex.trace.json | 21 +- ...WithSuffixes_one_externalModule.trace.json | 20 +- ...Suffixes_one_externalModulePath.trace.json | 20 +- ...es_one_externalModule_withPaths.trace.json | 21 +- ...thSuffixes_one_externalTSModule.trace.json | 20 +- ...lutionWithSuffixes_one_jsModule.trace.json | 19 +- ...tionWithSuffixes_one_jsonModule.trace.json | 17 +- ...nWithSuffixes_threeLastIsBlank1.trace.json | 20 +- ...nWithSuffixes_threeLastIsBlank2.trace.json | 19 +- ...nWithSuffixes_threeLastIsBlank3.trace.json | 18 +- ...nWithSuffixes_threeLastIsBlank4.trace.json | 17 +- .../moduleResolutionWithSymlinks.trace.json | 24 +- ...onWithSymlinks_notInNodeModules.trace.json | 24 +- ...onWithSymlinks_preserveSymlinks.trace.json | 30 +- ...tionWithSymlinks_referenceTypes.trace.json | 25 +- ...solutionWithSymlinks_withOutDir.trace.json | 24 +- ...on_packageJson_notAtPackageRoot.trace.json | 18 +- ...AtPackageRoot_fakeScopedPackage.trace.json | 18 +- ...ution_packageJson_scopedPackage.trace.json | 18 +- ...on_packageJson_yesAtPackageRoot.trace.json | 17 +- ...AtPackageRoot_fakeScopedPackage.trace.json | 17 +- ...ageRoot_mainFieldInSubDirectory.trace.json | 21 +- ...irect(moduleresolution=bundler).trace.json | 23 +- ...e10AlternateResult_noResolution.trace.json | 20 +- .../node10Alternateresult_noTypes.trace.json | 20 +- .../reference/node10IsNode_node.trace.json | 21 +- .../reference/node10IsNode_node10.trace.json | 21 +- .../nodeColonModuleResolution.trace.json | 25 +- .../nodeColonModuleResolution2.trace.json | 25 +- .../reference/packageJsonMain.trace.json | 17 +- .../packageJsonMain_isNonRecursive.trace.json | 17 +- ...ppingBasedModuleResolution1_amd.trace.json | 18 +- ...pingBasedModuleResolution1_node.trace.json | 18 +- ...gBasedModuleResolution2_classic.trace.json | 21 +- ...pingBasedModuleResolution2_node.trace.json | 21 +- ...gBasedModuleResolution3_classic.trace.json | 26 +- ...pingBasedModuleResolution3_node.trace.json | 28 +- ...gBasedModuleResolution4_classic.trace.json | 26 +- ...pingBasedModuleResolution4_node.trace.json | 28 +- ...gBasedModuleResolution5_classic.trace.json | 31 +- ...pingBasedModuleResolution5_node.trace.json | 33 +- ...gBasedModuleResolution6_classic.trace.json | 27 +- ...pingBasedModuleResolution6_node.trace.json | 28 +- ...gBasedModuleResolution7_classic.trace.json | 35 +- ...pingBasedModuleResolution7_node.trace.json | 38 +- ...gBasedModuleResolution8_classic.trace.json | 22 +- ...pingBasedModuleResolution8_node.trace.json | 22 +- ...lution_rootImport_aliasWithRoot.trace.json | 24 +- ...liasWithRoot_differentRootTypes.trace.json | 24 +- ...t_aliasWithRoot_multipleAliases.trace.json | 25 +- ...port_aliasWithRoot_realRootFile.trace.json | 20 +- ...tion_rootImport_noAliasWithRoot.trace.json | 24 +- ...rt_noAliasWithRoot_realRootFile.trace.json | 20 +- ...dModuleResolution_withExtension.trace.json | 21 +- ...eResolution_withExtensionInName.trace.json | 27 +- ...ithExtension_MapedToNodeModules.trace.json | 17 +- ...tion_withExtension_failedLookup.trace.json | 17 +- .../reference/pathsValidation4.trace.json | 19 +- .../reference/pathsValidation5.trace.json | 19 +- ...ResolveJsonModuleAndPathMapping.trace.json | 17 +- .../requireOfJsonFile_PathMapping.trace.json | 17 +- ...stic1(moduleresolution=bundler).trace.json | 22 +- ...le-declarations-from-non-modified-files.js | 19 - ...ule-resolutions-from-non-modified-files.js | 179 +-- .../fetches-imports-after-npm-install.js | 10 - .../reference/scopedPackages.trace.json | 30 +- .../scopedPackagesClassic.trace.json | 21 +- .../selfNameModuleAugmentation.trace.json | 25 +- .../modules-and-globals-mixed-in-amd.js | 138 +- .../prepend-reports-deprecation-error.js | 98 +- ...e-resolution-finds-original-source-file.js | 89 +- .../different-options-discrepancies.js | 90 +- ...-options-with-incremental-discrepancies.js | 60 +- ...-incremental-with-outFile-discrepancies.js | 100 +- ...t-options-with-incremental-with-outFile.js | 539 ++------ .../different-options-with-incremental.js | 386 ++---- ...rent-options-with-outFile-discrepancies.js | 150 +- .../different-options-with-outFile.js | 392 +----- .../tsbuild/commandLine/different-options.js | 272 ++-- ...Only-false-on-commandline-discrepancies.js | 66 +- ...claration-and-incremental-discrepancies.js | 66 +- ...-incremental-with-outFile-discrepancies.js | 50 +- ...eclaration-and-incremental-with-outFile.js | 196 +-- ...ndline-with-declaration-and-incremental.js | 216 ++- ...-commandline-with-outFile-discrepancies.js | 100 +- ...nOnly-false-on-commandline-with-outFile.js | 294 +--- ...mitDeclarationOnly-false-on-commandline.js | 220 +-- ...rationOnly-on-commandline-discrepancies.js | 102 +- ...claration-and-incremental-discrepancies.js | 102 +- ...-incremental-with-outFile-discrepancies.js | 50 +- ...eclaration-and-incremental-with-outFile.js | 392 +----- ...ndline-with-declaration-and-incremental.js | 472 +++---- ...-commandline-with-outFile-discrepancies.js | 150 +- ...arationOnly-on-commandline-with-outFile.js | 637 ++------- .../emitDeclarationOnly-on-commandline.js | 482 +++---- ...tax-errors-in-config-file-discrepancies.js | 18 +- ...ntax-errors-in-config-file-with-outFile.js | 31 +- .../reports-syntax-errors-in-config-file.js | 66 +- ...nce-and-both-extend-config-with-include.js | 44 +- ...th-projects-extends-config-with-include.js | 44 +- ...ter-initial-build-doesnt-build-anything.js | 48 +- .../when-solution-is-referenced-indirectly.js | 64 +- ...ugh-triple-slash-but-uses-no-references.js | 34 +- ...file-is-referenced-through-triple-slash.js | 87 +- ...d-inferred-type-from-referenced-project.js | 39 +- ...s-not-in-rootDir-at-the-import-location.js | 38 +- ...ng-setup-correctly-and-reports-no-error.js | 89 +- ...-emitDeclarationOnly-and-declarationMap.js | 70 +- ...import-project-with-emitDeclarationOnly.js | 70 +- ...mports-project-with-emitDeclarationOnly.js | 84 +- ...es-is-empty-and-references-are-provided.js | 16 +- .../tsbuild/extends/configDir-template.js | 27 - .../extends/resolves-the-symlink-path.js | 16 +- ...ted-file-with-outFile-without-composite.js | 8 - .../deleted-file-without-composite.js | 8 - .../detects-deleted-file-discrepancies.js | 12 +- .../detects-deleted-file-with-outFile.js | 82 +- .../fileDelete/detects-deleted-file.js | 82 +- ...-transitive-module-with-isolatedModules.js | 123 +- .../inferred-type-from-transitive-module.js | 123 +- ...hange-in-signature-with-isolatedModules.js | 204 +-- ...based-projects-and-emits-them-correctly.js | 40 +- ...ved-json-files-and-emits-them-correctly.js | 63 +- ...s-merged-and-contains-late-bound-member.js | 88 +- .../with-config-with-redirection.js | 301 +---- .../tsbuild/libraryResolution/with-config.js | 268 +--- ...iffers-between-projects-for-shared-file.js | 12 +- ...project-correctly-with-preserveSymlinks.js | 41 +- ...-file-from-referenced-project-correctly.js | 41 +- ...t-resolution-options-referenced-project.js | 64 +- ...zed-module-specifiers-resolve-correctly.js | 70 +- .../semantic-errors-with-incremental.js | 48 +- .../syntax-errors-with-incremental.js | 48 +- ...c-errors-with-incremental-discrepancies.js | 24 +- .../semantic-errors-with-incremental.js | 32 +- ...x-errors-with-incremental-discrepancies.js | 24 +- .../noCheck/syntax-errors-with-incremental.js | 32 +- .../semantic-errors-with-incremental.js | 32 +- .../noEmit/syntax-errors-with-incremental.js | 32 +- ...tFile-with-declaration-with-incremental.js | 40 +- ...emantic-errors-outFile-with-incremental.js | 40 +- ...rrors-with-declaration-with-incremental.js | 60 +- .../semantic-errors-with-incremental.js | 61 +- ...tFile-with-declaration-with-incremental.js | 40 +- .../syntax-errors-outFile-with-incremental.js | 40 +- ...rrors-with-declaration-with-incremental.js | 57 +- .../syntax-errors-with-incremental.js | 57 +- .../outFile/baseline-sectioned-sourcemaps.js | 231 +--- .../outFile/builds-till-project-specified.js | 31 +- .../tsbuild/outFile/clean-projects.js | 111 +- .../outFile/cleans-till-project-specified.js | 111 +- .../non-module-projects-without-prepend.js | 97 +- ...al-flag-changes-between-non-dts-changes.js | 191 +-- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 222 +-- ...erated-when-incremental-is-set-to-false.js | 71 +- ...-buildInfo-absence-results-in-new-build.js | 111 +- ...roject-is-not-composite-but-incremental.js | 111 +- ...t-composite-but-uses-project-references.js | 111 +- ...final-project-specifies-tsBuildInfoFile.js | 111 +- ...ot-change-but-its-modified-time-changes.js | 111 +- ...otDir-is-not-specified-and-is-composite.js | 16 +- ...iles-belong-to-rootDir-and-is-composite.js | 44 +- .../builds-correctly.js | 38 +- ...nfo-file-because-no-rootDir-in-the-base.js | 16 +- ...reports-error-for-same-tsbuildinfo-file.js | 16 +- ...eports-no-error-when-tsbuildinfo-differ.js | 38 +- .../build-with-custom-transformers.js | 34 +- .../files-containing-json-file.js | 16 +- ...ting-json-module-from-project-reference.js | 26 +- .../resolveJsonModule/include-and-files.js | 16 +- ...r-include-and-file-name-matches-ts-file.js | 16 +- ...nclude-of-json-along-with-other-include.js | 16 +- .../include-only-with-json-not-in-rootDir.js | 16 +- ...out-rootDir-but-outside-configDirectory.js | 16 +- .../include-only-without-outDir.js | 16 +- .../tsbuild/resolveJsonModule/include-only.js | 17 +- .../tsbuild/resolveJsonModule/sourcemap.js | 16 +- .../resolveJsonModule/without-outDir.js | 16 +- ...nsecutive-and-non-consecutive-are-mixed.js | 140 +- .../roots/when-files-are-not-consecutive.js | 52 +- ...hen-multiple-root-files-are-consecutive.js | 62 +- ...-referenced-project-and-shared-is-first.js | 335 +---- ...en-root-file-is-from-referenced-project.js | 335 +---- .../when-two-root-files-are-consecutive.js | 38 +- .../always-builds-under-with-force-option.js | 95 +- .../building-using-buildReferencedProject.js | 58 +- ...uilding-using-getNextInvalidatedProject.js | 95 +- ...rectly-when-declarationDir-is-specified.js | 95 +- ...ilds-correctly-when-outDir-is-specified.js | 95 +- .../sample1/builds-till-project-specified.js | 58 +- .../can-detect-when-and-what-to-rebuild.js | 155 +-- ...t-in-not-build-order-doesnt-throw-error.js | 95 +- .../sample1/cleans-till-project-specified.js | 95 +- ...ojects-if-upstream-projects-have-errors.js | 59 +- .../reference/tsbuild/sample1/explainFiles.js | 218 +-- ...it-would-skip-builds-during-a-dry-build.js | 95 +- .../sample1/invalidates-projects-correctly.js | 192 +-- .../tsbuild/sample1/listEmittedFiles.js | 218 +-- .../reference/tsbuild/sample1/listFiles.js | 218 +-- ...-in-tsbuildinfo-doesnt-match-ts-version.js | 190 +-- ...uilds-from-start-if-force-option-is-set.js | 95 +- ...uilds-when-extended-config-file-changes.js | 132 +- .../sample1/removes-all-files-it-built.js | 95 +- ...ror-if-input-file-is-missing-with-force.js | 22 +- .../reports-error-if-input-file-is-missing.js | 22 +- .../reference/tsbuild/sample1/sample.js | 285 ++-- .../tsbuild/sample1/tsbuildinfo-has-error.js | 21 +- .../when-declaration-option-changes.js | 58 +- .../sample1/when-declarationMap-changes.js | 151 +-- .../when-esModuleInterop-option-changes.js | 132 +- ...ot-change-but-its-modified-time-changes.js | 95 +- .../when-logic-specifies-tsBuildInfoFile.js | 95 +- .../sample1/when-module-option-changes.js | 60 +- .../sample1/when-target-option-changes.js | 74 +- ...roject-uses-different-module-resolution.js | 39 +- .../transitiveReferences/builds-correctly.js | 39 +- ...de-resolution-with-external-module-name.js | 33 +- ...ntax-errors-in-config-file-with-outFile.js | 47 +- .../reports-syntax-errors-in-config-file.js | 82 +- .../demo/updates-with-bad-reference.js | 89 +- .../demo/updates-with-circular-reference.js | 89 +- .../extends/configDir-template.js | 89 -- .../with-config-with-redirection.js | 334 +---- .../libraryResolution/with-config.js | 298 +--- ...for-changes-to-package-json-main-fields.js | 209 ++- ...se-different-module-resolution-settings.js | 128 +- ...n-no-files-are-emitted-with-incremental.js | 63 +- ...e-emitted-with-outFile-with-incremental.js | 16 - ...-when-no-files-are-emitted-with-outFile.js | 16 - ...when-watching-when-no-files-are-emitted.js | 16 - ...tFile-with-declaration-with-incremental.js | 102 +- ...files-on-error-outFile-with-declaration.js | 22 - ...files-on-error-outFile-with-incremental.js | 102 +- ...oes-not-emit-any-files-on-error-outFile.js | 22 - ...error-with-declaration-with-incremental.js | 137 +- ...mit-any-files-on-error-with-declaration.js | 22 - ...mit-any-files-on-error-with-incremental.js | 137 +- .../does-not-emit-any-files-on-error.js | 22 - .../creates-solution-in-watch-mode.js | 117 +- .../incremental-updates-in-verbose-mode.js | 214 +-- .../when-file-with-no-error-changes.js | 84 +- ...ing-errors-only-changed-file-is-emitted.js | 84 +- .../when-file-with-no-error-changes.js | 64 +- ...ixing-error-files-all-files-are-emitted.js | 63 +- .../when-preserveWatchOutput-is-not-used.js | 175 +-- ...veWatchOutput-is-passed-on-command-line.js | 175 +-- ...e-of-program-emit-with-outDir-specified.js | 98 +- ...r-recompilation-because-of-program-emit.js | 98 +- .../programUpdates/tsbuildinfo-has-error.js | 29 +- ...-references-watches-only-those-projects.js | 78 +- ...tches-config-files-that-are-not-present.js | 147 +- ...e-down-stream-project-and-then-fixes-it.js | 68 +- ...le-is-added,-and-its-subsequent-updates.js | 207 +-- ...hanges-and-reports-found-errors-message.js | 402 ++---- ...not-start-build-of-referencing-projects.js | 145 +- .../with-outFile-and-non-local-change.js | 148 +- ...le-is-added,-and-its-subsequent-updates.js | 207 +-- ...hanges-and-reports-found-errors-message.js | 402 ++---- ...not-start-build-of-referencing-projects.js | 145 +- ...project-with-extended-config-is-removed.js | 58 +- ...hen-noUnusedParameters-changes-to-false.js | 16 - .../works-with-extended-source-files.js | 144 +- ...hen-there-are-23-projects-in-a-solution.js | 514 +++---- ...when-there-are-3-projects-in-a-solution.js | 102 +- ...when-there-are-5-projects-in-a-solution.js | 138 +- ...when-there-are-8-projects-in-a-solution.js | 224 +-- .../publicApi/with-custom-transformers.js | 70 +- .../reexport/Reports-errors-correctly.js | 92 +- ...-referenced-project-and-shared-is-first.js | 397 +----- ...en-root-file-is-from-referenced-project.js | 397 +----- ...e-projects-with-single-watcher-per-file.js | 78 -- .../when-emitting-buildInfo.js | 102 +- .../tsc/cancellationToken/when-using-state.js | 102 +- .../tsc/composite/converting-to-modules.js | 32 +- ...ther-symlinked-package-moduleCaseChange.js | 23 - ...age-with-indirect-link-moduleCaseChange.js | 14 - ...er-symlinked-package-with-indirect-link.js | 14 - ...gh-source-and-another-symlinked-package.js | 23 - .../configDir-template-with-commandline.js | 27 - .../tsc/extends/configDir-template.js | 27 - .../tsc/extends/resolves-the-symlink-path.js | 16 +- .../with-type-ref-from-file.js | 10 - ...ion-field-with-declaration-emit-enabled.js | 66 +- ...e-to-modifier-of-class-expression-field.js | 68 +- ...in-another-file-through-indirect-import.js | 68 +- ...s-global-through-export-in-another-file.js | 56 +- .../different-options-discrepancies.js | 90 +- ...-options-with-incremental-discrepancies.js | 60 +- ...-incremental-with-outFile-discrepancies.js | 100 +- ...t-options-with-incremental-with-outFile.js | 539 ++------ .../different-options-with-incremental.js | 386 ++---- ...rent-options-with-outFile-discrepancies.js | 150 +- .../different-options-with-outFile.js | 490 +------ .../tsc/incremental/different-options.js | 340 ++--- .../generates-typerefs-correctly.js | 56 +- .../incremental/serializing-error-chains.js | 16 +- ...ault-lib-that-augments-the-global-scope.js | 16 +- .../tsc/incremental/tsbuildinfo-has-error.js | 21 +- .../tsc/incremental/when-file-is-deleted.js | 38 +- ...le-is-added,-the-signatures-are-updated.js | 198 +-- ...to-the-referenced-project-discrepancies.js | 36 +- ...file-is-added-to-the-referenced-project.js | 100 +- ...g-filename-for-buildinfo-on-commandline.js | 17 +- .../when-passing-rootDir-from-commandline.js | 17 +- ...when-passing-rootDir-is-in-the-tsconfig.js | 17 +- ...sed-const-enums-with-preserveConstEnums.js | 150 +- .../incremental/with-aliased-const-enums.js | 150 +- ...ile-const-enums-with-preserveConstEnums.js | 187 +-- ...h-aliased-in-different-file-const-enums.js | 187 +-- ...ith-const-enums-with-preserveConstEnums.js | 150 +- .../tsc/incremental/with-const-enums.js | 150 +- .../tsc/incremental/with-only-dts-files.js | 48 +- .../tsc/libraryResolution/unknown-lib.js | 81 +- .../with-config-with-redirection.js | 129 +- .../tsc/libraryResolution/with-config.js | 117 +- .../without-config-with-redirection.js | 53 - .../tsc/libraryResolution/without-config.js | 41 - .../combined-with-incremental.js | 17 +- .../tsc/moduleResolution/pnpm-style-layout.js | 15 - .../noEmit/changes-composite-discrepancies.js | 420 ++---- .../tsc/noEmit/changes-composite-outFile.js | 201 +-- .../reference/tsc/noEmit/changes-composite.js | 280 ++-- ...changes-incremental-declaration-outFile.js | 201 +-- .../noEmit/changes-incremental-declaration.js | 280 ++-- .../tsc/noEmit/changes-incremental-outFile.js | 201 +-- .../tsc/noEmit/changes-incremental.js | 294 ++-- ...-initial-noEmit-composite-discrepancies.js | 42 +- ...s-with-initial-noEmit-composite-outFile.js | 201 +-- .../changes-with-initial-noEmit-composite.js | 237 +--- ...-noEmit-incremental-declaration-outFile.js | 201 +-- ...-initial-noEmit-incremental-declaration.js | 237 +--- ...with-initial-noEmit-incremental-outFile.js | 201 +-- ...changes-with-initial-noEmit-incremental.js | 247 +--- .../noEmit/when-project-has-strict-true.js | 17 +- ...-before-fixing-error-with-noEmitOnError.js | 41 +- ...tFile-with-declaration-with-incremental.js | 40 +- ...emantic-errors-outFile-with-incremental.js | 40 +- ...rrors-with-declaration-with-incremental.js | 60 +- .../semantic-errors-with-incremental.js | 61 +- ...tFile-with-declaration-with-incremental.js | 40 +- .../syntax-errors-outFile-with-incremental.js | 40 +- ...rrors-with-declaration-with-incremental.js | 60 +- .../syntax-errors-with-incremental.js | 61 +- ...en-declarationMap-changes-discrepancies.js | 18 +- ...hen-declarationMap-changes-with-outFile.js | 62 +- .../when-declarationMap-changes.js | 66 +- ...nterop-uses-referenced-project-settings.js | 1 - .../default-setup-was-created-correctly.js | 16 +- ...snt-infer-the-rootDir-from-source-paths.js | 16 +- ...rors-when-a-file-is-outside-the-rootdir.js | 22 +- .../errors-when-declaration-=-false.js | 16 +- ...rs-when-the-file-list-is-not-exhaustive.js | 22 +- ...hen-the-referenced-project-doesnt-exist.js | 16 +- ...eferenced-project-doesnt-have-composite.js | 16 +- ...g-when-module-reference-is-not-relative.js | 16 +- ...ce-error-when-the-input-file-is-missing.js | 16 +- .../redirects-to-the-output-dts-file.js | 23 +- ...ypes-found-doesn't-crash-under---strict.js | 23 +- ...th-no-backing-types-found-doesn't-crash.js | 23 +- ...ms-correctly-in-incremental-compilation.js | 6 - ...rrors-for-.d.ts-change-with-incremental.js | 128 +- .../errors-for-.d.ts-change.js | 4 - .../errors-for-.ts-change-with-incremental.js | 119 +- .../errors-for-.ts-change.js | 4 - ...el-import-that-changes-with-incremental.js | 169 +-- ...g-a-deep-multilevel-import-that-changes.js | 4 - .../export-with-incremental.js | 200 +-- .../no-circular-import/export.js | 10 - .../exports-with-incremental.js | 225 +-- .../yes-circular-import/exports.js | 10 - ...rrors-for-.d.ts-change-with-incremental.js | 124 +- .../errors-for-.d.ts-change.js | 4 - .../errors-for-.ts-change-with-incremental.js | 116 +- .../errors-for-.ts-change.js | 4 - ...el-import-that-changes-with-incremental.js | 164 +-- ...g-a-deep-multilevel-import-that-changes.js | 4 - .../export-with-incremental.js | 194 +-- .../no-circular-import/export.js | 10 - .../exports-with-incremental.js | 218 +-- .../yes-circular-import/exports.js | 10 - ...rrors-for-.d.ts-change-with-incremental.js | 128 +- .../errors-for-.d.ts-change.js | 4 - .../errors-for-.ts-change-with-incremental.js | 121 +- .../errors-for-.ts-change.js | 4 - ...el-import-that-changes-with-incremental.js | 175 +-- ...g-a-deep-multilevel-import-that-changes.js | 4 - .../export-with-incremental.js | 208 +-- .../no-circular-import/export.js | 10 - .../exports-with-incremental.js | 235 +--- .../yes-circular-import/exports.js | 10 - ...rrors-for-.d.ts-change-with-incremental.js | 124 +- .../errors-for-.d.ts-change.js | 4 - .../errors-for-.ts-change-with-incremental.js | 116 +- .../errors-for-.ts-change.js | 4 - ...el-import-that-changes-with-incremental.js | 164 +-- ...g-a-deep-multilevel-import-that-changes.js | 4 - .../export-with-incremental.js | 194 +-- .../no-circular-import/export.js | 10 - .../exports-with-incremental.js | 218 +-- .../yes-circular-import/exports.js | 10 - ...rrors-for-.d.ts-change-with-incremental.js | 128 +- .../errors-for-.d.ts-change.js | 4 - .../errors-for-.ts-change-with-incremental.js | 125 +- .../errors-for-.ts-change.js | 4 - ...el-import-that-changes-with-incremental.js | 181 +-- ...g-a-deep-multilevel-import-that-changes.js | 4 - .../export-with-incremental.js | 215 +-- .../no-circular-import/export.js | 10 - .../exports-with-incremental.js | 243 +--- .../yes-circular-import/exports.js | 10 - ...rrors-for-.d.ts-change-with-incremental.js | 124 +- .../errors-for-.d.ts-change.js | 4 - .../errors-for-.ts-change-with-incremental.js | 116 +- .../errors-for-.ts-change.js | 4 - ...el-import-that-changes-with-incremental.js | 164 +-- ...g-a-deep-multilevel-import-that-changes.js | 4 - .../export-with-incremental.js | 194 +-- .../no-circular-import/export.js | 10 - .../exports-with-incremental.js | 218 +-- .../yes-circular-import/exports.js | 10 - .../tscWatch/extends/configDir-template.js | 91 -- .../extends/resolves-the-symlink-path.js | 25 +- .../jsxImportSource-option-changed.js | 6 - ...n-Windows-style-drive-root-is-lowercase.js | 2 - ...n-Windows-style-drive-root-is-uppercase.js | 2 - ...ry-symlink-target-and-import-match-disk.js | 9 - ...le-symlink-target-and-import-match-disk.js | 6 - ...nging-module-name-with-different-casing.js | 4 - ...target-matches-disk-but-import-does-not.js | 9 - ...m-multiple-places-with-different-casing.js | 12 - ...target-matches-disk-but-import-does-not.js | 6 - ...link-target,-and-disk-are-all-different.js | 9 - ...link-target,-and-disk-are-all-different.js | 6 - ...link-target-agree-but-do-not-match-disk.js | 9 - ...link-target-agree-but-do-not-match-disk.js | 6 - ...k-but-directory-symlink-target-does-not.js | 9 - ...s-disk-but-file-symlink-target-does-not.js | 6 - ...ative-information-file-location-changes.js | 4 - ...hen-renaming-file-with-different-casing.js | 4 - ...editing-module-augmentation-incremental.js | 61 +- .../editing-module-augmentation-watch.js | 97 +- ...lpers-backing-types-removed-incremental.js | 40 +- ...portHelpers-backing-types-removed-watch.js | 12 - ...al-with-circular-references-incremental.js | 76 +- ...remental-with-circular-references-watch.js | 88 +- ...tSource-backing-types-added-incremental.js | 40 +- ...xImportSource-backing-types-added-watch.js | 54 +- ...ource-backing-types-removed-incremental.js | 40 +- ...mportSource-backing-types-removed-watch.js | 56 +- ...ImportSource-option-changed-incremental.js | 47 +- .../jsxImportSource-option-changed-watch.js | 65 +- .../own-file-emit-with-errors-incremental.js | 47 +- .../own-file-emit-with-errors-watch.js | 59 +- ...wn-file-emit-without-errors-incremental.js | 47 +- .../own-file-emit-without-errors-watch.js | 59 +- .../with---out-incremental.js | 31 +- .../module-compilation/with---out-watch.js | 35 +- .../own-file-emit-with-errors-incremental.js | 44 +- .../own-file-emit-with-errors-watch.js | 44 +- ...eters-that-are-not-relative-incremental.js | 44 +- ...-parameters-that-are-not-relative-watch.js | 44 +- ...without-commandline-options-incremental.js | 44 +- .../without-commandline-options-watch.js | 44 +- .../incremental/tsbuildinfo-has-error.js | 17 +- ...declaration-file-is-deleted-incremental.js | 38 +- ...lobal-declaration-file-is-deleted-watch.js | 38 +- .../incremental/with---out-incremental.js | 31 +- .../tscWatch/incremental/with---out-watch.js | 31 +- .../tscWatch/libraryResolution/unknwon-lib.js | 449 +----- .../with-config-with-redirection.js | 1204 ++--------------- .../tscWatch/libraryResolution/with-config.js | 1126 ++------------- .../without-config-with-redirection.js | 544 +------- .../libraryResolution/without-config.js | 468 +------ .../late-discovered-dependency-symlink.js | 16 - ...for-changes-to-package-json-main-fields.js | 48 - ...tFile-with-declaration-with-incremental.js | 90 +- .../noEmitOnError-outFile-with-declaration.js | 10 - .../noEmitOnError-outFile-with-incremental.js | 90 +- .../noEmitOnError/noEmitOnError-outFile.js | 10 - ...Error-with-declaration-with-incremental.js | 128 +- .../noEmitOnError-with-declaration.js | 10 - .../noEmitOnError-with-incremental.js | 131 +- .../tscWatch/noEmitOnError/noEmitOnError.js | 10 - ...hould-remove-the-module-not-found-error.js | 12 - ...-root-files-has-changed-through-include.js | 12 - ...keys-differ-only-in-directory-seperator.js | 88 +- .../create-watch-without-config-file.js | 4 - ...tore-the-states-for-configured-projects.js | 12 - ...estore-the-states-for-inferred-projects.js | 18 - ...rors-correctly-with-file-not-in-rootDir.js | 4 - ...s-errors-correctly-with-isolatedModules.js | 4 - .../declarationDir-is-specified.js | 12 - ...-outDir-and-declarationDir-is-specified.js | 12 - .../when-outDir-is-specified.js | 12 - .../with-outFile.js | 12 - ...e-is-specified-with-declaration-enabled.js | 12 - .../without-outDir-or-outFile-is-specified.js | 12 - ...odule-resolution-changes-in-config-file.js | 8 - ...-emit-when-verbatimModuleSyntax-changes.js | 4 - ...on-emit-is-disabled-in-compiler-options.js | 4 - .../with-default-options.js | 4 - .../with-skipDefaultLibCheck.js | 4 - .../with-skipLibCheck.js | 4 - ...solution-when-resolveJsonModule-changes.js | 8 - ...owImportingTsExtensions`-of-config-file.js | 6 - .../when-changing-checkJs-of-config-file.js | 10 - ...n-creating-new-file-in-symlinked-folder.js | 25 - ...file-is-added-to-the-referenced-project.js | 100 +- .../on-sample-project.js | 363 +---- ...-different-folders-with-no-files-clause.js | 440 +----- ...nsitive-references-in-different-folders.js | 440 +----- .../on-transitive-references.js | 361 +---- ...n-declarationMap-changes-for-dependency.js | 136 +- ...roject-uses-different-module-resolution.js | 69 +- .../tscWatch/resolutionCache/caching-works.js | 24 - .../watch-with-configFile.js | 8 - .../watch-without-configFile.js | 10 - .../loads-missing-files-from-disk.js | 12 - .../reusing-type-ref-resolution.js | 325 +---- .../scoped-package-installation.js | 101 -- ...module-goes-missing-and-then-comes-back.js | 18 - .../with-modules-linked-to-sibling-folder.js | 8 - ...cluded-file-with-ambient-module-changes.js | 4 - ...-no-notification-from-fs-for-index-file.js | 35 - ...le-resolution-changes-to-ambient-module.js | 12 - ...der-that-already-contains-@types-folder.js | 18 - ...rogram-with-files-from-external-library.js | 10 - ...-prefers-declaration-file-over-document.js | 24 +- ...es-field-when-solution-is-already-built.js | 94 +- ...Symlinks-when-solution-is-already-built.js | 94 +- ...n-has-types-field-with-preserveSymlinks.js | 42 +- ...-package-when-solution-is-already-built.js | 94 +- ...Symlinks-when-solution-is-already-built.js | 94 +- ...th-scoped-package-with-preserveSymlinks.js | 42 +- ...son-has-types-field-with-scoped-package.js | 42 +- .../when-packageJson-has-types-field.js | 42 +- ...ubFolder-when-solution-is-already-built.js | 96 +- ...Symlinks-when-solution-is-already-built.js | 96 +- ...le-from-subFolder-with-preserveSymlinks.js | 44 +- ...-package-when-solution-is-already-built.js | 96 +- ...Symlinks-when-solution-is-already-built.js | 96 +- ...th-scoped-package-with-preserveSymlinks.js | 44 +- ...file-from-subFolder-with-scoped-package.js | 44 +- .../when-referencing-file-from-subFolder.js | 44 +- ...-project-when-solution-is-already-built.js | 95 +- .../with-simple-project.js | 44 +- ...-style-sibling-packages-symlinked-Linux.js | 106 -- ...packages-symlinked-package1-built-Linux.js | 85 -- ...bling-packages-symlinked-package1-built.js | 64 - ...norepo-style-sibling-packages-symlinked.js | 78 -- ...not-implement-hasInvalidatedResolutions.js | 101 -- ...st-implements-hasInvalidatedResolutions.js | 62 - ...ith-composite-with-emit-builder-outFile.js | 129 +- ...noEmit-with-composite-with-emit-builder.js | 148 +- ...composite-with-semantic-builder-outFile.js | 129 +- ...it-with-composite-with-semantic-builder.js | 148 +- ...ith-composite-with-emit-builder-outFile.js | 51 +- ...nError-with-composite-with-emit-builder.js | 89 +- ...composite-with-semantic-builder-outFile.js | 51 +- ...or-with-composite-with-semantic-builder.js | 89 +- .../watchApi/semantic-builder-emitOnlyDts.js | 58 +- ...createSemanticDiagnosticsBuilderProgram.js | 4 - ...icDiagnosticsBuilderProgramwith-outFile.js | 4 - ...n-works-when-returned-without-extension.js | 4 - ...ting-with-emitOnlyDtsFiles-with-outFile.js | 68 +- .../when-emitting-with-emitOnlyDtsFiles.js | 74 +- ...ing-useSourceOfProjectReferenceRedirect.js | 100 +- ...-host-implementing-getParsedCommandLine.js | 50 +- ...oject-when-there-is-no-config-file-name.js | 11 - ...tends-when-there-is-no-config-file-name.js | 11 - ...tamp-false-useFsEventsOnParentDirectory.js | 4 - .../fsWatch/fsWatchWithTimestamp-false.js | 6 - ...stamp-true-useFsEventsOnParentDirectory.js | 4 - .../fsWatch/fsWatchWithTimestamp-true.js | 6 - ...inode-when-rename-event-ends-with-tilde.js | 14 - ...e-occurs-when-file-is-still-on-the-disk.js | 14 - ...when-using-file-watching-thats-on-inode.js | 14 - ...e-occurs-when-file-is-still-on-the-disk.js | 6 - ...-folders-with-synchronousWatchDirectory.js | 72 - ...ymlinks-to-folders-in-recursive-folders.js | 90 -- ...hronous-watch-directory-renaming-a-file.js | 24 - ...ory-with-outDir-and-declaration-enabled.js | 20 - .../with-non-synchronous-watch-directory.js | 52 - ...eDirectories-option-extendedDiagnostics.js | 15 - ...-directory-watching-extendedDiagnostics.js | 15 - ...ption-with-recursive-directory-watching.js | 10 - .../with-excludeDirectories-option.js | 10 - ...excludeFiles-option-extendedDiagnostics.js | 11 - .../watchOptions/with-excludeFiles-option.js | 6 - ...e-is-in-inferred-project-until-imported.js | 7 +- ...roviderProject-when-host-project-closes.js | 9 - ...-are-redirects-that-dont-actually-exist.js | 3 - ...pening-projects-for-find-all-references.js | 5 - ...s-on-AutoImportProviderProject-creation.js | 3 - ...covers-from-an-unparseable-package_json.js | 3 - ...ds-to-automatic-changes-in-node_modules.js | 24 - ...ponds-to-manual-changes-in-node_modules.js | 10 +- .../Responds-to-package_json-changes.js | 3 - ...der-when-program-structure-is-unchanged.js | 3 - ...een-AutoImportProvider-and-main-program.js | 3 - .../projects-already-inside-node_modules.js | 7 +- ...-added-later-through-finding-definition.js | 12 - ...olution-is-reused-from-different-folder.js | 24 - ...-FLLs-in-Classic-module-resolution-mode.js | 41 - ...der-FLLs-in-Node-module-resolution-mode.js | 41 - .../loads-missing-files-from-disk.js | 56 +- ...-when-timeout-occurs-after-installation.js | 9 - ...n-timeout-occurs-inbetween-installation.js | 9 - ...-file-with-case-insensitive-file-system.js | 49 - ...ig-file-with-case-sensitive-file-system.js | 49 - .../when-calling-goto-definition-of-module.js | 20 - ...n-creating-new-file-in-symlinked-folder.js | 25 - ...eive-event-for-the-@types-file-addition.js | 23 - .../install-package-when-serialized.js | 9 - .../tsserver/codeFix/install-package.js | 9 - ...it-in-project-with-module-with-dts-emit.js | 10 - .../emit-in-project-with-module.js | 10 - ...hout-includeCompletionsForModuleExports.js | 18 - ...-with-path-mapping-with-existing-import.js | 20 - ...hout-includeCompletionsForModuleExports.js | 6 - ...oject-reference-setup-with-path-mapping.js | 52 - ...mports-but-has-project-references-setup.js | 6 - ...ed-from-two-different-drives-of-windows.js | 10 +- ...on-reflected-when-specifying-files-list.js | 14 - ...er-old-one-without-file-being-in-config.js | 21 - ...invoked,-ask-errors-on-it-after-old-one.js | 36 - ...re-old-one-without-file-being-in-config.js | 21 - ...nvoked,-ask-errors-on-it-before-old-one.js | 36 - ...er-old-one-without-file-being-in-config.js | 21 - ...invoked,-ask-errors-on-it-after-old-one.js | 30 - ...re-old-one-without-file-being-in-config.js | 21 - ...nvoked,-ask-errors-on-it-before-old-one.js | 30 - ...uses-parent-most-node_modules-directory.js | 18 - ...ject-if-it-is-referenced-from-root-file.js | 59 - ...ndle-@types-if-input-file-list-is-empty.js | 6 - ...odule-resolution-changes-in-config-file.js | 13 - ...gured-project-does-not-contain-the-file.js | 59 - ...re-open-detects-correct-default-project.js | 23 - ...-orphan,-and-orphan-script-info-changes.js | 38 +- ...he-source-file-if-script-info-is-orphan.js | 38 +- ...s-file-is-included-by-module-resolution.js | 9 - ...n-large-js-file-is-included-by-tsconfig.js | 9 - ...s-file-is-included-by-module-resolution.js | 9 - ...n-large-ts-file-is-included-by-tsconfig.js | 9 - ...g-file-when-using-default-event-handler.js | 6 - ...ed-config-file-when-using-event-handler.js | 6 - ...g-file-when-using-default-event-handler.js | 6 - ...he-config-file-when-using-event-handler.js | 6 - ...sabled-when-using-default-event-handler.js | 6 - ...ct-is-disabled-when-using-event-handler.js | 6 - ...-false-when-using-default-event-handler.js | 6 - ...oject-is-false-when-using-event-handler.js | 6 - ...opened-when-using-default-event-handler.js | 6 - ...file-is-opened-when-using-event-handler.js | 6 - ...direct-when-using-default-event-handler.js | 17 - ...erenceRedirect-when-using-event-handler.js | 17 - ...roject-when-using-default-event-handler.js | 17 - ...cation-project-when-using-event-handler.js | 17 - ...n-file-when-using-default-event-handler.js | 14 - ...d-by-open-file-when-using-event-handler.js | 14 - ...he-session-and-project-is-at-root-level.js | 3 - ...ession-and-project-is-not-at-root-level.js | 38 - ...tself-if---isolatedModules-is-specified.js | 14 - ...self-if---out-or---outFile-is-specified.js | 14 - ...should-be-up-to-date-with-deleted-files.js | 14 - ...-be-up-to-date-with-newly-created-files.js | 14 - ...-to-date-with-the-reference-map-changes.js | 18 - ...session-and-should-contains-only-itself.js | 14 - ...should-detect-changes-in-non-root-files.js | 14 - ...nd-should-detect-non-existing-code-file.js | 22 - ...ion-and-should-detect-removed-code-file.js | 14 - ...ll-files-if-a-global-file-changed-shape.js | 14 - ...ould-return-cascaded-affected-file-list.js | 14 - ...fine-for-files-with-circular-references.js | 14 - ...n-the-session-and-when---outFile-is-set.js | 10 - ...in-the-session-and-when-adding-new-file.js | 14 - ...ssion-and-when-both-options-are-not-set.js | 10 - ...oundUpdate-and-project-is-at-root-level.js | 3 - ...Update-and-project-is-not-at-root-level.js | 38 - ...tself-if---isolatedModules-is-specified.js | 14 - ...self-if---out-or---outFile-is-specified.js | 14 - ...should-be-up-to-date-with-deleted-files.js | 14 - ...-be-up-to-date-with-newly-created-files.js | 14 - ...-to-date-with-the-reference-map-changes.js | 18 - ...dUpdate-and-should-contains-only-itself.js | 14 - ...should-detect-changes-in-non-root-files.js | 14 - ...nd-should-detect-non-existing-code-file.js | 22 - ...ate-and-should-detect-removed-code-file.js | 14 - ...ll-files-if-a-global-file-changed-shape.js | 14 - ...ould-return-cascaded-affected-file-list.js | 14 - ...fine-for-files-with-circular-references.js | 14 - ...kgroundUpdate-and-when---outFile-is-set.js | 10 - ...ckgroundUpdate-and-when-adding-new-file.js | 14 - ...pdate-and-when-both-options-are-not-set.js | 10 - ...oundUpdate-and-project-is-at-root-level.js | 3 - ...Update-and-project-is-not-at-root-level.js | 38 - ...tself-if---isolatedModules-is-specified.js | 14 - ...self-if---out-or---outFile-is-specified.js | 14 - ...should-be-up-to-date-with-deleted-files.js | 14 - ...-be-up-to-date-with-newly-created-files.js | 14 - ...-to-date-with-the-reference-map-changes.js | 18 - ...dUpdate-and-should-contains-only-itself.js | 14 - ...should-detect-changes-in-non-root-files.js | 14 - ...nd-should-detect-non-existing-code-file.js | 22 - ...ate-and-should-detect-removed-code-file.js | 14 - ...ll-files-if-a-global-file-changed-shape.js | 14 - ...ould-return-cascaded-affected-file-list.js | 14 - ...fine-for-files-with-circular-references.js | 14 - ...kgroundUpdate-and-when---outFile-is-set.js | 10 - ...ckgroundUpdate-and-when-adding-new-file.js | 14 - ...pdate-and-when-both-options-are-not-set.js | 10 - .../canUseWatchEvents-on-windows.js | 152 +-- .../canUseWatchEvents-without-canUseEvents.js | 36 - .../events/watchEvents/canUseWatchEvents.js | 152 +-- ...-was-updated-and-no-longer-has-the-file.js | 16 - ...et-and-import-match-disk-with-link-open.js | 15 - ...rt-match-disk-with-target-and-link-open.js | 21 - ...-and-import-match-disk-with-target-open.js | 15 - ...ry-symlink-target-and-import-match-disk.js | 9 - ...et-and-import-match-disk-with-link-open.js | 10 - ...rt-match-disk-with-target-and-link-open.js | 14 - ...-and-import-match-disk-with-target-open.js | 10 - ...le-symlink-target-and-import-match-disk.js | 6 - ...nging-module-name-with-different-casing.js | 6 - ...disk-but-import-does-not-with-link-open.js | 15 - ...port-does-not-with-target-and-link-open.js | 21 - ...sk-but-import-does-not-with-target-open.js | 15 - ...target-matches-disk-but-import-does-not.js | 9 - ...m-multiple-places-with-different-casing.js | 18 - ...disk-but-import-does-not-with-link-open.js | 10 - ...port-does-not-with-target-and-link-open.js | 14 - ...sk-but-import-does-not-with-target-open.js | 10 - ...target-matches-disk-but-import-does-not.js | 6 - ...d-disk-are-all-different-with-link-open.js | 15 - ...all-different-with-target-and-link-open.js | 21 - ...disk-are-all-different-with-target-open.js | 15 - ...link-target,-and-disk-are-all-different.js | 9 - ...d-disk-are-all-different-with-link-open.js | 10 - ...all-different-with-target-and-link-open.js | 14 - ...disk-are-all-different-with-target-open.js | 10 - ...link-target,-and-disk-are-all-different.js | 6 - ...ee-but-do-not-match-disk-with-link-open.js | 15 - ...ot-match-disk-with-target-and-link-open.js | 21 - ...-but-do-not-match-disk-with-target-open.js | 15 - ...link-target-agree-but-do-not-match-disk.js | 9 - ...ee-but-do-not-match-disk-with-link-open.js | 10 - ...ot-match-disk-with-target-and-link-open.js | 14 - ...-but-do-not-match-disk-with-target-open.js | 10 - ...link-target-agree-but-do-not-match-disk.js | 6 - ...-symlink-target-does-not-with-link-open.js | 15 - ...rget-does-not-with-target-and-link-open.js | 21 - ...ymlink-target-does-not-with-target-open.js | 15 - ...k-but-directory-symlink-target-does-not.js | 9 - ...-symlink-target-does-not-with-link-open.js | 10 - ...rget-does-not-with-target-and-link-open.js | 14 - ...ymlink-target-does-not-with-target-open.js | 10 - ...s-disk-but-file-symlink-target-does-not.js | 6 - ...ied-with-a-case-insensitive-file-system.js | 14 - ...hen-renaming-file-with-different-casing.js | 18 - .../autoImportCrossPackage_pathsAndSymlink.js | 8 - ...toImportCrossProject_paths_sharedOutDir.js | 6 - .../autoImportCrossProject_paths_stripSrc.js | 40 - .../autoImportCrossProject_paths_toDist.js | 40 - .../autoImportCrossProject_paths_toSrc.js | 40 - ...utoImportCrossProject_symlinks_stripSrc.js | 27 - .../autoImportCrossProject_symlinks_toDist.js | 27 - .../autoImportCrossProject_symlinks_toSrc.js | 27 - .../autoImportFileExcludePatterns1.js | 3 - .../autoImportFileExcludePatterns2.js | 3 - ...oImportFileExcludePatterns_networkPaths.js | 3 - .../autoImportFileExcludePatterns_symlinks.js | 3 - ...autoImportFileExcludePatterns_symlinks2.js | 6 - ...oImportFileExcludePatterns_windowsPaths.js | 3 - .../autoImportNodeModuleSymlinkRenamed.js | 6 - .../fourslashServer/autoImportProvider1.js | 5 - .../fourslashServer/autoImportProvider5.js | 24 - .../fourslashServer/autoImportProvider6.js | 8 - .../fourslashServer/autoImportProvider7.js | 11 - .../fourslashServer/autoImportProvider8.js | 11 - .../autoImportProvider_exportMap2.js | 11 - .../autoImportProvider_exportMap3.js | 8 +- .../autoImportProvider_globalTypingsCache.js | 3 - ...rtProvider_namespaceSameNameAsIntrinsic.js | 5 - .../autoImportProvider_pnpm.js | 18 - .../autoImportProvider_wildcardExports3.js | 8 - .../autoImportReExportFromAmbientModule.js | 11 - .../completionEntryDetailAcrossFiles01.js | 20 - .../completionEntryDetailAcrossFiles02.js | 20 - ...mport_addToNamedWithDifferentCacheValue.js | 5 - .../completionsImport_computedSymbolName.js | 8 - ...letionsImport_jsModuleExportsAssignment.js | 5 - .../declarationMapGoToDefinition.js | 20 - ...ionMapsGoToDefinitionRelativeSourceRoot.js | 25 - .../declarationMapsOutOfDateMapping.js | 13 - .../tsserver/fourslashServer/definition01.js | 6 - .../getFileReferences_server2.js | 7 - .../fourslashServer/goToSource15_bundler.js | 3 - .../goToSource2_nodeModulesWithTypes.js | 8 - .../goToSource3_nodeModulesAtTypes.js | 3 - .../goToSource6_sameAsGoToDef2.js | 5 - .../goToSource7_conditionallyMinified.js | 3 - .../goToSource8_mapFromAtTypes.js | 10 - .../goToSource9_mapFromAtTypes2.js | 10 - ...importNameCodeFix_externalNonRelateive2.js | 9 - .../importNameCodeFix_externalNonRelative1.js | 9 - .../importNameCodeFix_pnpm1.js | 55 - .../importStatementCompletions_pnpm1.js | 55 - ...portStatementCompletions_pnpmTransitive.js | 64 - ...portSuggestionsCache_moduleAugmentation.js | 8 - .../tsserver/fourslashServer/projectInfo01.js | 38 - .../tsserver/fourslashServer/projectInfo02.js | 6 - .../projectWithNonExistentFiles.js | 6 - .../fourslashServer/typedefinition01.js | 6 - ...excluding-node_modules-within-a-project.js | 9 - .../create-inferred-project.js | 6 - ...ting-inferred-project-has-no-root-files.js | 28 - .../with-config-with-redirection.js | 679 +--------- .../tsserver/libraryResolution/with-config.js | 585 +------- ...when-referencing-file-from-another-file.js | 35 - ...t-to-2-if-the-project-has-js-root-files.js | 10 - .../using-referenced-project-built.js | 128 +- .../using-referenced-project.js | 76 +- .../openfile/can-open-same-file-again.js | 9 - ...ject-even-if-project-refresh-is-pending.js | 9 - ...-external-files-with-config-file-reload.js | 10 - ...on-ts-extensions-with-wildcard-matching.js | 10 - ...criptKind-changes-for-the-external-file.js | 6 - ...ferred-closed-before-plugins-are-loaded.js | 6 - ...-same-ambient-module-and-is-also-module.js | 18 - .../projectErrors/file-rename-on-wsl2.js | 26 - ...-when-timeout-occurs-after-installation.js | 30 - ...n-timeout-occurs-inbetween-installation.js | 30 - ...pened-right-after-closing-the-root-file.js | 62 - ...hen-json-is-root-file-found-by-tsconfig.js | 9 - ...json-is-not-root-file-found-by-tsconfig.js | 9 - ...-as-project-build-with-external-project.js | 53 +- ...-on-dependency-and-change-to-dependency.js | 31 - .../save-on-dependency-and-change-to-usage.js | 31 - ...pendency-and-local-change-to-dependency.js | 31 - ...on-dependency-and-local-change-to-usage.js | 31 - ...y-with-project-and-change-to-dependency.js | 31 - ...ndency-with-project-and-change-to-usage.js | 31 - ...-project-and-local-change-to-dependency.js | 31 - ...-with-project-and-local-change-to-usage.js | 31 - .../save-on-dependency-with-project.js | 31 - ...-usage-project-and-change-to-dependency.js | 23 - ...-with-usage-project-and-change-to-usage.js | 23 - ...-project-and-local-change-to-dependency.js | 23 - ...usage-project-and-local-change-to-usage.js | 23 - .../save-on-dependency-with-usage-project.js | 23 - .../save-on-dependency.js | 31 - .../save-on-usage-and-change-to-dependency.js | 23 - .../save-on-usage-and-change-to-usage.js | 23 - ...nd-local-change-to-dependency-with-file.js | 23 - ...on-usage-and-local-change-to-dependency.js | 23 - ...-and-local-change-to-usage-with-project.js | 23 - ...save-on-usage-and-local-change-to-usage.js | 23 - ...e-with-project-and-change-to-dependency.js | 23 - ...-usage-with-project-and-change-to-usage.js | 23 - .../save-on-usage-with-project.js | 23 - .../save-on-usage.js | 23 - ...-on-dependency-and-change-to-dependency.js | 12 - ...-save-on-dependency-and-change-to-usage.js | 12 - ...pendency-and-local-change-to-dependency.js | 12 - ...on-dependency-and-local-change-to-usage.js | 12 - ...y-with-project-and-change-to-dependency.js | 12 - ...ndency-with-project-and-change-to-usage.js | 12 - ...-project-and-local-change-to-dependency.js | 12 - ...-with-project-and-local-change-to-usage.js | 12 - ...pen-and-save-on-dependency-with-project.js | 12 - ...ject-is-not-open-and-save-on-dependency.js | 12 - ...save-on-usage-and-change-to-depenedency.js | 12 - ...n-and-save-on-usage-and-change-to-usage.js | 12 - ...on-usage-and-local-change-to-dependency.js | 12 - ...save-on-usage-and-local-change-to-usage.js | 12 - ...-with-project-and-change-to-depenedency.js | 12 - ...-usage-with-project-and-change-to-usage.js | 12 - ...-project-and-local-change-to-dependency.js | 12 - ...-with-project-and-local-change-to-usage.js | 12 - ...not-open-and-save-on-usage-with-project.js | 12 - ...y-project-is-not-open-and-save-on-usage.js | 12 - ...roject-are-different-from-usage-project.js | 12 - ...t-is-not-open-gerErr-with-sync-commands.js | 12 - ...n-dependency-project-is-not-open-getErr.js | 12 - ...cy-project-is-not-open-geterrForProject.js | 12 - ...-file-is-open-gerErr-with-sync-commands.js | 23 - ...-when-the-depedency-file-is-open-getErr.js | 23 - ...depedency-file-is-open-geterrForProject.js | 23 - .../ancestor-and-project-ref-management.js | 53 +- ...disableSourceOfProjectReferenceRedirect.js | 67 +- ...port-with-referenced-project-when-built.js | 67 +- .../auto-import-with-referenced-project.js | 21 - ...ssfully-find-references-with-out-option.js | 53 +- ...indirect-project-but-not-in-another-one.js | 102 -- ...dProjectLoad-is-set-in-indirect-project.js | 121 -- ...-if-disableReferencedProjectLoad-is-set.js | 63 - ...oes-not-error-on-container-only-project.js | 53 +- ...-are-disabled-and-a-decl-map-is-missing.js | 38 - ...-are-disabled-and-a-decl-map-is-present.js | 38 - ...s-are-enabled-and-a-decl-map-is-missing.js | 23 - ...s-are-enabled-and-a-decl-map-is-present.js | 23 - ...-are-disabled-and-a-decl-map-is-missing.js | 38 - ...-are-disabled-and-a-decl-map-is-present.js | 38 - ...s-are-enabled-and-a-decl-map-is-missing.js | 23 - ...s-are-enabled-and-a-decl-map-is-present.js | 23 - ...-are-disabled-and-a-decl-map-is-missing.js | 25 - ...-are-disabled-and-a-decl-map-is-present.js | 25 - ...s-are-enabled-and-a-decl-map-is-missing.js | 12 - ...s-are-enabled-and-a-decl-map-is-present.js | 12 - ...-are-disabled-and-a-decl-map-is-missing.js | 25 - ...-are-disabled-and-a-decl-map-is-present.js | 28 - ...s-are-enabled-and-a-decl-map-is-missing.js | 23 - ...s-are-enabled-and-a-decl-map-is-present.js | 23 - ...ding-references-in-overlapping-projects.js | 38 - ...solution-is-built-with-preserveSymlinks.js | 70 +- ...-and-has-index.ts-and-solution-is-built.js | 70 +- ...tion-is-not-built-with-preserveSymlinks.js | 18 - ...-has-index.ts-and-solution-is-not-built.js | 18 - ...solution-is-built-with-preserveSymlinks.js | 70 +- ...th-scoped-package-and-solution-is-built.js | 70 +- ...tion-is-not-built-with-preserveSymlinks.js | 18 - ...coped-package-and-solution-is-not-built.js | 18 - ...solution-is-built-with-preserveSymlinks.js | 73 +- ...le-from-subFolder-and-solution-is-built.js | 73 +- ...tion-is-not-built-with-preserveSymlinks.js | 21 - ...rom-subFolder-and-solution-is-not-built.js | 21 - ...solution-is-built-with-preserveSymlinks.js | 73 +- ...th-scoped-package-and-solution-is-built.js | 73 +- ...tion-is-not-built-with-preserveSymlinks.js | 21 - ...coped-package-and-solution-is-not-built.js | 21 - ...ject-is-directly-referenced-by-solution.js | 232 ---- ...ct-is-indirectly-referenced-by-solution.js | 286 ---- ...erenced-project-with-preserveConstEnums.js | 15 - ...om-composite-and-non-composite-projects.js | 33 - ...nced-project-and-using-declaration-maps.js | 100 +- ...ot-file-is-file-from-referenced-project.js | 82 +- ...indirect-project-but-not-in-another-one.js | 156 --- ...dProjectLoad-is-set-in-indirect-project.js | 157 --- ...-if-disableReferencedProjectLoad-is-set.js | 95 -- ...ces-open-file-through-project-reference.js | 283 ---- ...ct-is-indirectly-referenced-by-solution.js | 374 ----- ...nction-as-object-literal-property-types.js | 44 - ...row-function-as-object-literal-property.js | 34 - ...ss-when-using-arrow-function-assignment.js | 44 - ...s-when-using-method-of-class-expression.js | 44 - ...ness-when-using-object-literal-property.js | 44 - ...-composite-with-file-open-before-revert.js | 44 - ...nfig-tree-found-appConfig-not-composite.js | 33 - ...fig-change-with-file-open-before-revert.js | 33 - ...rst-config-tree-found-demoConfig-change.js | 33 - ...config-tree-found-finds-default-project.js | 56 - ...first-config-tree-found-reload-projects.js | 30 - ...fig-delete-with-file-open-before-revert.js | 44 - ...config-tree-found-solutionConfig-delete.js | 33 - ...ce-to-demo-with-file-open-before-revert.js | 44 - ...olutionConfig-without-reference-to-demo.js | 33 - ...cts-are-open-and-one-project-references.js | 88 -- ...ts-have-allowJs-and-emitDeclarationOnly.js | 18 - ...ts-change-as-rename-action-before-write.js | 60 +- ...endency-dts-change-as-rename-no-timeout.js | 60 +- ...s-change-as-rename-timeout-after-delete.js | 60 +- ...ts-change-as-rename-timeout-after-write.js | 60 +- ...dts-changes-with-timeout-before-request.js | 60 +- .../dependency-dts-changes.js | 60 +- .../dependency-dts-created.js | 105 +- .../dependency-dts-deleted.js | 93 +- .../dependency-dts-not-present.js | 93 +- ...s-rewrite-as-rename-action-before-write.js | 60 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 60 +- ...-rewrite-as-rename-timeout-after-delete.js | 60 +- ...s-rewrite-as-rename-timeout-after-write.js | 60 +- ...ap-change-as-rename-action-before-write.js | 60 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 60 +- ...p-change-as-rename-timeout-after-delete.js | 60 +- ...ap-change-as-rename-timeout-after-write.js | 60 +- ...Map-changes-with-timeout-before-request.js | 60 +- .../dependency-dtsMap-changes.js | 60 +- .../dependency-dtsMap-created.js | 105 +- .../dependency-dtsMap-deleted.js | 93 +- .../dependency-dtsMap-not-present.js | 93 +- ...p-rewrite-as-rename-action-before-write.js | 60 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 60 +- ...-rewrite-as-rename-timeout-after-delete.js | 60 +- ...p-rewrite-as-rename-timeout-after-write.js | 60 +- .../configHasNoReference/rename-locations.js | 93 +- ...ile-changes-with-timeout-before-request.js | 60 +- .../usage-file-changes.js | 60 +- ...ts-change-as-rename-action-before-write.js | 60 +- ...endency-dts-change-as-rename-no-timeout.js | 60 +- ...s-change-as-rename-timeout-after-delete.js | 60 +- ...ts-change-as-rename-timeout-after-write.js | 60 +- ...dts-changes-with-timeout-before-request.js | 60 +- .../dependency-dts-changes.js | 60 +- .../dependency-dts-created.js | 105 +- .../dependency-dts-deleted.js | 93 +- .../dependency-dts-not-present.js | 93 +- ...s-rewrite-as-rename-action-before-write.js | 60 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 60 +- ...-rewrite-as-rename-timeout-after-delete.js | 60 +- ...s-rewrite-as-rename-timeout-after-write.js | 60 +- ...ap-change-as-rename-action-before-write.js | 60 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 60 +- ...p-change-as-rename-timeout-after-delete.js | 60 +- ...ap-change-as-rename-timeout-after-write.js | 60 +- ...Map-changes-with-timeout-before-request.js | 60 +- .../dependency-dtsMap-changes.js | 60 +- .../dependency-dtsMap-created.js | 105 +- .../dependency-dtsMap-deleted.js | 93 +- .../dependency-dtsMap-not-present.js | 93 +- ...p-rewrite-as-rename-action-before-write.js | 60 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 60 +- ...-rewrite-as-rename-timeout-after-delete.js | 60 +- ...p-rewrite-as-rename-timeout-after-write.js | 60 +- ...rce-changes-with-timeout-before-request.js | 60 +- .../dependency-source-changes.js | 60 +- .../configWithReference/rename-locations.js | 93 +- ...ile-changes-with-timeout-before-request.js | 60 +- .../configWithReference/usage-file-changes.js | 60 +- .../when-projects-are-not-built.js | 54 - ...ts-change-as-rename-action-before-write.js | 60 +- ...endency-dts-change-as-rename-no-timeout.js | 60 +- ...s-change-as-rename-timeout-after-delete.js | 60 +- ...ts-change-as-rename-timeout-after-write.js | 60 +- ...dts-changes-with-timeout-before-request.js | 60 +- .../dependency-dts-changes.js | 60 +- .../dependency-dts-created.js | 105 +- .../dependency-dts-deleted.js | 93 +- .../dependency-dts-not-present.js | 93 +- ...s-rewrite-as-rename-action-before-write.js | 60 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 60 +- ...-rewrite-as-rename-timeout-after-delete.js | 60 +- ...s-rewrite-as-rename-timeout-after-write.js | 60 +- ...ap-change-as-rename-action-before-write.js | 60 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 60 +- ...p-change-as-rename-timeout-after-delete.js | 60 +- ...ap-change-as-rename-timeout-after-write.js | 60 +- ...Map-changes-with-timeout-before-request.js | 60 +- .../dependency-dtsMap-changes.js | 60 +- .../dependency-dtsMap-created.js | 105 +- .../dependency-dtsMap-deleted.js | 93 +- .../dependency-dtsMap-not-present.js | 93 +- ...p-rewrite-as-rename-action-before-write.js | 60 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 60 +- ...-rewrite-as-rename-timeout-after-delete.js | 60 +- ...p-rewrite-as-rename-timeout-after-write.js | 60 +- .../disabledSourceRef/rename-locations.js | 93 +- ...ile-changes-with-timeout-before-request.js | 60 +- .../disabledSourceRef/usage-file-changes.js | 60 +- ...ts-change-as-rename-action-before-write.js | 180 +-- ...endency-dts-change-as-rename-no-timeout.js | 84 +- ...s-change-as-rename-timeout-after-delete.js | 180 +-- ...ts-change-as-rename-timeout-after-write.js | 84 +- ...dts-changes-with-timeout-before-request.js | 84 +- .../dependency-dts-changes.js | 84 +- .../dependency-dts-created.js | 161 +-- .../dependency-dts-deleted.js | 187 +-- .../dependency-dts-not-present.js | 129 +- ...s-rewrite-as-rename-action-before-write.js | 180 +-- ...ndency-dts-rewrite-as-rename-no-timeout.js | 84 +- ...-rewrite-as-rename-timeout-after-delete.js | 180 +-- ...s-rewrite-as-rename-timeout-after-write.js | 84 +- ...ap-change-as-rename-action-before-write.js | 84 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 84 +- ...p-change-as-rename-timeout-after-delete.js | 84 +- ...ap-change-as-rename-timeout-after-write.js | 84 +- ...Map-changes-with-timeout-before-request.js | 84 +- .../dependency-dtsMap-changes.js | 84 +- .../dependency-dtsMap-created.js | 171 +-- .../dependency-dtsMap-deleted.js | 151 +-- .../dependency-dtsMap-not-present.js | 151 +-- ...p-rewrite-as-rename-action-before-write.js | 84 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 84 +- ...-rewrite-as-rename-timeout-after-delete.js | 84 +- ...p-rewrite-as-rename-timeout-after-write.js | 84 +- ...name-locations-and-deleting-config-file.js | 360 +---- .../goToDef-and-rename-locations.js | 151 +-- ...ile-changes-with-timeout-before-request.js | 84 +- .../usage-file-changes.js | 84 +- ...ts-change-as-rename-action-before-write.js | 78 +- ...endency-dts-change-as-rename-no-timeout.js | 78 +- ...s-change-as-rename-timeout-after-delete.js | 78 +- ...ts-change-as-rename-timeout-after-write.js | 78 +- ...dts-changes-with-timeout-before-request.js | 78 +- .../dependency-dts-changes.js | 78 +- .../dependency-dts-created.js | 149 +- .../dependency-dts-deleted.js | 133 +- .../dependency-dts-not-present.js | 133 +- ...s-rewrite-as-rename-action-before-write.js | 78 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 78 +- ...-rewrite-as-rename-timeout-after-delete.js | 78 +- ...s-rewrite-as-rename-timeout-after-write.js | 78 +- ...ap-change-as-rename-action-before-write.js | 78 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 78 +- ...p-change-as-rename-timeout-after-delete.js | 78 +- ...ap-change-as-rename-timeout-after-write.js | 78 +- ...Map-changes-with-timeout-before-request.js | 78 +- .../dependency-dtsMap-changes.js | 78 +- .../dependency-dtsMap-created.js | 149 +- .../dependency-dtsMap-deleted.js | 133 +- .../dependency-dtsMap-not-present.js | 133 +- ...p-rewrite-as-rename-action-before-write.js | 78 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 78 +- ...-rewrite-as-rename-timeout-after-delete.js | 78 +- ...p-rewrite-as-rename-timeout-after-write.js | 78 +- ...rce-changes-with-timeout-before-request.js | 78 +- .../dependency-source-changes.js | 78 +- ...name-locations-and-deleting-config-file.js | 370 +---- .../goToDef-and-rename-locations.js | 133 +- ...ile-changes-with-timeout-before-request.js | 78 +- .../configWithReference/usage-file-changes.js | 78 +- .../when-projects-are-not-built.js | 94 -- ...ts-change-as-rename-action-before-write.js | 180 +-- ...endency-dts-change-as-rename-no-timeout.js | 84 +- ...s-change-as-rename-timeout-after-delete.js | 180 +-- ...ts-change-as-rename-timeout-after-write.js | 84 +- ...dts-changes-with-timeout-before-request.js | 84 +- .../dependency-dts-changes.js | 84 +- .../dependency-dts-created.js | 161 +-- .../dependency-dts-deleted.js | 187 +-- .../dependency-dts-not-present.js | 129 +- ...s-rewrite-as-rename-action-before-write.js | 180 +-- ...ndency-dts-rewrite-as-rename-no-timeout.js | 84 +- ...-rewrite-as-rename-timeout-after-delete.js | 180 +-- ...s-rewrite-as-rename-timeout-after-write.js | 84 +- ...ap-change-as-rename-action-before-write.js | 84 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 84 +- ...p-change-as-rename-timeout-after-delete.js | 84 +- ...ap-change-as-rename-timeout-after-write.js | 84 +- ...Map-changes-with-timeout-before-request.js | 84 +- .../dependency-dtsMap-changes.js | 84 +- .../dependency-dtsMap-created.js | 171 +-- .../dependency-dtsMap-deleted.js | 151 +-- .../dependency-dtsMap-not-present.js | 151 +-- ...p-rewrite-as-rename-action-before-write.js | 84 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 84 +- ...-rewrite-as-rename-timeout-after-delete.js | 84 +- ...p-rewrite-as-rename-timeout-after-write.js | 84 +- ...name-locations-and-deleting-config-file.js | 400 +----- .../goToDef-and-rename-locations.js | 151 +-- ...ile-changes-with-timeout-before-request.js | 84 +- .../disabledSourceRef/usage-file-changes.js | 84 +- .../can-go-to-definition-correctly.js | 111 +- ...ts-change-as-rename-action-before-write.js | 151 +-- ...endency-dts-change-as-rename-no-timeout.js | 67 +- ...s-change-as-rename-timeout-after-delete.js | 151 +-- ...ts-change-as-rename-timeout-after-write.js | 67 +- ...dts-changes-with-timeout-before-request.js | 67 +- .../dependency-dts-changes.js | 67 +- .../dependency-dts-created.js | 107 +- .../dependency-dts-deleted.js | 143 +- .../dependency-dts-not-present.js | 87 +- ...s-rewrite-as-rename-action-before-write.js | 151 +-- ...ndency-dts-rewrite-as-rename-no-timeout.js | 67 +- ...-rewrite-as-rename-timeout-after-delete.js | 151 +-- ...s-rewrite-as-rename-timeout-after-write.js | 67 +- ...ap-change-as-rename-action-before-write.js | 67 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 67 +- ...p-change-as-rename-timeout-after-delete.js | 67 +- ...ap-change-as-rename-timeout-after-write.js | 67 +- ...Map-changes-with-timeout-before-request.js | 67 +- .../dependency-dtsMap-changes.js | 67 +- .../dependency-dtsMap-created.js | 127 +- .../dependency-dtsMap-deleted.js | 111 +- .../dependency-dtsMap-not-present.js | 111 +- ...p-rewrite-as-rename-action-before-write.js | 67 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 67 +- ...-rewrite-as-rename-timeout-after-delete.js | 67 +- ...p-rewrite-as-rename-timeout-after-write.js | 67 +- ...ile-changes-with-timeout-before-request.js | 67 +- .../usage-file-changes.js | 67 +- .../can-go-to-definition-correctly.js | 103 +- ...ts-change-as-rename-action-before-write.js | 59 +- ...endency-dts-change-as-rename-no-timeout.js | 59 +- ...s-change-as-rename-timeout-after-delete.js | 59 +- ...ts-change-as-rename-timeout-after-write.js | 59 +- ...dts-changes-with-timeout-before-request.js | 59 +- .../dependency-dts-changes.js | 59 +- .../dependency-dts-created.js | 103 +- .../dependency-dts-deleted.js | 103 +- .../dependency-dts-not-present.js | 103 +- ...s-rewrite-as-rename-action-before-write.js | 59 +- ...ndency-dts-rewrite-as-rename-no-timeout.js | 59 +- ...-rewrite-as-rename-timeout-after-delete.js | 59 +- ...s-rewrite-as-rename-timeout-after-write.js | 59 +- ...ap-change-as-rename-action-before-write.js | 59 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 59 +- ...p-change-as-rename-timeout-after-delete.js | 59 +- ...ap-change-as-rename-timeout-after-write.js | 59 +- ...Map-changes-with-timeout-before-request.js | 59 +- .../dependency-dtsMap-changes.js | 59 +- .../dependency-dtsMap-created.js | 103 +- .../dependency-dtsMap-deleted.js | 103 +- .../dependency-dtsMap-not-present.js | 103 +- ...p-rewrite-as-rename-action-before-write.js | 59 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 59 +- ...-rewrite-as-rename-timeout-after-delete.js | 59 +- ...p-rewrite-as-rename-timeout-after-write.js | 59 +- ...rce-changes-with-timeout-before-request.js | 59 +- .../dependency-source-changes.js | 59 +- ...ile-changes-with-timeout-before-request.js | 59 +- .../configWithReference/usage-file-changes.js | 59 +- .../when-projects-are-not-built.js | 64 - .../can-go-to-definition-correctly.js | 111 +- ...ts-change-as-rename-action-before-write.js | 159 +-- ...endency-dts-change-as-rename-no-timeout.js | 67 +- ...s-change-as-rename-timeout-after-delete.js | 159 +-- ...ts-change-as-rename-timeout-after-write.js | 67 +- ...dts-changes-with-timeout-before-request.js | 67 +- .../dependency-dts-changes.js | 67 +- .../dependency-dts-created.js | 107 +- .../dependency-dts-deleted.js | 147 +- .../dependency-dts-not-present.js | 87 +- ...s-rewrite-as-rename-action-before-write.js | 159 +-- ...ndency-dts-rewrite-as-rename-no-timeout.js | 67 +- ...-rewrite-as-rename-timeout-after-delete.js | 159 +-- ...s-rewrite-as-rename-timeout-after-write.js | 67 +- ...ap-change-as-rename-action-before-write.js | 67 +- ...ency-dtsMap-change-as-rename-no-timeout.js | 67 +- ...p-change-as-rename-timeout-after-delete.js | 67 +- ...ap-change-as-rename-timeout-after-write.js | 67 +- ...Map-changes-with-timeout-before-request.js | 67 +- .../dependency-dtsMap-changes.js | 67 +- .../dependency-dtsMap-created.js | 127 +- .../dependency-dtsMap-deleted.js | 111 +- .../dependency-dtsMap-not-present.js | 111 +- ...p-rewrite-as-rename-action-before-write.js | 67 +- ...ncy-dtsMap-rewrite-as-rename-no-timeout.js | 67 +- ...-rewrite-as-rename-timeout-after-delete.js | 67 +- ...p-rewrite-as-rename-timeout-after-write.js | 67 +- ...ile-changes-with-timeout-before-request.js | 67 +- .../disabledSourceRef/usage-file-changes.js | 67 +- ...-referenced-project-and-shared-is-first.js | 18 - ...en-root-file-is-from-referenced-project.js | 18 - ...-are-handled-correctly-on-watch-trigger.js | 9 - ...configured-project-that-will-be-removed.js | 72 - ...-and-closed-affecting-multiple-projects.js | 34 - ...directory-watch-invoke-on-file-creation.js | 48 - ...irectory-watch-invoke-on-open-file-save.js | 6 - ...configured-project-that-will-be-removed.js | 72 - ...Reload-but-has-svc-for-previous-version.js | 21 - ...t-provides-redirect-info-when-requested.js | 21 - ...updates-to-redirect-info-when-requested.js | 21 - ...resolved-and-redirect-info-is-requested.js | 6 - ...e-configuration-file-cannot-be-resolved.js | 6 - .../projectsWithReferences/sample-project.js | 15 - ...es-with-deleting-referenced-config-file.js | 46 - ...ing-transitively-referenced-config-file.js | 18 - ...ces-with-edit-in-referenced-config-file.js | 54 - ...ive-references-with-edit-on-config-file.js | 54 - ...ansitive-references-with-non-local-edit.js | 18 - ...es-with-deleting-referenced-config-file.js | 46 - ...ing-transitively-referenced-config-file.js | 18 - ...les-with-edit-in-referenced-config-file.js | 54 - ...-without-files-with-edit-on-config-file.js | 54 - ...ences-without-files-with-non-local-edit.js | 18 - .../reloadProjects/configured-project.js | 72 - .../external-project-with-config-file.js | 76 -- .../reloadProjects/external-project.js | 76 -- .../reloadProjects/inferred-project.js | 72 - .../with-symlinks-and-case-difference.js | 14 +- ...unnecessary-lookup-invalidation-on-save.js | 45 - ...an-load-typings-that-are-proper-modules.js | 26 - ...le-name-from-files-in-different-folders.js | 177 --- ...e-module-name-from-files-in-same-folder.js | 111 -- ...ative-module-name-from-inferred-project.js | 177 --- .../not-sharing-across-references.js | 37 - .../npm-install-@types-works.js | 23 - ...le-name-from-files-in-different-folders.js | 159 --- ...e-module-name-from-files-in-same-folder.js | 87 -- ...tore-the-states-for-configured-projects.js | 14 - ...estore-the-states-for-inferred-projects.js | 14 - .../sharing-across-references.js | 37 - ...hould-remove-the-module-not-found-error.js | 10 - .../resolutionCache/when-resolution-fails.js | 12 - .../when-resolves-to-ambient-module.js | 12 - ...wild-card-directories-in-config-project.js | 12 - .../closed-script-infos.js | 12 - ...ectly-when-typings-are-added-or-removed.js | 67 - ...tion-when-project-compiles-from-sources.js | 55 - ...s-in-typings-folder-and-then-recompiles.js | 41 - ...mpiles-after-deleting-generated-folders.js | 69 - ...ping-when-project-compiles-from-sources.js | 55 - ...s-in-typings-folder-and-then-recompiles.js | 41 - ...mpiles-after-deleting-generated-folders.js | 69 - ...-style-sibling-packages-symlinked-Linux.js | 78 -- ...packages-symlinked-package1-built-Linux.js | 64 - ...bling-packages-symlinked-package1-built.js | 48 - ...norepo-style-sibling-packages-symlinked.js | 60 - ...name-in-common-file-renames-all-project.js | 36 - .../when-not-symlink-but-differs-in-casing.js | 53 +- ...ences-resolution-after-program-creation.js | 3 - ...emoved-and-added-with-different-content.js | 26 - .../tsserver/tsserver/configDir-template.js | 91 -- .../tsserver/resolves-the-symlink-path.js | 9 - .../prefer-typings-in-second-pass.js | 15 - ...enceDirective-contains-UpperCasePackage.js | 50 - .../install-typings-for-unresolved-imports.js | 23 - ...date-the-resolutions-with-trimmed-names.js | 30 - .../invalidate-the-resolutions.js | 27 - .../typingsInstaller/malformed-packagejson.js | 21 - .../typingsInstaller/progress-notification.js | 21 - ...utions-pointing-to-js-on-typing-install.js | 39 - .../typingsInstaller/telemetry-events.js | 21 - .../external-project-watch-options-errors.js | 25 - ...ect-watch-options-in-host-configuration.js | 25 - .../external-project-watch-options.js | 25 - .../inferred-project-watch-options-errors.js | 15 - ...ect-watch-options-in-host-configuration.js | 15 - .../inferred-project-watch-options.js | 15 - .../perVolumeCasing-and-new-file-addition.js | 1 - .../project-with-ascii-file-names-with-i.js | 6 - .../project-with-ascii-file-names.js | 6 - .../project-with-unicode-file-names.js | 6 - ...files-starting-with-dot-in-node_modules.js | 6 - ...polling-when-file-is-added-to-subfolder.js | 14 - ...rectory-when-file-is-added-to-subfolder.js | 10 - ...tchFile-when-file-is-added-to-subfolder.js | 10 - ...ere-workspaces-folder-is-hosted-at-root.js | 103 -- ...en-watchFile-is-single-watcher-per-file.js | 6 - ...excludeDirectories-option-in-configFile.js | 15 - ...ludeDirectories-option-in-configuration.js | 15 - ...tiveScopedPackageCustomTypeRoot.trace.json | 29 +- ...DirectiveWithFailedFromTypeRoot.trace.json | 17 +- ...eferenceDirectiveWithTypeAsFile.trace.json | 21 +- .../typeReferenceDirectives1.trace.json | 20 +- .../typeReferenceDirectives10.trace.json | 21 +- .../typeReferenceDirectives11.trace.json | 21 +- .../typeReferenceDirectives12.trace.json | 22 +- .../typeReferenceDirectives13.trace.json | 21 +- .../typeReferenceDirectives2.trace.json | 20 +- .../typeReferenceDirectives3.trace.json | 21 +- .../typeReferenceDirectives4.trace.json | 21 +- .../typeReferenceDirectives5.trace.json | 21 +- .../typeReferenceDirectives6.trace.json | 21 +- .../typeReferenceDirectives7.trace.json | 20 +- .../typeReferenceDirectives8.trace.json | 21 +- .../typeReferenceDirectives9.trace.json | 22 +- ...mMultipleNodeModulesDirectories.trace.json | 33 +- ...romNodeModulesInParentDirectory.trace.json | 22 +- .../typesVersions.ambientModules.trace.json | 160 +-- .../typesVersions.emptyTypes.trace.json | 162 +-- .../typesVersions.justIndex.trace.json | 162 +-- .../typesVersions.multiFile.trace.json | 162 +-- ...VersionsDeclarationEmit.ambient.trace.json | 160 +-- ...rsionsDeclarationEmit.multiFile.trace.json | 162 +-- ...it.multiFileBackReferenceToSelf.trace.json | 163 +-- ...ultiFileBackReferenceToUnmapped.trace.json | 161 +-- .../reference/typingsLookup1.trace.json | 21 +- .../reference/typingsLookup2.trace.json | 17 +- .../reference/typingsLookup3.trace.json | 21 +- .../reference/typingsLookup4.trace.json | 22 +- .../reference/typingsLookupAmd.trace.json | 28 +- 1454 files changed, 15125 insertions(+), 78889 deletions(-) delete mode 100644 tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).errors.txt delete mode 100644 tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).errors.txt create mode 100644 tests/baselines/reference/importHelpersVerbatimModuleSyntax.errors.txt diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 18fa07958cea7..947d3748389e7 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -1389,10 +1389,16 @@ export function getImpliedNodeFormatForFileWorker( host: ModuleResolutionHost, options: CompilerOptions, ) { - return fileExtensionIsOneOf(fileName, [Extension.Dmts, Extension.Mts, Extension.Mjs]) ? ModuleKind.ESNext : - fileExtensionIsOneOf(fileName, [Extension.Dcts, Extension.Cts, Extension.Cjs]) ? ModuleKind.CommonJS : - fileExtensionIsOneOf(fileName, [Extension.Dts, Extension.Ts, Extension.Tsx, Extension.Js, Extension.Jsx]) ? lookupFromPackageJson() : - undefined; // other extensions, like `json` or `tsbuildinfo`, are set as `undefined` here but they should never be fed through the transformer pipeline + switch (getEmitModuleResolutionKind(options)) { + case ModuleResolutionKind.Node16: + case ModuleResolutionKind.NodeNext: + return fileExtensionIsOneOf(fileName, [Extension.Dmts, Extension.Mts, Extension.Mjs]) ? ModuleKind.ESNext : + fileExtensionIsOneOf(fileName, [Extension.Dcts, Extension.Cts, Extension.Cjs]) ? ModuleKind.CommonJS : + fileExtensionIsOneOf(fileName, [Extension.Dts, Extension.Ts, Extension.Tsx, Extension.Js, Extension.Jsx]) ? lookupFromPackageJson() : + undefined; // other extensions, like `json` or `tsbuildinfo`, are set as `undefined` here but they should never be fed through the transformer pipeline + default: + return undefined; + } function lookupFromPackageJson(): Partial { const state = getTemporaryModuleResolutionState(packageJsonInfoCache, host, options); diff --git a/src/testRunner/unittests/tscWatch/incremental.ts b/src/testRunner/unittests/tscWatch/incremental.ts index a702d2c22f74f..2f9b9d73baeb3 100644 --- a/src/testRunner/unittests/tscWatch/incremental.ts +++ b/src/testRunner/unittests/tscWatch/incremental.ts @@ -178,19 +178,19 @@ describe("unittests:: tsc-watch:: emit file --incremental", () => { version: system.createHash(libFile.content), signature: system.createHash(libFile.content), affectsGlobalScope: true, - impliedFormat: ts.ModuleKind.CommonJS, + impliedFormat: undefined, }); assert.deepEqual(state.fileInfos.get(file1.path as ts.Path), { version: system.createHash(file1.content), signature: system.createHash(file1.content), affectsGlobalScope: undefined, - impliedFormat: ts.ModuleKind.CommonJS, + impliedFormat: undefined, }); assert.deepEqual(state.fileInfos.get(file2.path as ts.Path), { version: system.createHash(fileModified.content), signature: system.createHash(fileModified.content), affectsGlobalScope: undefined, - impliedFormat: ts.ModuleKind.CommonJS, + impliedFormat: undefined, }); assert.deepEqual(state.compilerOptions, { diff --git a/tests/baselines/reference/allowJsCrossMonorepoPackage.trace.json b/tests/baselines/reference/allowJsCrossMonorepoPackage.trace.json index c2bc516aad083..e6ee863686b71 100644 --- a/tests/baselines/reference/allowJsCrossMonorepoPackage.trace.json +++ b/tests/baselines/reference/allowJsCrossMonorepoPackage.trace.json @@ -1,9 +1,8 @@ [ - "Found 'package.json' at '/packages/main/package.json'.", "======== Resolving module 'shared' from '/packages/main/index.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/packages/main/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/packages/main/package.json'.", "Loading module 'shared' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/packages/main/node_modules/shared/package.json'.", @@ -47,7 +46,6 @@ "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "Resolving real path for '/packages/main/node_modules/shared/index.js', result '/packages/shared/index.js'.", "======== Module name 'shared' was successfully resolved to '/packages/shared/index.js' with Package ID 'shared/index.js@1.0.0'. ========", - "Found 'package.json' at '/packages/shared/package.json'.", "======== Resolving module './utils.js' from '/packages/shared/index.js'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", @@ -58,11 +56,10 @@ "File '/packages/shared/utils.d.ts' does not exist.", "File '/packages/shared/utils.js' exists - use it as a name resolution result.", "======== Module name './utils.js' was successfully resolved to '/packages/shared/utils.js'. ========", - "File '/packages/shared/package.json' exists according to earlier cached lookups.", "======== Resolving module 'pkg' from '/packages/shared/utils.js'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/packages/shared/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/packages/shared/package.json'.", "Loading module 'pkg' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/packages/shared/node_modules' does not exist, skipping all lookups in it.", @@ -76,11 +73,6 @@ "File '/node_modules/pkg/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/pkg/index.d.ts', result '/node_modules/pkg/index.d.ts'.", "======== Module name 'pkg' was successfully resolved to '/node_modules/pkg/index.d.ts'. ========", - "File '/node_modules/pkg/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/packages/main/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -95,8 +87,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/packages/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/packages/main/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -111,8 +101,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/packages/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/packages/main/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -127,8 +115,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/packages/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/packages/main/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -143,8 +129,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/packages/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/packages/main/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -159,8 +143,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/packages/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/packages/main/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -174,7 +156,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/packages/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerConditionsExcludesNode(module=esnext).trace.json b/tests/baselines/reference/bundlerConditionsExcludesNode(module=esnext).trace.json index 60c6328ff89ad..2b67a19c808e7 100644 --- a/tests/baselines/reference/bundlerConditionsExcludesNode(module=esnext).trace.json +++ b/tests/baselines/reference/bundlerConditionsExcludesNode(module=esnext).trace.json @@ -1,14 +1,11 @@ [ - "Found 'package.json' at '/node_modules/conditions/package.json'.", - "File '/node_modules/conditions/package.json' exists according to earlier cached lookups.", - "File '/package.json' does not exist.", "======== Resolving module 'conditions' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist.", "Loading module 'conditions' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/conditions/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/conditions/package.json'.", "Entering conditional exports.", "Saw non-matching condition 'node'.", "Matched 'exports' condition 'default'.", @@ -22,8 +19,6 @@ "Exiting conditional exports.", "Resolving real path for '/node_modules/conditions/index.web.d.ts', result '/node_modules/conditions/index.web.d.ts'.", "======== Module name 'conditions' was successfully resolved to '/node_modules/conditions/index.web.d.ts' with Package ID 'conditions/index.web.d.ts@1.0.0'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -36,8 +31,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -50,8 +43,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +55,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -78,8 +67,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,8 +79,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -105,7 +90,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerConditionsExcludesNode(module=preserve).trace.json b/tests/baselines/reference/bundlerConditionsExcludesNode(module=preserve).trace.json index 60c6328ff89ad..2b67a19c808e7 100644 --- a/tests/baselines/reference/bundlerConditionsExcludesNode(module=preserve).trace.json +++ b/tests/baselines/reference/bundlerConditionsExcludesNode(module=preserve).trace.json @@ -1,14 +1,11 @@ [ - "Found 'package.json' at '/node_modules/conditions/package.json'.", - "File '/node_modules/conditions/package.json' exists according to earlier cached lookups.", - "File '/package.json' does not exist.", "======== Resolving module 'conditions' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist.", "Loading module 'conditions' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/conditions/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/conditions/package.json'.", "Entering conditional exports.", "Saw non-matching condition 'node'.", "Matched 'exports' condition 'default'.", @@ -22,8 +19,6 @@ "Exiting conditional exports.", "Resolving real path for '/node_modules/conditions/index.web.d.ts', result '/node_modules/conditions/index.web.d.ts'.", "======== Module name 'conditions' was successfully resolved to '/node_modules/conditions/index.web.d.ts' with Package ID 'conditions/index.web.d.ts@1.0.0'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -36,8 +31,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -50,8 +43,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +55,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -78,8 +67,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,8 +79,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -105,7 +90,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerDirectoryModule(moduleresolution=bundler).trace.json b/tests/baselines/reference/bundlerDirectoryModule(moduleresolution=bundler).trace.json index 89054fb3514a3..8934226b9c5a7 100644 --- a/tests/baselines/reference/bundlerDirectoryModule(moduleresolution=bundler).trace.json +++ b/tests/baselines/reference/bundlerDirectoryModule(moduleresolution=bundler).trace.json @@ -1,9 +1,7 @@ [ - "File '/app/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '../lib' from '/app/test.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", - "Resolving in CJS mode with conditions 'require', 'types'.", + "Resolving in CJS mode with conditions 'import', 'types'.", "Loading module as file / folder, candidate module location '/lib', target file types: TypeScript, JavaScript, Declaration, JSON.", "File '/lib.ts' does not exist.", "File '/lib.tsx' does not exist.", @@ -20,10 +18,6 @@ "File '/lib/cjs/index.tsx' does not exist.", "File '/lib/cjs/index.d.ts' exists - use it as a name resolution result.", "======== Module name '../lib' was successfully resolved to '/lib/cjs/index.d.ts'. ========", - "File '/lib/cjs/package.json' does not exist.", - "File '/lib/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -37,8 +31,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023' from '/.src/__lib_node_modules_lookup_lib.es2023.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -52,8 +44,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022' from '/.src/__lib_node_modules_lookup_lib.es2022.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -67,8 +57,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021' from '/.src/__lib_node_modules_lookup_lib.es2021.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -82,8 +70,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020' from '/.src/__lib_node_modules_lookup_lib.es2020.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -97,8 +83,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019' from '/.src/__lib_node_modules_lookup_lib.es2019.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -112,8 +96,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018' from '/.src/__lib_node_modules_lookup_lib.es2018.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -127,8 +109,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017' from '/.src/__lib_node_modules_lookup_lib.es2017.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -142,8 +122,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016' from '/.src/__lib_node_modules_lookup_lib.es2016.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -157,8 +135,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015' from '/.src/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -172,8 +148,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -187,8 +161,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -202,8 +174,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -217,8 +187,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/core' from '/.src/__lib_node_modules_lookup_lib.es2015.core.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -232,8 +200,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/core' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/collection' from '/.src/__lib_node_modules_lookup_lib.es2015.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -247,8 +213,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/iterable' from '/.src/__lib_node_modules_lookup_lib.es2015.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -262,8 +226,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -277,8 +239,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/generator' from '/.src/__lib_node_modules_lookup_lib.es2015.generator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -292,8 +252,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/generator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/promise' from '/.src/__lib_node_modules_lookup_lib.es2015.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -307,8 +265,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/proxy' from '/.src/__lib_node_modules_lookup_lib.es2015.proxy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -322,8 +278,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/proxy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/reflect' from '/.src/__lib_node_modules_lookup_lib.es2015.reflect.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -337,8 +291,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/reflect' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -352,8 +304,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/array-include' from '/.src/__lib_node_modules_lookup_lib.es2016.array.include.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/array-include' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -367,8 +317,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/array-include' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/intl' from '/.src/__lib_node_modules_lookup_lib.es2016.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -382,8 +330,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/object' from '/.src/__lib_node_modules_lookup_lib.es2017.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -397,8 +343,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2017.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -412,8 +356,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/string' from '/.src/__lib_node_modules_lookup_lib.es2017.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -427,8 +369,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/intl' from '/.src/__lib_node_modules_lookup_lib.es2017.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -442,8 +382,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/typedarrays' from '/.src/__lib_node_modules_lookup_lib.es2017.typedarrays.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/typedarrays' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -457,8 +395,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/typedarrays' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/date' from '/.src/__lib_node_modules_lookup_lib.es2017.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -472,8 +408,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asynciterable' from '/.src/__lib_node_modules_lookup_lib.es2018.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -487,8 +421,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asyncgenerator' from '/.src/__lib_node_modules_lookup_lib.es2018.asyncgenerator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asyncgenerator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -502,8 +434,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asyncgenerator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/promise' from '/.src/__lib_node_modules_lookup_lib.es2018.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -517,8 +447,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/regexp' from '/.src/__lib_node_modules_lookup_lib.es2018.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -532,8 +460,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/intl' from '/.src/__lib_node_modules_lookup_lib.es2018.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -547,8 +473,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/array' from '/.src/__lib_node_modules_lookup_lib.es2019.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -562,8 +486,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/object' from '/.src/__lib_node_modules_lookup_lib.es2019.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -577,8 +499,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/string' from '/.src/__lib_node_modules_lookup_lib.es2019.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -592,8 +512,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/symbol' from '/.src/__lib_node_modules_lookup_lib.es2019.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -607,8 +525,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/intl' from '/.src/__lib_node_modules_lookup_lib.es2019.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -622,8 +538,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/bigint' from '/.src/__lib_node_modules_lookup_lib.es2020.bigint.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/bigint' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -637,8 +551,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/bigint' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/intl' from '/.src/__lib_node_modules_lookup_lib.es2020.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -652,8 +564,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/date' from '/.src/__lib_node_modules_lookup_lib.es2020.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -667,8 +577,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/number' from '/.src/__lib_node_modules_lookup_lib.es2020.number.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/number' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -682,8 +590,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/number' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/promise' from '/.src/__lib_node_modules_lookup_lib.es2020.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -697,8 +603,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2020.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -712,8 +616,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/string' from '/.src/__lib_node_modules_lookup_lib.es2020.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -727,8 +629,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2020.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -742,8 +642,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/promise' from '/.src/__lib_node_modules_lookup_lib.es2021.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -757,8 +655,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/string' from '/.src/__lib_node_modules_lookup_lib.es2021.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -772,8 +668,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/weakref' from '/.src/__lib_node_modules_lookup_lib.es2021.weakref.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/weakref' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -787,8 +681,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/weakref' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/intl' from '/.src/__lib_node_modules_lookup_lib.es2021.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -802,8 +694,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/array' from '/.src/__lib_node_modules_lookup_lib.es2022.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -817,8 +707,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/error' from '/.src/__lib_node_modules_lookup_lib.es2022.error.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/error' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -832,8 +720,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/error' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/intl' from '/.src/__lib_node_modules_lookup_lib.es2022.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -847,8 +733,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/object' from '/.src/__lib_node_modules_lookup_lib.es2022.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -862,8 +746,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2022.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -877,8 +759,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/string' from '/.src/__lib_node_modules_lookup_lib.es2022.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -892,8 +772,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/regexp' from '/.src/__lib_node_modules_lookup_lib.es2022.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -907,8 +785,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/array' from '/.src/__lib_node_modules_lookup_lib.es2023.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -922,8 +798,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -937,8 +811,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/intl' from '/.src/__lib_node_modules_lookup_lib.es2023.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -952,8 +824,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -967,8 +837,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/decorators' from '/.src/__lib_node_modules_lookup_lib.esnext.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -982,8 +850,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/disposable' from '/.src/__lib_node_modules_lookup_lib.esnext.disposable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -997,8 +863,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/promise' from '/.src/__lib_node_modules_lookup_lib.esnext.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1012,8 +876,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/object' from '/.src/__lib_node_modules_lookup_lib.esnext.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1027,8 +889,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/collection' from '/.src/__lib_node_modules_lookup_lib.esnext.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1042,8 +902,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1057,8 +915,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/regexp' from '/.src/__lib_node_modules_lookup_lib.esnext.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1072,8 +928,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/string' from '/.src/__lib_node_modules_lookup_lib.esnext.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1087,8 +941,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1102,8 +954,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1117,8 +967,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1132,8 +980,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/.src/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1147,8 +993,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/asynciterable' from '/.src/__lib_node_modules_lookup_lib.dom.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1161,7 +1005,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerImportESM(module=esnext).js b/tests/baselines/reference/bundlerImportESM(module=esnext).js index 486ca757bd2e3..48e483322c215 100644 --- a/tests/baselines/reference/bundlerImportESM(module=esnext).js +++ b/tests/baselines/reference/bundlerImportESM(module=esnext).js @@ -16,8 +16,6 @@ import { esm } from "./esm.mjs"; //// [esm.mjs] export var esm = 0; //// [not-actually-cjs.cjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [still-not-cjs.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; diff --git a/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=false,noemit=false).trace.json b/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=false,noemit=false).trace.json index ac875c75ce478..3ae9198b3782d 100644 --- a/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=false,noemit=false).trace.json +++ b/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=false,noemit=false).trace.json @@ -1,25 +1,4 @@ [ - "File '/project/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/d/package.json' does not exist.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './a' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", @@ -90,7 +69,7 @@ "File '/project/d.d.ts' does not exist.", "File '/project/d.js' does not exist.", "File '/project/d.jsx' does not exist.", - "File '/project/d/package.json' does not exist according to earlier cached lookups.", + "File '/project/d/package.json' does not exist.", "File '/project/d/index.ts' exists - use it as a name resolution result.", "======== Module name './d' was successfully resolved to '/project/d/index.ts'. ========", "======== Resolving module './d/index' from '/project/main.ts'. ========", @@ -120,8 +99,6 @@ "File '/project/e.d.txt.ts' does not exist.", "File '/project/e.txt.ts' exists - use it as a name resolution result.", "======== Module name './e.txt' was successfully resolved to '/project/e.txt.ts'. ========", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './a.ts' from '/project/types.d.ts'. ========", "Resolution for module './a.ts' was found in cache from location '/project'.", "======== Module name './a.ts' was successfully resolved to '/project/a.ts'. ========", @@ -132,8 +109,6 @@ "File name '/project/a.d.ts' has a '.d.ts' extension - stripping it.", "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.d.ts' was successfully resolved to '/project/a.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -147,8 +122,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -162,8 +135,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -177,8 +148,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -192,8 +161,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -207,8 +174,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -221,7 +186,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=false,noemit=true).trace.json b/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=false,noemit=true).trace.json index ac875c75ce478..3ae9198b3782d 100644 --- a/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=false,noemit=true).trace.json +++ b/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=false,noemit=true).trace.json @@ -1,25 +1,4 @@ [ - "File '/project/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/d/package.json' does not exist.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './a' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", @@ -90,7 +69,7 @@ "File '/project/d.d.ts' does not exist.", "File '/project/d.js' does not exist.", "File '/project/d.jsx' does not exist.", - "File '/project/d/package.json' does not exist according to earlier cached lookups.", + "File '/project/d/package.json' does not exist.", "File '/project/d/index.ts' exists - use it as a name resolution result.", "======== Module name './d' was successfully resolved to '/project/d/index.ts'. ========", "======== Resolving module './d/index' from '/project/main.ts'. ========", @@ -120,8 +99,6 @@ "File '/project/e.d.txt.ts' does not exist.", "File '/project/e.txt.ts' exists - use it as a name resolution result.", "======== Module name './e.txt' was successfully resolved to '/project/e.txt.ts'. ========", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './a.ts' from '/project/types.d.ts'. ========", "Resolution for module './a.ts' was found in cache from location '/project'.", "======== Module name './a.ts' was successfully resolved to '/project/a.ts'. ========", @@ -132,8 +109,6 @@ "File name '/project/a.d.ts' has a '.d.ts' extension - stripping it.", "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.d.ts' was successfully resolved to '/project/a.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -147,8 +122,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -162,8 +135,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -177,8 +148,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -192,8 +161,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -207,8 +174,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -221,7 +186,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=true,noemit=false).trace.json b/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=true,noemit=false).trace.json index ac875c75ce478..3ae9198b3782d 100644 --- a/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=true,noemit=false).trace.json +++ b/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=true,noemit=false).trace.json @@ -1,25 +1,4 @@ [ - "File '/project/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/d/package.json' does not exist.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './a' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", @@ -90,7 +69,7 @@ "File '/project/d.d.ts' does not exist.", "File '/project/d.js' does not exist.", "File '/project/d.jsx' does not exist.", - "File '/project/d/package.json' does not exist according to earlier cached lookups.", + "File '/project/d/package.json' does not exist.", "File '/project/d/index.ts' exists - use it as a name resolution result.", "======== Module name './d' was successfully resolved to '/project/d/index.ts'. ========", "======== Resolving module './d/index' from '/project/main.ts'. ========", @@ -120,8 +99,6 @@ "File '/project/e.d.txt.ts' does not exist.", "File '/project/e.txt.ts' exists - use it as a name resolution result.", "======== Module name './e.txt' was successfully resolved to '/project/e.txt.ts'. ========", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './a.ts' from '/project/types.d.ts'. ========", "Resolution for module './a.ts' was found in cache from location '/project'.", "======== Module name './a.ts' was successfully resolved to '/project/a.ts'. ========", @@ -132,8 +109,6 @@ "File name '/project/a.d.ts' has a '.d.ts' extension - stripping it.", "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.d.ts' was successfully resolved to '/project/a.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -147,8 +122,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -162,8 +135,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -177,8 +148,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -192,8 +161,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -207,8 +174,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -221,7 +186,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=true,noemit=true).trace.json b/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=true,noemit=true).trace.json index ac875c75ce478..3ae9198b3782d 100644 --- a/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=true,noemit=true).trace.json +++ b/tests/baselines/reference/bundlerImportTsExtensions(allowimportingtsextensions=true,noemit=true).trace.json @@ -1,25 +1,4 @@ [ - "File '/project/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/d/package.json' does not exist.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './a' from '/project/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", @@ -90,7 +69,7 @@ "File '/project/d.d.ts' does not exist.", "File '/project/d.js' does not exist.", "File '/project/d.jsx' does not exist.", - "File '/project/d/package.json' does not exist according to earlier cached lookups.", + "File '/project/d/package.json' does not exist.", "File '/project/d/index.ts' exists - use it as a name resolution result.", "======== Module name './d' was successfully resolved to '/project/d/index.ts'. ========", "======== Resolving module './d/index' from '/project/main.ts'. ========", @@ -120,8 +99,6 @@ "File '/project/e.d.txt.ts' does not exist.", "File '/project/e.txt.ts' exists - use it as a name resolution result.", "======== Module name './e.txt' was successfully resolved to '/project/e.txt.ts'. ========", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './a.ts' from '/project/types.d.ts'. ========", "Resolution for module './a.ts' was found in cache from location '/project'.", "======== Module name './a.ts' was successfully resolved to '/project/a.ts'. ========", @@ -132,8 +109,6 @@ "File name '/project/a.d.ts' has a '.d.ts' extension - stripping it.", "File '/project/a.ts' exists - use it as a name resolution result.", "======== Module name './a.d.ts' was successfully resolved to '/project/a.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -147,8 +122,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -162,8 +135,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -177,8 +148,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -192,8 +161,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -207,8 +174,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -221,7 +186,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerNodeModules1(module=esnext).errors.txt b/tests/baselines/reference/bundlerNodeModules1(module=esnext).errors.txt index b25d226dacf5f..69921a8ce1425 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=esnext).errors.txt +++ b/tests/baselines/reference/bundlerNodeModules1(module=esnext).errors.txt @@ -4,7 +4,7 @@ error TS6504: File '/node_modules/dual/index.cjs' is a JavaScript file. Did you error TS6504: File '/node_modules/dual/index.js' is a JavaScript file. Did you mean to enable the 'allowJs' option? The file is in the program because: Root file specified for compilation -/main.cts(1,10): error TS2305: Module '"dual"' has no exported member 'esm'. +/main.cts(1,15): error TS2305: Module '"dual"' has no exported member 'cjs'. /main.mts(1,15): error TS2305: Module '"dual"' has no exported member 'cjs'. /main.ts(1,15): error TS2305: Module '"dual"' has no exported member 'cjs'. @@ -54,6 +54,6 @@ error TS6504: File '/node_modules/dual/index.js' is a JavaScript file. Did you m ==== /main.cts (1 errors) ==== import { esm, cjs } from "dual"; - ~~~ -!!! error TS2305: Module '"dual"' has no exported member 'esm'. + ~~~ +!!! error TS2305: Module '"dual"' has no exported member 'cjs'. \ No newline at end of file diff --git a/tests/baselines/reference/bundlerNodeModules1(module=esnext).js b/tests/baselines/reference/bundlerNodeModules1(module=esnext).js index c870e2e452261..1272b9f38f865 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=esnext).js +++ b/tests/baselines/reference/bundlerNodeModules1(module=esnext).js @@ -42,5 +42,4 @@ export {}; //// [main.mjs] export {}; //// [main.cjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; diff --git a/tests/baselines/reference/bundlerNodeModules1(module=esnext).trace.json b/tests/baselines/reference/bundlerNodeModules1(module=esnext).trace.json index 01c135d3daa22..9976c48b1306d 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=esnext).trace.json +++ b/tests/baselines/reference/bundlerNodeModules1(module=esnext).trace.json @@ -1,13 +1,11 @@ [ - "Found 'package.json' at '/node_modules/dual/package.json'.", - "File '/package.json' does not exist.", "======== Resolving module 'dual' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist.", "Loading module 'dual' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/dual/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/dual/package.json'.", "Entering conditional exports.", "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './index.js'.", @@ -24,25 +22,8 @@ "Resolution for module 'dual' was found in cache from location '/'.", "======== Module name 'dual' was successfully resolved to '/node_modules/dual/index.d.ts' with Package ID 'dual/index.d.ts@1.0.0'. ========", "======== Resolving module 'dual' from '/main.cts'. ========", - "Explicitly specified module resolution kind: 'Bundler'.", - "Resolving in CJS mode with conditions 'require', 'types'.", - "File '/package.json' does not exist according to earlier cached lookups.", - "Loading module 'dual' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/dual/package.json' exists according to earlier cached lookups.", - "Entering conditional exports.", - "Saw non-matching condition 'import'.", - "Matched 'exports' condition 'require'.", - "Using 'exports' subpath '.' with target './index.cjs'.", - "File name '/node_modules/dual/index.cjs' has a '.cjs' extension - stripping it.", - "File '/node_modules/dual/index.cts' does not exist.", - "File '/node_modules/dual/index.d.cts' exists - use it as a name resolution result.", - "Resolved under condition 'require'.", - "Exiting conditional exports.", - "Resolving real path for '/node_modules/dual/index.d.cts', result '/node_modules/dual/index.d.cts'.", - "======== Module name 'dual' was successfully resolved to '/node_modules/dual/index.d.cts' with Package ID 'dual/index.d.cts@1.0.0'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", + "Resolution for module 'dual' was found in cache from location '/'.", + "======== Module name 'dual' was successfully resolved to '/node_modules/dual/index.d.ts' with Package ID 'dual/index.d.ts@1.0.0'. ========", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -55,8 +36,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +48,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -83,8 +60,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -97,8 +72,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -111,8 +84,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -124,7 +95,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerNodeModules1(module=esnext).types b/tests/baselines/reference/bundlerNodeModules1(module=esnext).types index a225f0203cc80..2d8967df3849c 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=esnext).types +++ b/tests/baselines/reference/bundlerNodeModules1(module=esnext).types @@ -26,8 +26,8 @@ import { esm, cjs } from "dual"; === /main.cts === import { esm, cjs } from "dual"; ->esm : any -> : ^^^ ->cjs : number +>esm : number > : ^^^^^^ +>cjs : any +> : ^^^ diff --git a/tests/baselines/reference/bundlerNodeModules1(module=preserve).errors.txt b/tests/baselines/reference/bundlerNodeModules1(module=preserve).errors.txt index b25d226dacf5f..69921a8ce1425 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=preserve).errors.txt +++ b/tests/baselines/reference/bundlerNodeModules1(module=preserve).errors.txt @@ -4,7 +4,7 @@ error TS6504: File '/node_modules/dual/index.cjs' is a JavaScript file. Did you error TS6504: File '/node_modules/dual/index.js' is a JavaScript file. Did you mean to enable the 'allowJs' option? The file is in the program because: Root file specified for compilation -/main.cts(1,10): error TS2305: Module '"dual"' has no exported member 'esm'. +/main.cts(1,15): error TS2305: Module '"dual"' has no exported member 'cjs'. /main.mts(1,15): error TS2305: Module '"dual"' has no exported member 'cjs'. /main.ts(1,15): error TS2305: Module '"dual"' has no exported member 'cjs'. @@ -54,6 +54,6 @@ error TS6504: File '/node_modules/dual/index.js' is a JavaScript file. Did you m ==== /main.cts (1 errors) ==== import { esm, cjs } from "dual"; - ~~~ -!!! error TS2305: Module '"dual"' has no exported member 'esm'. + ~~~ +!!! error TS2305: Module '"dual"' has no exported member 'cjs'. \ No newline at end of file diff --git a/tests/baselines/reference/bundlerNodeModules1(module=preserve).trace.json b/tests/baselines/reference/bundlerNodeModules1(module=preserve).trace.json index 01c135d3daa22..9976c48b1306d 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=preserve).trace.json +++ b/tests/baselines/reference/bundlerNodeModules1(module=preserve).trace.json @@ -1,13 +1,11 @@ [ - "Found 'package.json' at '/node_modules/dual/package.json'.", - "File '/package.json' does not exist.", "======== Resolving module 'dual' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist.", "Loading module 'dual' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/dual/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/dual/package.json'.", "Entering conditional exports.", "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './index.js'.", @@ -24,25 +22,8 @@ "Resolution for module 'dual' was found in cache from location '/'.", "======== Module name 'dual' was successfully resolved to '/node_modules/dual/index.d.ts' with Package ID 'dual/index.d.ts@1.0.0'. ========", "======== Resolving module 'dual' from '/main.cts'. ========", - "Explicitly specified module resolution kind: 'Bundler'.", - "Resolving in CJS mode with conditions 'require', 'types'.", - "File '/package.json' does not exist according to earlier cached lookups.", - "Loading module 'dual' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/dual/package.json' exists according to earlier cached lookups.", - "Entering conditional exports.", - "Saw non-matching condition 'import'.", - "Matched 'exports' condition 'require'.", - "Using 'exports' subpath '.' with target './index.cjs'.", - "File name '/node_modules/dual/index.cjs' has a '.cjs' extension - stripping it.", - "File '/node_modules/dual/index.cts' does not exist.", - "File '/node_modules/dual/index.d.cts' exists - use it as a name resolution result.", - "Resolved under condition 'require'.", - "Exiting conditional exports.", - "Resolving real path for '/node_modules/dual/index.d.cts', result '/node_modules/dual/index.d.cts'.", - "======== Module name 'dual' was successfully resolved to '/node_modules/dual/index.d.cts' with Package ID 'dual/index.d.cts@1.0.0'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", + "Resolution for module 'dual' was found in cache from location '/'.", + "======== Module name 'dual' was successfully resolved to '/node_modules/dual/index.d.ts' with Package ID 'dual/index.d.ts@1.0.0'. ========", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -55,8 +36,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +48,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -83,8 +60,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -97,8 +72,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -111,8 +84,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -124,7 +95,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerNodeModules1(module=preserve).types b/tests/baselines/reference/bundlerNodeModules1(module=preserve).types index a225f0203cc80..2d8967df3849c 100644 --- a/tests/baselines/reference/bundlerNodeModules1(module=preserve).types +++ b/tests/baselines/reference/bundlerNodeModules1(module=preserve).types @@ -26,8 +26,8 @@ import { esm, cjs } from "dual"; === /main.cts === import { esm, cjs } from "dual"; ->esm : any -> : ^^^ ->cjs : number +>esm : number > : ^^^^^^ +>cjs : any +> : ^^^ diff --git a/tests/baselines/reference/bundlerRelative1(module=esnext).trace.json b/tests/baselines/reference/bundlerRelative1(module=esnext).trace.json index 32e88ac669665..7cc32c65d7ea1 100644 --- a/tests/baselines/reference/bundlerRelative1(module=esnext).trace.json +++ b/tests/baselines/reference/bundlerRelative1(module=esnext).trace.json @@ -1,13 +1,4 @@ [ - "File '/dir/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/foo/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './dir' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", @@ -17,7 +8,7 @@ "File '/dir.d.ts' does not exist.", "File '/dir.js' does not exist.", "File '/dir.jsx' does not exist.", - "File '/dir/package.json' does not exist according to earlier cached lookups.", + "File '/dir/package.json' does not exist.", "File '/dir/index.ts' exists - use it as a name resolution result.", "======== Module name './dir' was successfully resolved to '/dir/index.ts'. ========", "======== Resolving module './dir/index' from '/main.ts'. ========", @@ -89,8 +80,6 @@ "File '/types/cjs.tsx' does not exist.", "File '/types/cjs.d.ts' exists - use it as a name resolution result.", "======== Module name './types/cjs' was successfully resolved to '/types/cjs.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,8 +93,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -119,8 +106,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -134,8 +119,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -149,8 +132,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -164,8 +145,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -178,7 +157,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/bundlerRelative1(module=preserve).trace.json b/tests/baselines/reference/bundlerRelative1(module=preserve).trace.json index 32e88ac669665..7cc32c65d7ea1 100644 --- a/tests/baselines/reference/bundlerRelative1(module=preserve).trace.json +++ b/tests/baselines/reference/bundlerRelative1(module=preserve).trace.json @@ -1,13 +1,4 @@ [ - "File '/dir/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/foo/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './dir' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", @@ -17,7 +8,7 @@ "File '/dir.d.ts' does not exist.", "File '/dir.js' does not exist.", "File '/dir.jsx' does not exist.", - "File '/dir/package.json' does not exist according to earlier cached lookups.", + "File '/dir/package.json' does not exist.", "File '/dir/index.ts' exists - use it as a name resolution result.", "======== Module name './dir' was successfully resolved to '/dir/index.ts'. ========", "======== Resolving module './dir/index' from '/main.ts'. ========", @@ -89,8 +80,6 @@ "File '/types/cjs.tsx' does not exist.", "File '/types/cjs.d.ts' exists - use it as a name resolution result.", "======== Module name './types/cjs' was successfully resolved to '/types/cjs.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,8 +93,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -119,8 +106,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -134,8 +119,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -149,8 +132,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -164,8 +145,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -178,7 +157,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/cacheResolutions.trace.json b/tests/baselines/reference/cacheResolutions.trace.json index b21bd7a2d6b67..3223d232e2b3f 100644 --- a/tests/baselines/reference/cacheResolutions.trace.json +++ b/tests/baselines/reference/cacheResolutions.trace.json @@ -1,8 +1,4 @@ [ - "File '/a/b/c/package.json' does not exist.", - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'tslib' from '/a/b/c/app.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", "File '/a/b/c/tslib.ts' does not exist.", @@ -31,22 +27,12 @@ "File '/tslib.js' does not exist.", "File '/tslib.jsx' does not exist.", "======== Module name 'tslib' was not resolved. ========", - "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'tslib' from '/a/b/c/lib1.ts'. ========", "Resolution for module 'tslib' was found in cache from location '/a/b/c'.", "======== Module name 'tslib' was not resolved. ========", - "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'tslib' from '/a/b/c/lib2.ts'. ========", "Resolution for module 'tslib' was found in cache from location '/a/b/c'.", "======== Module name 'tslib' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -60,8 +46,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -75,8 +59,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -90,8 +72,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -105,8 +85,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -120,8 +98,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -134,7 +110,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/cachedModuleResolution1.trace.json b/tests/baselines/reference/cachedModuleResolution1.trace.json index 4b74ccac8565f..e0abb568e03c2 100644 --- a/tests/baselines/reference/cachedModuleResolution1.trace.json +++ b/tests/baselines/reference/cachedModuleResolution1.trace.json @@ -1,14 +1,4 @@ [ - "File '/a/b/node_modules/package.json' does not exist.", - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/a/b/c/d/e/package.json' does not exist.", - "File '/a/b/c/d/package.json' does not exist.", - "File '/a/b/c/package.json' does not exist.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -21,18 +11,12 @@ "File '/a/b/node_modules/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/b/node_modules/foo.d.ts', result '/a/b/node_modules/foo.d.ts'.", "======== Module name 'foo' was successfully resolved to '/a/b/node_modules/foo.d.ts'. ========", - "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Resolution for module 'foo' was found in cache from location '/a/b/c'.", "======== Module name 'foo' was successfully resolved to '/a/b/node_modules/foo.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,8 +30,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +43,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +56,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +69,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -106,8 +82,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -120,7 +94,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/cachedModuleResolution2.trace.json b/tests/baselines/reference/cachedModuleResolution2.trace.json index 8b98f408af75a..af31f721e8747 100644 --- a/tests/baselines/reference/cachedModuleResolution2.trace.json +++ b/tests/baselines/reference/cachedModuleResolution2.trace.json @@ -1,12 +1,4 @@ [ - "File '/a/b/node_modules/package.json' does not exist.", - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/a/b/c/package.json' does not exist.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -17,12 +9,6 @@ "File '/a/b/node_modules/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/b/node_modules/foo.d.ts', result '/a/b/node_modules/foo.d.ts'.", "======== Module name 'foo' was successfully resolved to '/a/b/node_modules/foo.d.ts'. ========", - "File '/a/b/c/d/e/package.json' does not exist.", - "File '/a/b/c/d/package.json' does not exist.", - "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -31,8 +17,6 @@ "Directory '/a/b/c/d/node_modules' does not exist, skipping all lookups in it.", "Resolution for module 'foo' was found in cache from location '/a/b/c'.", "======== Module name 'foo' was successfully resolved to '/a/b/node_modules/foo.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,8 +30,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +43,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +56,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +69,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -106,8 +82,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -120,7 +94,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/cachedModuleResolution3.trace.json b/tests/baselines/reference/cachedModuleResolution3.trace.json index 0cbbc3010d528..2d47c539debd3 100644 --- a/tests/baselines/reference/cachedModuleResolution3.trace.json +++ b/tests/baselines/reference/cachedModuleResolution3.trace.json @@ -1,13 +1,4 @@ [ - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/a/b/c/d/e/package.json' does not exist.", - "File '/a/b/c/d/package.json' does not exist.", - "File '/a/b/c/package.json' does not exist.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "File '/a/b/c/d/e/foo.ts' does not exist.", @@ -23,16 +14,10 @@ "File '/a/b/foo.tsx' does not exist.", "File '/a/b/foo.d.ts' exists - use it as a name resolution result.", "======== Module name 'foo' was successfully resolved to '/a/b/foo.d.ts'. ========", - "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "Resolution for module 'foo' was found in cache from location '/a/b/c'.", "======== Module name 'foo' was successfully resolved to '/a/b/foo.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,8 +31,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +44,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +57,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +70,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -106,8 +83,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -120,7 +95,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/cachedModuleResolution4.trace.json b/tests/baselines/reference/cachedModuleResolution4.trace.json index b76ed12bb5b23..6880a4175b515 100644 --- a/tests/baselines/reference/cachedModuleResolution4.trace.json +++ b/tests/baselines/reference/cachedModuleResolution4.trace.json @@ -1,11 +1,4 @@ [ - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/a/b/c/package.json' does not exist.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "File '/a/b/c/foo.ts' does not exist.", @@ -15,12 +8,6 @@ "File '/a/b/foo.tsx' does not exist.", "File '/a/b/foo.d.ts' exists - use it as a name resolution result.", "======== Module name 'foo' was successfully resolved to '/a/b/foo.d.ts'. ========", - "File '/a/b/c/d/e/package.json' does not exist.", - "File '/a/b/c/d/package.json' does not exist.", - "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "File '/a/b/c/d/e/foo.ts' does not exist.", @@ -31,8 +18,6 @@ "File '/a/b/c/d/foo.d.ts' does not exist.", "Resolution for module 'foo' was found in cache from location '/a/b/c'.", "======== Module name 'foo' was successfully resolved to '/a/b/foo.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,8 +31,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +44,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +57,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +70,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -106,8 +83,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -120,7 +95,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/cachedModuleResolution5.trace.json b/tests/baselines/reference/cachedModuleResolution5.trace.json index de14291c11773..897fc3aa4c3ad 100644 --- a/tests/baselines/reference/cachedModuleResolution5.trace.json +++ b/tests/baselines/reference/cachedModuleResolution5.trace.json @@ -1,14 +1,4 @@ [ - "File '/a/b/node_modules/package.json' does not exist.", - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/a/b/c/d/e/package.json' does not exist.", - "File '/a/b/c/d/package.json' does not exist.", - "File '/a/b/c/package.json' does not exist.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -21,17 +11,12 @@ "File '/a/b/node_modules/foo.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/b/node_modules/foo.d.ts', result '/a/b/node_modules/foo.d.ts'.", "======== Module name 'foo' was successfully resolved to '/a/b/node_modules/foo.d.ts'. ========", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/lib.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Resolution for module 'foo' was found in cache from location '/a/b'.", "======== Module name 'foo' was successfully resolved to '/a/b/node_modules/foo.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -45,8 +30,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -60,8 +43,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -75,8 +56,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -90,8 +69,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -105,8 +82,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -119,7 +94,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/cachedModuleResolution6.trace.json b/tests/baselines/reference/cachedModuleResolution6.trace.json index 11abe338c747b..4c07ac4bd05b1 100644 --- a/tests/baselines/reference/cachedModuleResolution6.trace.json +++ b/tests/baselines/reference/cachedModuleResolution6.trace.json @@ -1,10 +1,4 @@ [ - "File '/a/b/c/d/e/package.json' does not exist.", - "File '/a/b/c/d/package.json' does not exist.", - "File '/a/b/c/package.json' does not exist.", - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -24,18 +18,12 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'foo' was not resolved. ========", - "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Resolution for module 'foo' was found in cache from location '/a/b/c'.", "======== Module name 'foo' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +37,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +50,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -79,8 +63,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -94,8 +76,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -109,8 +89,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -123,7 +101,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/cachedModuleResolution7.trace.json b/tests/baselines/reference/cachedModuleResolution7.trace.json index 8778558fb9361..f116d34c6905a 100644 --- a/tests/baselines/reference/cachedModuleResolution7.trace.json +++ b/tests/baselines/reference/cachedModuleResolution7.trace.json @@ -1,8 +1,4 @@ [ - "File '/a/b/c/package.json' does not exist.", - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -18,12 +14,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'foo' was not resolved. ========", - "File '/a/b/c/d/e/package.json' does not exist.", - "File '/a/b/c/d/package.json' does not exist.", - "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -32,8 +22,6 @@ "Directory '/a/b/c/d/node_modules' does not exist, skipping all lookups in it.", "Resolution for module 'foo' was found in cache from location '/a/b/c'.", "======== Module name 'foo' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -47,8 +35,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -62,8 +48,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,8 +61,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,8 +74,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -107,8 +87,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -121,7 +99,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/cachedModuleResolution8.trace.json b/tests/baselines/reference/cachedModuleResolution8.trace.json index 5743a15f4f37a..b74e44890d3ee 100644 --- a/tests/baselines/reference/cachedModuleResolution8.trace.json +++ b/tests/baselines/reference/cachedModuleResolution8.trace.json @@ -1,10 +1,4 @@ [ - "File '/a/b/c/d/e/package.json' does not exist.", - "File '/a/b/c/d/package.json' does not exist.", - "File '/a/b/c/package.json' does not exist.", - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "File '/a/b/c/d/e/foo.ts' does not exist.", @@ -45,16 +39,10 @@ "File '/foo.js' does not exist.", "File '/foo.jsx' does not exist.", "======== Module name 'foo' was not resolved. ========", - "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "Resolution for module 'foo' was found in cache from location '/a/b/c'.", "======== Module name 'foo' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -68,8 +56,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -83,8 +69,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -98,8 +82,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -113,8 +95,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -128,8 +108,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -142,7 +120,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/cachedModuleResolution9.trace.json b/tests/baselines/reference/cachedModuleResolution9.trace.json index 5da05b8608ab7..b0daccb405fe1 100644 --- a/tests/baselines/reference/cachedModuleResolution9.trace.json +++ b/tests/baselines/reference/cachedModuleResolution9.trace.json @@ -1,8 +1,4 @@ [ - "File '/a/b/c/package.json' does not exist.", - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a/b/c/lib.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "File '/a/b/c/foo.ts' does not exist.", @@ -31,12 +27,6 @@ "File '/foo.js' does not exist.", "File '/foo.jsx' does not exist.", "======== Module name 'foo' was not resolved. ========", - "File '/a/b/c/d/e/package.json' does not exist.", - "File '/a/b/c/d/package.json' does not exist.", - "File '/a/b/c/package.json' does not exist according to earlier cached lookups.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a/b/c/d/e/app.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "File '/a/b/c/d/e/foo.ts' does not exist.", @@ -47,8 +37,6 @@ "File '/a/b/c/d/foo.d.ts' does not exist.", "Resolution for module 'foo' was found in cache from location '/a/b/c'.", "======== Module name 'foo' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -62,8 +50,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,8 +63,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,8 +76,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -107,8 +89,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -122,8 +102,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -136,7 +114,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/conditionalExportsResolutionFallback(moduleresolution=bundler).trace.json b/tests/baselines/reference/conditionalExportsResolutionFallback(moduleresolution=bundler).trace.json index 55ee28df7585b..5cf2ce2ba8146 100644 --- a/tests/baselines/reference/conditionalExportsResolutionFallback(moduleresolution=bundler).trace.json +++ b/tests/baselines/reference/conditionalExportsResolutionFallback(moduleresolution=bundler).trace.json @@ -1,13 +1,11 @@ [ - "File '/node_modules/dep/dist/package.json' does not exist.", - "Found 'package.json' at '/node_modules/dep/package.json'.", "======== Resolving module 'dep' from '/index.mts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", "File '/package.json' does not exist.", "Loading module 'dep' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/dep/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/dep/package.json'.", "Entering conditional exports.", "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './dist/index.mjs'.", @@ -24,8 +22,6 @@ "Exiting conditional exports.", "Resolving real path for '/node_modules/dep/dist/index.d.ts', result '/node_modules/dep/dist/index.d.ts'.", "======== Module name 'dep' was successfully resolved to '/node_modules/dep/dist/index.d.ts' with Package ID 'dep/dist/index.d.ts@1.0.0'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -38,8 +34,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -52,8 +46,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -66,8 +58,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -80,8 +70,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -94,8 +82,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -107,7 +93,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json b/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json index 4d59437af6054..92c6aa7e03569 100644 --- a/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json +++ b/tests/baselines/reference/customConditions(resolvepackagejsonexports=false).trace.json @@ -1,15 +1,11 @@ [ - "Found 'package.json' at '/node_modules/lodash/package.json'.", - "File '/node_modules/lodash/package.json' exists according to earlier cached lookups.", - "File '/node_modules/lodash/package.json' exists according to earlier cached lookups.", - "File '/package.json' does not exist.", "======== Resolving module 'lodash' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types', 'webpack', ' browser'.", - "File '/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist.", "Loading module 'lodash' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/lodash/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/lodash/package.json'.", "File '/node_modules/lodash.ts' does not exist.", "File '/node_modules/lodash.tsx' does not exist.", "File '/node_modules/lodash.d.ts' does not exist.", @@ -24,8 +20,6 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/node_modules/lodash/index.d.ts', result '/node_modules/lodash/index.d.ts'.", "======== Module name 'lodash' was successfully resolved to '/node_modules/lodash/index.d.ts' with Package ID 'lodash/index.d.ts@1.0.0'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -38,8 +32,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -52,8 +44,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -66,8 +56,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -80,8 +68,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -94,8 +80,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -107,7 +91,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/customConditions(resolvepackagejsonexports=true).trace.json b/tests/baselines/reference/customConditions(resolvepackagejsonexports=true).trace.json index 564ee9b6816c2..c91e61256b116 100644 --- a/tests/baselines/reference/customConditions(resolvepackagejsonexports=true).trace.json +++ b/tests/baselines/reference/customConditions(resolvepackagejsonexports=true).trace.json @@ -1,15 +1,11 @@ [ - "Found 'package.json' at '/node_modules/lodash/package.json'.", - "File '/node_modules/lodash/package.json' exists according to earlier cached lookups.", - "File '/node_modules/lodash/package.json' exists according to earlier cached lookups.", - "File '/package.json' does not exist.", "======== Resolving module 'lodash' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types', 'webpack', ' browser'.", - "File '/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist.", "Loading module 'lodash' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/lodash/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/lodash/package.json'.", "Entering conditional exports.", "Saw non-matching condition 'browser'.", "Matched 'exports' condition 'webpack'.", @@ -23,8 +19,6 @@ "Exiting conditional exports.", "Resolving real path for '/node_modules/lodash/webpack.d.ts', result '/node_modules/lodash/webpack.d.ts'.", "======== Module name 'lodash' was successfully resolved to '/node_modules/lodash/webpack.d.ts' with Package ID 'lodash/webpack.d.ts@1.0.0'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -37,8 +31,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -51,8 +43,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -65,8 +55,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -79,8 +67,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -93,8 +79,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -106,7 +90,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json index eae79e8301031..557fda775e656 100644 --- a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json +++ b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'foo/use' from '/index.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'foo/use' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -25,7 +24,6 @@ "File '/node_modules/a/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/a/index.d.ts', result '/node_modules/a/index.d.ts'.", "======== Module name 'a' was successfully resolved to '/node_modules/a/index.d.ts'. ========", - "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "======== Resolving module './index' from '/node_modules/foo/use.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/node_modules/foo/index', target file types: TypeScript, Declaration.", @@ -34,10 +32,6 @@ "File '/node_modules/foo/index.d.ts' exists - use it as a name resolution result.", "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", "======== Module name './index' was successfully resolved to '/node_modules/foo/index.d.ts' with Package ID 'foo/index.d.ts@1.2.3'. ========", - "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", - "File '/node_modules/a/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/node_modules/a/index.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -56,9 +50,6 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/node_modules/a/node_modules/foo/index.d.ts', result '/node_modules/a/node_modules/foo/index.d.ts'.", "======== Module name 'foo' was successfully resolved to '/node_modules/a/node_modules/foo/index.d.ts' with Package ID 'foo/index.d.ts@1.2.3'. ========", - "File '/node_modules/a/node_modules/foo/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -71,8 +62,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -85,8 +74,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -99,8 +86,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -113,8 +98,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -127,8 +110,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -140,7 +121,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json index 19793828d306b..98916c4ce30a4 100644 --- a/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json +++ b/tests/baselines/reference/duplicatePackage_relativeImportWithinPackage_scoped.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module '@foo/bar/use' from '/index.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module '@foo/bar/use' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -25,7 +24,6 @@ "File '/node_modules/a/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/a/index.d.ts', result '/node_modules/a/index.d.ts'.", "======== Module name 'a' was successfully resolved to '/node_modules/a/index.d.ts'. ========", - "File '/node_modules/@foo/bar/package.json' exists according to earlier cached lookups.", "======== Resolving module './index' from '/node_modules/@foo/bar/use.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/node_modules/@foo/bar/index', target file types: TypeScript, Declaration.", @@ -34,10 +32,6 @@ "File '/node_modules/@foo/bar/index.d.ts' exists - use it as a name resolution result.", "File '/node_modules/@foo/bar/package.json' exists according to earlier cached lookups.", "======== Module name './index' was successfully resolved to '/node_modules/@foo/bar/index.d.ts' with Package ID '@foo/bar/index.d.ts@1.2.3'. ========", - "File '/node_modules/@foo/bar/package.json' exists according to earlier cached lookups.", - "File '/node_modules/a/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@foo/bar' from '/node_modules/a/index.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module '@foo/bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -56,9 +50,6 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/node_modules/a/node_modules/@foo/bar/index.d.ts', result '/node_modules/a/node_modules/@foo/bar/index.d.ts'.", "======== Module name '@foo/bar' was successfully resolved to '/node_modules/a/node_modules/@foo/bar/index.d.ts' with Package ID '@foo/bar/index.d.ts@1.2.3'. ========", - "File '/node_modules/a/node_modules/@foo/bar/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -71,8 +62,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -85,8 +74,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -99,8 +86,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -113,8 +98,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -127,8 +110,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -140,7 +121,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/emitHelpersWithLocalCollisions(module=node16).js b/tests/baselines/reference/emitHelpersWithLocalCollisions(module=node16).js index 2bf5641f43b50..47204b7a76f30 100644 --- a/tests/baselines/reference/emitHelpersWithLocalCollisions(module=node16).js +++ b/tests/baselines/reference/emitHelpersWithLocalCollisions(module=node16).js @@ -10,20 +10,17 @@ const y = { ...o }; //// [a.js] -"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; let A = class A { }; -exports.A = A; -exports.A = A = __decorate([ +A = __decorate([ dec ], A); +export { A }; const o = { a: 1 }; const y = Object.assign({}, o); diff --git a/tests/baselines/reference/emitHelpersWithLocalCollisions(module=nodenext).js b/tests/baselines/reference/emitHelpersWithLocalCollisions(module=nodenext).js index 2bf5641f43b50..47204b7a76f30 100644 --- a/tests/baselines/reference/emitHelpersWithLocalCollisions(module=nodenext).js +++ b/tests/baselines/reference/emitHelpersWithLocalCollisions(module=nodenext).js @@ -10,20 +10,17 @@ const y = { ...o }; //// [a.js] -"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.A = void 0; let A = class A { }; -exports.A = A; -exports.A = A = __decorate([ +A = __decorate([ dec ], A); +export { A }; const o = { a: 1 }; const y = Object.assign({}, o); diff --git a/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).errors.txt b/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).errors.txt deleted file mode 100644 index 1c86c3703f83a..0000000000000 --- a/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).errors.txt +++ /dev/null @@ -1,23 +0,0 @@ -/index.ts(1,8): error TS1192: Module '"/node_modules/mdast-util-to-string/index"' has no default export. -/index.ts(7,8): error TS2339: Property 'default' does not exist on type 'typeof import("/node_modules/mdast-util-to-string/index")'. - - -==== /node_modules/mdast-util-to-string/package.json (0 errors) ==== - { "type": "module" } - -==== /node_modules/mdast-util-to-string/index.d.ts (0 errors) ==== - export function toString(): string; - -==== /index.ts (2 errors) ==== - import mdast, { toString } from 'mdast-util-to-string'; - ~~~~~ -!!! error TS1192: Module '"/node_modules/mdast-util-to-string/index"' has no default export. - mdast; - mdast.toString(); - - const mdast2 = await import('mdast-util-to-string'); - mdast2.toString(); - mdast2.default; - ~~~~~~~ -!!! error TS2339: Property 'default' does not exist on type 'typeof import("/node_modules/mdast-util-to-string/index")'. - \ No newline at end of file diff --git a/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).symbols b/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).symbols index a9c981cfa7cd5..49f52de2941e1 100644 --- a/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).symbols +++ b/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).symbols @@ -13,17 +13,21 @@ mdast; >mdast : Symbol(mdast, Decl(index.ts, 0, 6)) mdast.toString(); +>mdast.toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) >mdast : Symbol(mdast, Decl(index.ts, 0, 6)) +>toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) const mdast2 = await import('mdast-util-to-string'); >mdast2 : Symbol(mdast2, Decl(index.ts, 4, 5)) ->'mdast-util-to-string' : Symbol("/node_modules/mdast-util-to-string/index", Decl(index.d.ts, 0, 0)) +>'mdast-util-to-string' : Symbol(mdast, Decl(index.d.ts, 0, 0)) mdast2.toString(); ->mdast2.toString : Symbol(toString, Decl(index.d.ts, 0, 0)) +>mdast2.toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) >mdast2 : Symbol(mdast2, Decl(index.ts, 4, 5)) ->toString : Symbol(toString, Decl(index.d.ts, 0, 0)) +>toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) mdast2.default; +>mdast2.default : Symbol(mdast.default) >mdast2 : Symbol(mdast2, Decl(index.ts, 4, 5)) +>default : Symbol(mdast.default) diff --git a/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).types b/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).types index 226775c657bb3..fa24f3a53623c 100644 --- a/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).types +++ b/tests/baselines/reference/esmNoSynthesizedDefault(module=esnext).types @@ -7,32 +7,32 @@ export function toString(): string; === /index.ts === import mdast, { toString } from 'mdast-util-to-string'; ->mdast : any -> : ^^^ +>mdast : typeof mdast +> : ^^^^^^^^^^^^ >toString : () => string > : ^^^^^^ mdast; ->mdast : any -> : ^^^ +>mdast : typeof mdast +> : ^^^^^^^^^^^^ mdast.toString(); ->mdast.toString() : any -> : ^^^ ->mdast.toString : any -> : ^^^ ->mdast : any -> : ^^^ ->toString : any -> : ^^^ +>mdast.toString() : string +> : ^^^^^^ +>mdast.toString : () => string +> : ^^^^^^ +>mdast : typeof mdast +> : ^^^^^^^^^^^^ +>toString : () => string +> : ^^^^^^ const mdast2 = await import('mdast-util-to-string'); ->mdast2 : typeof import("/node_modules/mdast-util-to-string/index") -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->await import('mdast-util-to-string') : typeof import("/node_modules/mdast-util-to-string/index") -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->import('mdast-util-to-string') : Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>mdast2 : { default: typeof mdast; toString(): string; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +>await import('mdast-util-to-string') : { default: typeof mdast; toString(): string; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +>import('mdast-util-to-string') : Promise<{ default: typeof mdast; toString(): string; }> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >'mdast-util-to-string' : "mdast-util-to-string" > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -41,16 +41,16 @@ mdast2.toString(); > : ^^^^^^ >mdast2.toString : () => string > : ^^^^^^ ->mdast2 : typeof import("/node_modules/mdast-util-to-string/index") -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>mdast2 : { default: typeof mdast; toString(): string; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >toString : () => string > : ^^^^^^ mdast2.default; ->mdast2.default : any -> : ^^^ ->mdast2 : typeof import("/node_modules/mdast-util-to-string/index") -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->default : any -> : ^^^ +>mdast2.default : typeof mdast +> : ^^^^^^^^^^^^ +>mdast2 : { default: typeof mdast; toString(): string; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +>default : typeof mdast +> : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).errors.txt b/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).errors.txt deleted file mode 100644 index 1c86c3703f83a..0000000000000 --- a/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).errors.txt +++ /dev/null @@ -1,23 +0,0 @@ -/index.ts(1,8): error TS1192: Module '"/node_modules/mdast-util-to-string/index"' has no default export. -/index.ts(7,8): error TS2339: Property 'default' does not exist on type 'typeof import("/node_modules/mdast-util-to-string/index")'. - - -==== /node_modules/mdast-util-to-string/package.json (0 errors) ==== - { "type": "module" } - -==== /node_modules/mdast-util-to-string/index.d.ts (0 errors) ==== - export function toString(): string; - -==== /index.ts (2 errors) ==== - import mdast, { toString } from 'mdast-util-to-string'; - ~~~~~ -!!! error TS1192: Module '"/node_modules/mdast-util-to-string/index"' has no default export. - mdast; - mdast.toString(); - - const mdast2 = await import('mdast-util-to-string'); - mdast2.toString(); - mdast2.default; - ~~~~~~~ -!!! error TS2339: Property 'default' does not exist on type 'typeof import("/node_modules/mdast-util-to-string/index")'. - \ No newline at end of file diff --git a/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).symbols b/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).symbols index a9c981cfa7cd5..49f52de2941e1 100644 --- a/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).symbols +++ b/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).symbols @@ -13,17 +13,21 @@ mdast; >mdast : Symbol(mdast, Decl(index.ts, 0, 6)) mdast.toString(); +>mdast.toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) >mdast : Symbol(mdast, Decl(index.ts, 0, 6)) +>toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) const mdast2 = await import('mdast-util-to-string'); >mdast2 : Symbol(mdast2, Decl(index.ts, 4, 5)) ->'mdast-util-to-string' : Symbol("/node_modules/mdast-util-to-string/index", Decl(index.d.ts, 0, 0)) +>'mdast-util-to-string' : Symbol(mdast, Decl(index.d.ts, 0, 0)) mdast2.toString(); ->mdast2.toString : Symbol(toString, Decl(index.d.ts, 0, 0)) +>mdast2.toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) >mdast2 : Symbol(mdast2, Decl(index.ts, 4, 5)) ->toString : Symbol(toString, Decl(index.d.ts, 0, 0)) +>toString : Symbol(mdast.toString, Decl(index.d.ts, 0, 0)) mdast2.default; +>mdast2.default : Symbol(mdast.default) >mdast2 : Symbol(mdast2, Decl(index.ts, 4, 5)) +>default : Symbol(mdast.default) diff --git a/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).types b/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).types index 226775c657bb3..fa24f3a53623c 100644 --- a/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).types +++ b/tests/baselines/reference/esmNoSynthesizedDefault(module=preserve).types @@ -7,32 +7,32 @@ export function toString(): string; === /index.ts === import mdast, { toString } from 'mdast-util-to-string'; ->mdast : any -> : ^^^ +>mdast : typeof mdast +> : ^^^^^^^^^^^^ >toString : () => string > : ^^^^^^ mdast; ->mdast : any -> : ^^^ +>mdast : typeof mdast +> : ^^^^^^^^^^^^ mdast.toString(); ->mdast.toString() : any -> : ^^^ ->mdast.toString : any -> : ^^^ ->mdast : any -> : ^^^ ->toString : any -> : ^^^ +>mdast.toString() : string +> : ^^^^^^ +>mdast.toString : () => string +> : ^^^^^^ +>mdast : typeof mdast +> : ^^^^^^^^^^^^ +>toString : () => string +> : ^^^^^^ const mdast2 = await import('mdast-util-to-string'); ->mdast2 : typeof import("/node_modules/mdast-util-to-string/index") -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->await import('mdast-util-to-string') : typeof import("/node_modules/mdast-util-to-string/index") -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->import('mdast-util-to-string') : Promise -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>mdast2 : { default: typeof mdast; toString(): string; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +>await import('mdast-util-to-string') : { default: typeof mdast; toString(): string; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +>import('mdast-util-to-string') : Promise<{ default: typeof mdast; toString(): string; }> +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ >'mdast-util-to-string' : "mdast-util-to-string" > : ^^^^^^^^^^^^^^^^^^^^^^ @@ -41,16 +41,16 @@ mdast2.toString(); > : ^^^^^^ >mdast2.toString : () => string > : ^^^^^^ ->mdast2 : typeof import("/node_modules/mdast-util-to-string/index") -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +>mdast2 : { default: typeof mdast; toString(): string; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ >toString : () => string > : ^^^^^^ mdast2.default; ->mdast2.default : any -> : ^^^ ->mdast2 : typeof import("/node_modules/mdast-util-to-string/index") -> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ->default : any -> : ^^^ +>mdast2.default : typeof mdast +> : ^^^^^^^^^^^^ +>mdast2 : { default: typeof mdast; toString(): string; } +> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^ +>default : typeof mdast +> : ^^^^^^^^^^^^ diff --git a/tests/baselines/reference/globalAugmentationModuleResolution.trace.json b/tests/baselines/reference/globalAugmentationModuleResolution.trace.json index e85c20b4bfde2..9092829302e64 100644 --- a/tests/baselines/reference/globalAugmentationModuleResolution.trace.json +++ b/tests/baselines/reference/globalAugmentationModuleResolution.trace.json @@ -1,8 +1,4 @@ [ - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -16,8 +12,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -31,8 +25,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,8 +38,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +51,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +64,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -90,7 +76,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/impliedNodeFormatEmit1(module=commonjs).js b/tests/baselines/reference/impliedNodeFormatEmit1(module=commonjs).js index 0b19d2dc41f55..358d98e9fea8b 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit1(module=commonjs).js +++ b/tests/baselines/reference/impliedNodeFormatEmit1(module=commonjs).js @@ -40,7 +40,10 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [b.mjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [c.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -52,14 +55,21 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [e.mjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [f.mjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [g.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [h.mjs] -export {}; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); //// [i.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/impliedNodeFormatEmit1(module=esnext).js b/tests/baselines/reference/impliedNodeFormatEmit1(module=esnext).js index d27ae7c8e185c..69cd5d21e55f1 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit1(module=esnext).js +++ b/tests/baselines/reference/impliedNodeFormatEmit1(module=esnext).js @@ -39,10 +39,7 @@ export var _ = 0; //// [b.mjs] export var _ = 0; //// [c.cjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [d.js] export var _ = 0; //// [e.mjs] @@ -54,7 +51,6 @@ export {}; //// [h.mjs] export {}; //// [i.cjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [dummy.js] export {}; diff --git a/tests/baselines/reference/impliedNodeFormatEmit2(module=commonjs).js b/tests/baselines/reference/impliedNodeFormatEmit2(module=commonjs).js index 4fd6dc70684ae..3acea3e04d3a5 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit2(module=commonjs).js +++ b/tests/baselines/reference/impliedNodeFormatEmit2(module=commonjs).js @@ -43,7 +43,10 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [b.mjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [c.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -55,14 +58,21 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [e.mjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [f.mjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [g.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [h.mjs] -export {}; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); //// [i.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/impliedNodeFormatEmit2(module=esnext).js b/tests/baselines/reference/impliedNodeFormatEmit2(module=esnext).js index df4f9efe15711..ef36dafea558c 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit2(module=esnext).js +++ b/tests/baselines/reference/impliedNodeFormatEmit2(module=esnext).js @@ -42,10 +42,7 @@ export var _ = 0; //// [b.mjs] export var _ = 0; //// [c.cjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [d.js] export var _ = 0; //// [e.mjs] @@ -57,7 +54,6 @@ export {}; //// [h.mjs] export {}; //// [i.cjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [dummy.js] export {}; diff --git a/tests/baselines/reference/impliedNodeFormatEmit3(module=commonjs).js b/tests/baselines/reference/impliedNodeFormatEmit3(module=commonjs).js index 27f4f58d9ba5b..9927e59c5403a 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit3(module=commonjs).js +++ b/tests/baselines/reference/impliedNodeFormatEmit3(module=commonjs).js @@ -40,26 +40,44 @@ export {}; //// [a.js] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [b.mjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [c.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [d.js] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [e.mjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [f.mjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [g.js] -export {}; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); //// [h.mjs] -export {}; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); //// [i.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [dummy.js] -export {}; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/impliedNodeFormatEmit3(module=esnext).js b/tests/baselines/reference/impliedNodeFormatEmit3(module=esnext).js index 27f4f58d9ba5b..1df2b11dbce13 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit3(module=esnext).js +++ b/tests/baselines/reference/impliedNodeFormatEmit3(module=esnext).js @@ -44,10 +44,7 @@ export var _ = 0; //// [b.mjs] export var _ = 0; //// [c.cjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [d.js] export var _ = 0; //// [e.mjs] @@ -59,7 +56,6 @@ export {}; //// [h.mjs] export {}; //// [i.cjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [dummy.js] export {}; diff --git a/tests/baselines/reference/impliedNodeFormatEmit4(module=commonjs).js b/tests/baselines/reference/impliedNodeFormatEmit4(module=commonjs).js index aa7fab5c345d9..0d273c2e6c06d 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit4(module=commonjs).js +++ b/tests/baselines/reference/impliedNodeFormatEmit4(module=commonjs).js @@ -45,7 +45,10 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [b.mjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [c.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -57,14 +60,21 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [e.mjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [f.mjs] -export var _ = 0; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports._ = void 0; +exports._ = 0; //// [g.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [h.mjs] -export {}; +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); //// [i.cjs] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/impliedNodeFormatEmit4(module=esnext).js b/tests/baselines/reference/impliedNodeFormatEmit4(module=esnext).js index aa7fab5c345d9..0023d65f995a9 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit4(module=esnext).js +++ b/tests/baselines/reference/impliedNodeFormatEmit4(module=esnext).js @@ -40,34 +40,22 @@ export {}; //// [a.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [b.mjs] export var _ = 0; //// [c.cjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [d.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports._ = void 0; -exports._ = 0; +export var _ = 0; //// [e.mjs] export var _ = 0; //// [f.mjs] export var _ = 0; //// [g.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [h.mjs] export {}; //// [i.cjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; //// [dummy.js] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); +export {}; diff --git a/tests/baselines/reference/importHelpersVerbatimModuleSyntax.errors.txt b/tests/baselines/reference/importHelpersVerbatimModuleSyntax.errors.txt new file mode 100644 index 0000000000000..d6e81ae9b5f25 --- /dev/null +++ b/tests/baselines/reference/importHelpersVerbatimModuleSyntax.errors.txt @@ -0,0 +1,48 @@ +/main.cts(2,19): error TS2343: This syntax requires an imported helper named '__rest' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. + + +==== /node_modules/tslib/package.json (0 errors) ==== + { + "name": "tslib", + "main": "tslib.js", + "module": "tslib.es6.js", + "jsnext:main": "tslib.es6.js", + "typings": "tslib.d.ts", + "exports": { + ".": { + "module": { + "types": "./modules/index.d.ts", + "default": "./tslib.es6.mjs" + }, + "import": { + "node": "./modules/index.js", + "default": { + "types": "./modules/index.d.ts", + "default": "./tslib.es6.mjs" + } + }, + "default": "./tslib.js" + }, + "./*": "./*", + "./": "./" + } + } + +==== /node_modules/tslib/tslib.d.ts (0 errors) ==== + export declare var __rest: any; + +==== /node_modules/tslib/modules/package.json (0 errors) ==== + { "type": "module" } + +==== /node_modules/tslib/modules/index.d.ts (0 errors) ==== + export {}; + +==== /main.cts (1 errors) ==== + function foo(args: any) { + const { bar, ...extraArgs } = args; + ~~~~~~~~~ +!!! error TS2343: This syntax requires an imported helper named '__rest' which does not exist in 'tslib'. Consider upgrading your version of 'tslib'. + return extraArgs; + } + export = foo; + \ No newline at end of file diff --git a/tests/baselines/reference/importHelpersVerbatimModuleSyntax.types b/tests/baselines/reference/importHelpersVerbatimModuleSyntax.types index e2f4ec6eefe9a..4c8ec4d0a3ddb 100644 --- a/tests/baselines/reference/importHelpersVerbatimModuleSyntax.types +++ b/tests/baselines/reference/importHelpersVerbatimModuleSyntax.types @@ -3,6 +3,7 @@ === /node_modules/tslib/tslib.d.ts === export declare var __rest: any; >__rest : any +> : ^^^ === /node_modules/tslib/modules/index.d.ts === @@ -13,6 +14,7 @@ function foo(args: any) { >foo : (args: any) => any > : ^ ^^ ^^^^^^^^ >args : any +> : ^^^ const { bar, ...extraArgs } = args; >bar : any @@ -20,9 +22,11 @@ function foo(args: any) { >extraArgs : any > : ^^^ >args : any +> : ^^^ return extraArgs; >extraArgs : any +> : ^^^ } export = foo; >foo : (args: any) => any diff --git a/tests/baselines/reference/importWithTrailingSlash.trace.json b/tests/baselines/reference/importWithTrailingSlash.trace.json index a3071adb553da..175ef9b3d66a1 100644 --- a/tests/baselines/reference/importWithTrailingSlash.trace.json +++ b/tests/baselines/reference/importWithTrailingSlash.trace.json @@ -1,13 +1,8 @@ [ - "File '/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '.' from '/a/test.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/a/', target file types: TypeScript, Declaration.", - "File '/a/package.json' does not exist according to earlier cached lookups.", + "File '/a/package.json' does not exist.", "File '/a/index.ts' exists - use it as a name resolution result.", "======== Module name '.' was successfully resolved to '/a/index.ts'. ========", "======== Resolving module './' from '/a/test.ts'. ========", @@ -16,9 +11,6 @@ "File '/a/package.json' does not exist according to earlier cached lookups.", "File '/a/index.ts' exists - use it as a name resolution result.", "======== Module name './' was successfully resolved to '/a/index.ts'. ========", - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '..' from '/a/b/test.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/a/', target file types: TypeScript, Declaration.", @@ -31,8 +23,6 @@ "File '/a/package.json' does not exist according to earlier cached lookups.", "File '/a/index.ts' exists - use it as a name resolution result.", "======== Module name '../' was successfully resolved to '/a/index.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,8 +36,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +49,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +62,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +75,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -106,8 +88,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -120,7 +100,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/importWithTrailingSlash_noResolve.trace.json b/tests/baselines/reference/importWithTrailingSlash_noResolve.trace.json index 054f5da2a9856..1dde7eb385678 100644 --- a/tests/baselines/reference/importWithTrailingSlash_noResolve.trace.json +++ b/tests/baselines/reference/importWithTrailingSlash_noResolve.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './foo/' from '/a.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/foo/', target file types: TypeScript, Declaration.", @@ -7,8 +6,6 @@ "Loading module as file / folder, candidate module location '/foo/', target file types: JavaScript.", "Directory '/foo/' does not exist, skipping all lookups in it.", "======== Module name './foo/' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -22,8 +19,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -37,8 +32,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -52,8 +45,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -67,8 +58,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -82,8 +71,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -96,7 +83,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/jsdocInTypeScript.trace.json b/tests/baselines/reference/jsdocInTypeScript.trace.json index edb4f9e328e03..20d11f3ea7f87 100644 --- a/tests/baselines/reference/jsdocInTypeScript.trace.json +++ b/tests/baselines/reference/jsdocInTypeScript.trace.json @@ -1,6 +1,4 @@ [ - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es2015' from '/.src/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -14,8 +12,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -29,8 +25,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -44,8 +38,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -59,8 +51,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/core' from '/.src/__lib_node_modules_lookup_lib.es2015.core.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -74,8 +64,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/core' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/collection' from '/.src/__lib_node_modules_lookup_lib.es2015.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -89,8 +77,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/iterable' from '/.src/__lib_node_modules_lookup_lib.es2015.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,8 +90,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -119,8 +103,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/generator' from '/.src/__lib_node_modules_lookup_lib.es2015.generator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -134,8 +116,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/generator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/promise' from '/.src/__lib_node_modules_lookup_lib.es2015.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -149,8 +129,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/proxy' from '/.src/__lib_node_modules_lookup_lib.es2015.proxy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -164,8 +142,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/proxy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/reflect' from '/.src/__lib_node_modules_lookup_lib.es2015.reflect.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -179,8 +155,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/reflect' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -193,7 +167,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.js b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.js index 287c6556e46f5..b78501533ba4c 100644 --- a/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.js +++ b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.js @@ -32,6 +32,7 @@ export interface Thing {} // not exported in export map, inaccessible under new } //// [index.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -68,12 +69,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) { if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; -export var a = function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { +Object.defineProperty(exports, "__esModule", { value: true }); +exports.a = void 0; +var a = function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { switch (_a.label) { - case 0: return [4 /*yield*/, import("inner")]; + case 0: return [4 /*yield*/, Promise.resolve().then(function () { return require("inner"); })]; case 1: return [2 /*return*/, (_a.sent()).x()]; } }); }); }; +exports.a = a; //// [index.d.ts] diff --git a/tests/baselines/reference/libTypeScriptOverrideSimple.trace.json b/tests/baselines/reference/libTypeScriptOverrideSimple.trace.json index a265627564b85..cda94c2befb65 100644 --- a/tests/baselines/reference/libTypeScriptOverrideSimple.trace.json +++ b/tests/baselines/reference/libTypeScriptOverrideSimple.trace.json @@ -1,17 +1,11 @@ [ - "File '/node_modules/@typescript/lib-dom/package.json' does not exist.", - "File '/node_modules/@typescript/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Scoped package detected, looking in 'typescript__lib-dom'", - "File '/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@typescript/lib-dom/package.json' does not exist.", "File '/node_modules/@typescript/lib-dom.ts' does not exist.", "File '/node_modules/@typescript/lib-dom.tsx' does not exist.", "File '/node_modules/@typescript/lib-dom.d.ts' does not exist.", @@ -20,8 +14,6 @@ "File '/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@typescript/lib-dom/index.d.ts', result '/node_modules/@typescript/lib-dom/index.d.ts'.", "======== Module name '@typescript/lib-dom' was successfully resolved to '/node_modules/@typescript/lib-dom/index.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -39,8 +31,6 @@ "File '/node_modules/@typescript/lib-es5.js' does not exist.", "File '/node_modules/@typescript/lib-es5.jsx' does not exist.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +48,6 @@ "File '/node_modules/@typescript/lib-decorators.js' does not exist.", "File '/node_modules/@typescript/lib-decorators.jsx' does not exist.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -72,8 +60,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -86,8 +72,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,7 +88,5 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "File '/node_modules/@typescript/lib-scripthost.js' does not exist.", "File '/node_modules/@typescript/lib-scripthost.jsx' does not exist.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/libTypeScriptOverrideSimpleConfig.trace.json b/tests/baselines/reference/libTypeScriptOverrideSimpleConfig.trace.json index 1a05dc5279c45..8edd966941288 100644 --- a/tests/baselines/reference/libTypeScriptOverrideSimpleConfig.trace.json +++ b/tests/baselines/reference/libTypeScriptOverrideSimpleConfig.trace.json @@ -1,6 +1,4 @@ [ - "File '/somepath/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-dom' from '/somepath/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -14,13 +12,6 @@ "File '/somepath/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/somepath/node_modules/@typescript/lib-dom/index.d.ts', result '/somepath/node_modules/@typescript/lib-dom/index.d.ts'.", "======== Module name '@typescript/lib-dom' was successfully resolved to '/somepath/node_modules/@typescript/lib-dom/index.d.ts'. ========", - "File '/somepath/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups.", - "File '/somepath/node_modules/@typescript/package.json' does not exist.", - "File '/somepath/node_modules/package.json' does not exist.", - "File '/somepath/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/somepath/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -38,8 +29,6 @@ "File '/somepath/node_modules/@typescript/lib-es5.jsx' does not exist.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/somepath/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -57,8 +46,6 @@ "File '/somepath/node_modules/@typescript/lib-decorators.jsx' does not exist.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/somepath/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -71,8 +58,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/somepath/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -85,8 +70,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/somepath/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -103,7 +86,5 @@ "File '/somepath/node_modules/@typescript/lib-scripthost.js' does not exist.", "File '/somepath/node_modules/@typescript/lib-scripthost.jsx' does not exist.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/libTypeScriptSubfileResolving.trace.json b/tests/baselines/reference/libTypeScriptSubfileResolving.trace.json index 9043ad759d439..306175b8fba2b 100644 --- a/tests/baselines/reference/libTypeScriptSubfileResolving.trace.json +++ b/tests/baselines/reference/libTypeScriptSubfileResolving.trace.json @@ -1,28 +1,16 @@ [ - "File '/node_modules/@typescript/lib-dom/package.json' does not exist.", - "File '/node_modules/@typescript/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@typescript/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/.src/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Scoped package detected, looking in 'typescript__lib-dom/iterable'", - "File '/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@typescript/lib-dom/package.json' does not exist.", "File '/node_modules/@typescript/lib-dom/iterable.ts' does not exist.", "File '/node_modules/@typescript/lib-dom/iterable.tsx' does not exist.", "File '/node_modules/@typescript/lib-dom/iterable.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@typescript/lib-dom/iterable.d.ts', result '/node_modules/@typescript/lib-dom/iterable.d.ts'.", "======== Module name '@typescript/lib-dom/iterable' was successfully resolved to '/node_modules/@typescript/lib-dom/iterable.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -40,8 +28,6 @@ "File '/node_modules/@typescript/lib-es5.js' does not exist.", "File '/node_modules/@typescript/lib-es5.jsx' does not exist.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -59,8 +45,6 @@ "File '/node_modules/@typescript/lib-decorators.js' does not exist.", "File '/node_modules/@typescript/lib-decorators.jsx' does not exist.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +57,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -102,8 +84,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -120,7 +100,5 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "File '/node_modules/@typescript/lib-scripthost.js' does not exist.", "File '/node_modules/@typescript/lib-scripthost.jsx' does not exist.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/libTypeScriptSubfileResolvingConfig.trace.json b/tests/baselines/reference/libTypeScriptSubfileResolvingConfig.trace.json index 551de29b705b0..042ae9b861666 100644 --- a/tests/baselines/reference/libTypeScriptSubfileResolvingConfig.trace.json +++ b/tests/baselines/reference/libTypeScriptSubfileResolvingConfig.trace.json @@ -1,6 +1,4 @@ [ - "File '/somepath/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-dom/iterable' from '/somepath/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -11,13 +9,6 @@ "File '/somepath/node_modules/@typescript/lib-dom/iterable.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/somepath/node_modules/@typescript/lib-dom/iterable.d.ts', result '/somepath/node_modules/@typescript/lib-dom/iterable.d.ts'.", "======== Module name '@typescript/lib-dom/iterable' was successfully resolved to '/somepath/node_modules/@typescript/lib-dom/iterable.d.ts'. ========", - "File '/somepath/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups.", - "File '/somepath/node_modules/@typescript/package.json' does not exist.", - "File '/somepath/node_modules/package.json' does not exist.", - "File '/somepath/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/somepath/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -35,8 +26,6 @@ "File '/somepath/node_modules/@typescript/lib-es5.jsx' does not exist.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/somepath/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -54,8 +43,6 @@ "File '/somepath/node_modules/@typescript/lib-decorators.jsx' does not exist.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/somepath/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -68,8 +55,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/somepath/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -83,11 +68,6 @@ "File '/somepath/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/somepath/node_modules/@typescript/lib-dom/index.d.ts', result '/somepath/node_modules/@typescript/lib-dom/index.d.ts'.", "======== Module name '@typescript/lib-dom' was successfully resolved to '/somepath/node_modules/@typescript/lib-dom/index.d.ts'. ========", - "File '/somepath/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups.", - "File '/somepath/node_modules/@typescript/package.json' does not exist according to earlier cached lookups.", - "File '/somepath/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/somepath/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/somepath/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -100,8 +80,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/somepath/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -118,7 +96,5 @@ "File '/somepath/node_modules/@typescript/lib-scripthost.js' does not exist.", "File '/somepath/node_modules/@typescript/lib-scripthost.jsx' does not exist.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-1.trace.json b/tests/baselines/reference/library-reference-1.trace.json index 2661687218fd5..80f8b8e4ab270 100644 --- a/tests/baselines/reference/library-reference-1.trace.json +++ b/tests/baselines/reference/library-reference-1.trace.json @@ -1,6 +1,4 @@ [ - "File '/src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving type reference directive 'jquery', containing file '/src/consumer.ts', root directory '/src/types'. ========", "Resolving with primary search path '/src/types'.", "File '/src/types/jquery.d.ts' does not exist.", @@ -8,10 +6,6 @@ "File '/src/types/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/src/types/jquery/index.d.ts', result '/src/types/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/src/types/jquery/index.d.ts', primary: true. ========", - "File '/src/types/jquery/package.json' does not exist according to earlier cached lookups.", - "File '/src/types/package.json' does not exist.", - "File '/src/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'jquery', containing file '/.src/__inferred type names__.ts', root directory '/src/types'. ========", "Resolving with primary search path '/src/types'.", "File '/src/types/jquery.d.ts' does not exist.", @@ -19,8 +13,6 @@ "File '/src/types/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/src/types/jquery/index.d.ts', result '/src/types/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/src/types/jquery/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -34,8 +26,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +39,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +52,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -79,8 +65,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -94,8 +78,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -108,7 +90,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-10.trace.json b/tests/baselines/reference/library-reference-10.trace.json index 59a6af6907e31..937099add14b8 100644 --- a/tests/baselines/reference/library-reference-10.trace.json +++ b/tests/baselines/reference/library-reference-10.trace.json @@ -1,6 +1,4 @@ [ - "File '/foo/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving type reference directive 'jquery', containing file '/foo/consumer.ts', root directory '/foo/types'. ========", "Resolving with primary search path '/foo/types'.", "File '/foo/types/jquery.d.ts' does not exist.", @@ -10,7 +8,6 @@ "File '/foo/types/jquery/jquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/foo/types/jquery/jquery.d.ts', result '/foo/types/jquery/jquery.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/foo/types/jquery/jquery.d.ts', primary: true. ========", - "File '/foo/types/jquery/package.json' exists according to earlier cached lookups.", "======== Resolving type reference directive 'jquery', containing file '/.src/__inferred type names__.ts', root directory '/foo/types'. ========", "Resolving with primary search path '/foo/types'.", "File '/foo/types/jquery.d.ts' does not exist.", @@ -19,8 +16,6 @@ "File '/foo/types/jquery/jquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/foo/types/jquery/jquery.d.ts', result '/foo/types/jquery/jquery.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/foo/types/jquery/jquery.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -34,8 +29,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +42,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +55,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -79,8 +68,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -94,8 +81,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -108,7 +93,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-11.trace.json b/tests/baselines/reference/library-reference-11.trace.json index 2257bbeb5ab5e..db45efcb8ec0c 100644 --- a/tests/baselines/reference/library-reference-11.trace.json +++ b/tests/baselines/reference/library-reference-11.trace.json @@ -1,7 +1,4 @@ [ - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving type reference directive 'jquery', containing file '/a/b/consumer.ts', root directory '/node_modules/@types'. ========", "Resolving with primary search path '/node_modules/@types'.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", @@ -15,9 +12,6 @@ "File '/a/node_modules/jquery/jquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/node_modules/jquery/jquery.d.ts', result '/a/node_modules/jquery/jquery.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/a/node_modules/jquery/jquery.d.ts', primary: false. ========", - "File '/a/node_modules/jquery/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -28,8 +22,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -40,8 +32,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -52,8 +42,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +52,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +62,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -87,7 +71,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-12.trace.json b/tests/baselines/reference/library-reference-12.trace.json index 4a46664132c25..713d17764d985 100644 --- a/tests/baselines/reference/library-reference-12.trace.json +++ b/tests/baselines/reference/library-reference-12.trace.json @@ -1,7 +1,4 @@ [ - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving type reference directive 'jquery', containing file '/a/b/consumer.ts', root directory '/node_modules/@types'. ========", "Resolving with primary search path '/node_modules/@types'.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", @@ -16,10 +13,6 @@ "File '/a/node_modules/jquery/dist/jquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/node_modules/jquery/dist/jquery.d.ts', result '/a/node_modules/jquery/dist/jquery.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/a/node_modules/jquery/dist/jquery.d.ts', primary: false. ========", - "File '/a/node_modules/jquery/dist/package.json' does not exist.", - "File '/a/node_modules/jquery/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -30,8 +23,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -42,8 +33,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -54,8 +43,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -66,8 +53,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -78,8 +63,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -89,7 +72,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-13.trace.json b/tests/baselines/reference/library-reference-13.trace.json index 7e3caab4f0997..9038d8c571259 100644 --- a/tests/baselines/reference/library-reference-13.trace.json +++ b/tests/baselines/reference/library-reference-13.trace.json @@ -1,20 +1,11 @@ [ - "File '/a/types/jquery/package.json' does not exist.", - "File '/a/types/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'jquery', containing file '/a/__inferred type names__.ts', root directory '/a/types'. ========", "Resolving with primary search path '/a/types'.", "File '/a/types/jquery.d.ts' does not exist.", - "File '/a/types/jquery/package.json' does not exist according to earlier cached lookups.", + "File '/a/types/jquery/package.json' does not exist.", "File '/a/types/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/types/jquery/index.d.ts', result '/a/types/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/a/types/jquery/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/a/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -28,8 +19,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/a/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -43,8 +32,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/a/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +45,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/a/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +58,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/a/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -88,8 +71,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/a/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -102,7 +83,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-14.trace.json b/tests/baselines/reference/library-reference-14.trace.json index 48bbd7a6e139b..9038d8c571259 100644 --- a/tests/baselines/reference/library-reference-14.trace.json +++ b/tests/baselines/reference/library-reference-14.trace.json @@ -1,7 +1,4 @@ [ - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving type reference directive 'jquery', containing file '/a/__inferred type names__.ts', root directory '/a/types'. ========", "Resolving with primary search path '/a/types'.", "File '/a/types/jquery.d.ts' does not exist.", @@ -9,12 +6,6 @@ "File '/a/types/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/types/jquery/index.d.ts', result '/a/types/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/a/types/jquery/index.d.ts', primary: true. ========", - "File '/a/types/jquery/package.json' does not exist according to earlier cached lookups.", - "File '/a/types/package.json' does not exist.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/a/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -28,8 +19,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/a/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -43,8 +32,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/a/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +45,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/a/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +58,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/a/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -88,8 +71,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/a/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -102,7 +83,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-15.trace.json b/tests/baselines/reference/library-reference-15.trace.json index bcb7f815ecc3a..81e40d2da598e 100644 --- a/tests/baselines/reference/library-reference-15.trace.json +++ b/tests/baselines/reference/library-reference-15.trace.json @@ -1,7 +1,4 @@ [ - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving type reference directive 'jquery', containing file '/.src/__inferred type names__.ts', root directory '/a/types'. ========", "Resolving with primary search path '/a/types'.", "File '/a/types/jquery.d.ts' does not exist.", @@ -9,12 +6,6 @@ "File '/a/types/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/types/jquery/index.d.ts', result '/a/types/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/a/types/jquery/index.d.ts', primary: true. ========", - "File '/a/types/jquery/package.json' does not exist according to earlier cached lookups.", - "File '/a/types/package.json' does not exist.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -28,8 +19,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -43,8 +32,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +45,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +58,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -88,8 +71,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -102,7 +83,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-2.trace.json b/tests/baselines/reference/library-reference-2.trace.json index 2794516b51398..efcd611af477b 100644 --- a/tests/baselines/reference/library-reference-2.trace.json +++ b/tests/baselines/reference/library-reference-2.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive 'jquery', containing file '/consumer.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/jquery.d.ts' does not exist.", @@ -10,7 +9,6 @@ "File '/types/jquery/jquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/jquery/jquery.d.ts', result '/types/jquery/jquery.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/types/jquery/jquery.d.ts', primary: true. ========", - "File '/types/jquery/package.json' exists according to earlier cached lookups.", "======== Resolving type reference directive 'jquery', containing file '/test/__inferred type names__.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/jquery.d.ts' does not exist.", @@ -20,8 +18,6 @@ "File '/types/jquery/jquery.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/jquery/jquery.d.ts', result '/types/jquery/jquery.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/types/jquery/jquery.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/test/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -35,8 +31,6 @@ "Directory '/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/test/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -50,8 +44,6 @@ "Directory '/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/test/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -65,8 +57,6 @@ "Directory '/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/test/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -80,8 +70,6 @@ "Directory '/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/test/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -95,8 +83,6 @@ "Directory '/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/test/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -109,7 +95,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-3.trace.json b/tests/baselines/reference/library-reference-3.trace.json index a3421d313e456..f4d640e4aadc9 100644 --- a/tests/baselines/reference/library-reference-3.trace.json +++ b/tests/baselines/reference/library-reference-3.trace.json @@ -1,6 +1,4 @@ [ - "File '/src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving type reference directive 'jquery', containing file '/src/consumer.ts', root directory '/src/node_modules/@types,/node_modules/@types'. ========", "Resolving with primary search path '/src/node_modules/@types, /node_modules/@types'.", "Directory '/src/node_modules/@types' does not exist, skipping all lookups in it.", @@ -12,12 +10,6 @@ "File '/src/node_modules/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/src/node_modules/jquery/index.d.ts', result '/src/node_modules/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/src/node_modules/jquery/index.d.ts', primary: false. ========", - "File '/src/node_modules/jquery/package.json' does not exist according to earlier cached lookups.", - "File '/src/node_modules/package.json' does not exist.", - "File '/src/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -30,8 +22,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -44,8 +34,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +46,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -72,8 +58,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -86,8 +70,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -99,7 +81,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-4.trace.json b/tests/baselines/reference/library-reference-4.trace.json index 41861ad55ed95..bfaaf2b2cd065 100644 --- a/tests/baselines/reference/library-reference-4.trace.json +++ b/tests/baselines/reference/library-reference-4.trace.json @@ -1,6 +1,4 @@ [ - "File '/src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving type reference directive 'foo', containing file '/src/root.ts', root directory '/src'. ========", "Resolving with primary search path '/src'.", "File '/src/foo.d.ts' does not exist.", @@ -23,9 +21,6 @@ "File '/node_modules/bar/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/bar/index.d.ts', result '/node_modules/bar/index.d.ts'.", "======== Type reference directive 'bar' was successfully resolved to '/node_modules/bar/index.d.ts', primary: false. ========", - "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'alpha', containing file '/node_modules/foo/index.d.ts', root directory '/src'. ========", "Resolving with primary search path '/src'.", "File '/src/alpha.d.ts' does not exist.", @@ -36,14 +31,6 @@ "File '/node_modules/foo/node_modules/alpha/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/node_modules/alpha/index.d.ts', result '/node_modules/foo/node_modules/alpha/index.d.ts'.", "======== Type reference directive 'alpha' was successfully resolved to '/node_modules/foo/node_modules/alpha/index.d.ts', primary: false. ========", - "File '/node_modules/foo/node_modules/alpha/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/foo/node_modules/package.json' does not exist.", - "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/bar/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'alpha', containing file '/node_modules/bar/index.d.ts', root directory '/src'. ========", "Resolving with primary search path '/src'.", "File '/src/alpha.d.ts' does not exist.", @@ -54,13 +41,6 @@ "File '/node_modules/bar/node_modules/alpha/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/bar/node_modules/alpha/index.d.ts', result '/node_modules/bar/node_modules/alpha/index.d.ts'.", "======== Type reference directive 'alpha' was successfully resolved to '/node_modules/bar/node_modules/alpha/index.d.ts', primary: false. ========", - "File '/node_modules/bar/node_modules/alpha/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/bar/node_modules/package.json' does not exist.", - "File '/node_modules/bar/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/test/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +56,6 @@ "Directory '/.src/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/test/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -93,8 +71,6 @@ "Directory '/.src/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/test/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -110,8 +86,6 @@ "Directory '/.src/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/test/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -127,8 +101,6 @@ "Directory '/.src/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/test/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -144,8 +116,6 @@ "Directory '/.src/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/test/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -160,7 +130,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-5.trace.json b/tests/baselines/reference/library-reference-5.trace.json index ce76eb7f46a7b..6c7738d6016b4 100644 --- a/tests/baselines/reference/library-reference-5.trace.json +++ b/tests/baselines/reference/library-reference-5.trace.json @@ -1,6 +1,4 @@ [ - "File '/src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving type reference directive 'foo', containing file '/src/root.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "Directory '/types' does not exist, skipping all lookups in it.", @@ -23,9 +21,6 @@ "File '/node_modules/bar/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/bar/index.d.ts', result '/node_modules/bar/index.d.ts'.", "======== Type reference directive 'bar' was successfully resolved to '/node_modules/bar/index.d.ts', primary: false. ========", - "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'alpha', containing file '/node_modules/foo/index.d.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "Directory '/types' does not exist, skipping all lookups in it.", @@ -36,14 +31,6 @@ "File '/node_modules/foo/node_modules/alpha/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/node_modules/alpha/index.d.ts', result '/node_modules/foo/node_modules/alpha/index.d.ts'.", "======== Type reference directive 'alpha' was successfully resolved to '/node_modules/foo/node_modules/alpha/index.d.ts', primary: false. ========", - "File '/node_modules/foo/node_modules/alpha/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/foo/node_modules/package.json' does not exist.", - "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/bar/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'alpha', containing file '/node_modules/bar/index.d.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "Directory '/types' does not exist, skipping all lookups in it.", @@ -54,13 +41,6 @@ "File '/node_modules/bar/node_modules/alpha/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/bar/node_modules/alpha/index.d.ts', result '/node_modules/bar/node_modules/alpha/index.d.ts'.", "======== Type reference directive 'alpha' was successfully resolved to '/node_modules/bar/node_modules/alpha/index.d.ts', primary: false. ========", - "File '/node_modules/bar/node_modules/alpha/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/bar/node_modules/package.json' does not exist.", - "File '/node_modules/bar/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -70,8 +50,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -81,8 +59,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,8 +68,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -103,8 +77,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -114,8 +86,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -124,7 +94,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-6.trace.json b/tests/baselines/reference/library-reference-6.trace.json index 41ffdab8de3f7..b6882d645ef2d 100644 --- a/tests/baselines/reference/library-reference-6.trace.json +++ b/tests/baselines/reference/library-reference-6.trace.json @@ -1,21 +1,13 @@ [ - "File '/src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving type reference directive 'alpha', containing file '/src/foo.ts', root directory '/node_modules/@types'. ========", "Resolving with primary search path '/node_modules/@types'.", "File '/node_modules/@types/alpha/package.json' does not exist.", "File '/node_modules/@types/alpha/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/alpha/index.d.ts', result '/node_modules/@types/alpha/index.d.ts'.", "======== Type reference directive 'alpha' was successfully resolved to '/node_modules/@types/alpha/index.d.ts', primary: true. ========", - "File '/node_modules/@types/alpha/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'alpha', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'alpha' was found in cache from location '/'.", "======== Type reference directive 'alpha' was successfully resolved to '/node_modules/@types/alpha/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -25,8 +17,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -36,8 +26,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,8 +34,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -57,8 +43,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -67,8 +51,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,7 +59,5 @@ "File '/node_modules/@types/typescript__lib-scripthost.d.ts' does not exist.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-7.trace.json b/tests/baselines/reference/library-reference-7.trace.json index 6d28106d43699..4ce6c684d7e3f 100644 --- a/tests/baselines/reference/library-reference-7.trace.json +++ b/tests/baselines/reference/library-reference-7.trace.json @@ -1,6 +1,4 @@ [ - "File '/src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving type reference directive 'jquery', containing file '/src/consumer.ts', root directory '/node_modules/@types'. ========", "Resolving with primary search path '/node_modules/@types'.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", @@ -11,12 +9,6 @@ "File '/src/node_modules/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/src/node_modules/jquery/index.d.ts', result '/src/node_modules/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/src/node_modules/jquery/index.d.ts', primary: false. ========", - "File '/src/node_modules/jquery/package.json' does not exist according to earlier cached lookups.", - "File '/src/node_modules/package.json' does not exist.", - "File '/src/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -27,8 +19,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -39,8 +29,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -51,8 +39,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -63,8 +49,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -75,8 +59,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -86,7 +68,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-8.trace.json b/tests/baselines/reference/library-reference-8.trace.json index bc4976ce7a90f..4eb78e10cb940 100644 --- a/tests/baselines/reference/library-reference-8.trace.json +++ b/tests/baselines/reference/library-reference-8.trace.json @@ -1,6 +1,4 @@ [ - "File '/test/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving type reference directive 'alpha', containing file '/test/foo.ts', root directory '/test/types'. ========", "Resolving with primary search path '/test/types'.", "File '/test/types/alpha.d.ts' does not exist.", @@ -15,10 +13,6 @@ "File '/test/types/beta/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/test/types/beta/index.d.ts', result '/test/types/beta/index.d.ts'.", "======== Type reference directive 'beta' was successfully resolved to '/test/types/beta/index.d.ts', primary: true. ========", - "File '/test/types/alpha/package.json' does not exist according to earlier cached lookups.", - "File '/test/types/package.json' does not exist.", - "File '/test/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'beta', containing file '/test/types/alpha/index.d.ts', root directory '/test/types'. ========", "Resolving with primary search path '/test/types'.", "File '/test/types/beta.d.ts' does not exist.", @@ -26,10 +20,6 @@ "File '/test/types/beta/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/test/types/beta/index.d.ts', result '/test/types/beta/index.d.ts'.", "======== Type reference directive 'beta' was successfully resolved to '/test/types/beta/index.d.ts', primary: true. ========", - "File '/test/types/beta/package.json' does not exist according to earlier cached lookups.", - "File '/test/types/package.json' does not exist according to earlier cached lookups.", - "File '/test/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'alpha', containing file '/test/types/beta/index.d.ts', root directory '/test/types'. ========", "Resolving with primary search path '/test/types'.", "File '/test/types/alpha.d.ts' does not exist.", @@ -43,8 +33,6 @@ "======== Resolving type reference directive 'beta', containing file '/test/__inferred type names__.ts'. ========", "Resolution for type reference directive 'beta' was found in cache from location '/test'.", "======== Type reference directive 'beta' was successfully resolved to '/test/types/beta/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/test/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +46,6 @@ "Directory '/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/test/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +59,6 @@ "Directory '/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/test/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -88,8 +72,6 @@ "Directory '/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/test/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -103,8 +85,6 @@ "Directory '/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/test/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -118,8 +98,6 @@ "Directory '/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/test/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -132,7 +110,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/test/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/library-reference-scoped-packages.trace.json b/tests/baselines/reference/library-reference-scoped-packages.trace.json index af77aecd92eff..cf8cf7ca9c475 100644 --- a/tests/baselines/reference/library-reference-scoped-packages.trace.json +++ b/tests/baselines/reference/library-reference-scoped-packages.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive '@beep/boop', containing file '/a.ts', root directory '/.src/types'. ========", "Resolving with primary search path '/.src/types'.", "Directory '/.src/types' does not exist, skipping all lookups in it.", @@ -11,12 +10,6 @@ "File '/node_modules/@types/beep__boop/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/beep__boop/index.d.ts', result '/node_modules/@types/beep__boop/index.d.ts'.", "======== Type reference directive '@beep/boop' was successfully resolved to '/node_modules/@types/beep__boop/index.d.ts', primary: false. ========", - "File '/node_modules/@types/beep__boop/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -29,8 +22,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -43,8 +34,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -56,8 +45,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -70,8 +57,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -83,8 +68,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -96,7 +79,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/maxNodeModuleJsDepthDefaultsToZero.trace.json b/tests/baselines/reference/maxNodeModuleJsDepthDefaultsToZero.trace.json index d9f47a736a97d..a11d237333838 100644 --- a/tests/baselines/reference/maxNodeModuleJsDepthDefaultsToZero.trace.json +++ b/tests/baselines/reference/maxNodeModuleJsDepthDefaultsToZero.trace.json @@ -1,7 +1,4 @@ [ - "File '/typings/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'shortid' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'shortid' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -22,8 +19,6 @@ "File '/node_modules/shortid/index.js' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/shortid/index.js', result '/node_modules/shortid/index.js'.", "======== Module name 'shortid' was successfully resolved to '/node_modules/shortid/index.js'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -33,8 +28,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -44,8 +37,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -55,8 +46,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -66,8 +55,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,8 +64,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -87,7 +72,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleDetectionIsolatedModulesCjsFileScope.js b/tests/baselines/reference/moduleDetectionIsolatedModulesCjsFileScope.js index 8d948790c9e6e..5718d67611ead 100644 --- a/tests/baselines/reference/moduleDetectionIsolatedModulesCjsFileScope.js +++ b/tests/baselines/reference/moduleDetectionIsolatedModulesCjsFileScope.js @@ -6,9 +6,8 @@ const a = 2; const a = 2; //// [filename.cjs] -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); const a = 2; +export {}; //// [filename.mjs] const a = 2; export {}; diff --git a/tests/baselines/reference/modulePreserve2.trace.json b/tests/baselines/reference/modulePreserve2.trace.json index 7bbbe7e5dc0a7..cdf0c117a0259 100644 --- a/tests/baselines/reference/modulePreserve2.trace.json +++ b/tests/baselines/reference/modulePreserve2.trace.json @@ -1,9 +1,8 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'dep' from '/main.js'. ========", "Module resolution kind is not specified, using 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist.", "Loading module 'dep' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/dep/package.json'.", @@ -36,9 +35,6 @@ "Exiting conditional exports.", "Resolving real path for '/node_modules/dep/require.d.ts', result '/node_modules/dep/require.d.ts'.", "======== Module name 'dep' was successfully resolved to '/node_modules/dep/require.d.ts'. ========", - "File '/node_modules/dep/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -51,8 +47,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023' from '/.src/__lib_node_modules_lookup_lib.es2023.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -65,8 +59,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022' from '/.src/__lib_node_modules_lookup_lib.es2022.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -79,8 +71,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021' from '/.src/__lib_node_modules_lookup_lib.es2021.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -93,8 +83,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020' from '/.src/__lib_node_modules_lookup_lib.es2020.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -107,8 +95,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019' from '/.src/__lib_node_modules_lookup_lib.es2019.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -121,8 +107,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018' from '/.src/__lib_node_modules_lookup_lib.es2018.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -135,8 +119,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017' from '/.src/__lib_node_modules_lookup_lib.es2017.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -149,8 +131,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016' from '/.src/__lib_node_modules_lookup_lib.es2016.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -163,8 +143,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015' from '/.src/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -177,8 +155,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -191,8 +167,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -205,8 +179,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -219,8 +191,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/core' from '/.src/__lib_node_modules_lookup_lib.es2015.core.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -233,8 +203,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/core' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/collection' from '/.src/__lib_node_modules_lookup_lib.es2015.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -247,8 +215,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/iterable' from '/.src/__lib_node_modules_lookup_lib.es2015.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -261,8 +227,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -275,8 +239,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/generator' from '/.src/__lib_node_modules_lookup_lib.es2015.generator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -289,8 +251,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/generator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/promise' from '/.src/__lib_node_modules_lookup_lib.es2015.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -303,8 +263,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/proxy' from '/.src/__lib_node_modules_lookup_lib.es2015.proxy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -317,8 +275,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/proxy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/reflect' from '/.src/__lib_node_modules_lookup_lib.es2015.reflect.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -331,8 +287,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/reflect' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -345,8 +299,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/array-include' from '/.src/__lib_node_modules_lookup_lib.es2016.array.include.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/array-include' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -359,8 +311,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/array-include' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/intl' from '/.src/__lib_node_modules_lookup_lib.es2016.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -373,8 +323,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/object' from '/.src/__lib_node_modules_lookup_lib.es2017.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -387,8 +335,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2017.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -401,8 +347,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/string' from '/.src/__lib_node_modules_lookup_lib.es2017.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -415,8 +359,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/intl' from '/.src/__lib_node_modules_lookup_lib.es2017.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -429,8 +371,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/typedarrays' from '/.src/__lib_node_modules_lookup_lib.es2017.typedarrays.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/typedarrays' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -443,8 +383,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/typedarrays' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/date' from '/.src/__lib_node_modules_lookup_lib.es2017.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -457,8 +395,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asynciterable' from '/.src/__lib_node_modules_lookup_lib.es2018.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -471,8 +407,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asyncgenerator' from '/.src/__lib_node_modules_lookup_lib.es2018.asyncgenerator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asyncgenerator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -485,8 +419,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asyncgenerator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/promise' from '/.src/__lib_node_modules_lookup_lib.es2018.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -499,8 +431,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/regexp' from '/.src/__lib_node_modules_lookup_lib.es2018.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -513,8 +443,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/intl' from '/.src/__lib_node_modules_lookup_lib.es2018.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -527,8 +455,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/array' from '/.src/__lib_node_modules_lookup_lib.es2019.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -541,8 +467,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/object' from '/.src/__lib_node_modules_lookup_lib.es2019.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -555,8 +479,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/string' from '/.src/__lib_node_modules_lookup_lib.es2019.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -569,8 +491,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/symbol' from '/.src/__lib_node_modules_lookup_lib.es2019.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -583,8 +503,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/intl' from '/.src/__lib_node_modules_lookup_lib.es2019.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -597,8 +515,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/bigint' from '/.src/__lib_node_modules_lookup_lib.es2020.bigint.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/bigint' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -611,8 +527,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/bigint' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/intl' from '/.src/__lib_node_modules_lookup_lib.es2020.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -625,8 +539,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/date' from '/.src/__lib_node_modules_lookup_lib.es2020.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -639,8 +551,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/number' from '/.src/__lib_node_modules_lookup_lib.es2020.number.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/number' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -653,8 +563,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/number' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/promise' from '/.src/__lib_node_modules_lookup_lib.es2020.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -667,8 +575,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2020.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -681,8 +587,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/string' from '/.src/__lib_node_modules_lookup_lib.es2020.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -695,8 +599,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2020.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -709,8 +611,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/promise' from '/.src/__lib_node_modules_lookup_lib.es2021.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -723,8 +623,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/string' from '/.src/__lib_node_modules_lookup_lib.es2021.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -737,8 +635,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/weakref' from '/.src/__lib_node_modules_lookup_lib.es2021.weakref.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/weakref' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -751,8 +647,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/weakref' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/intl' from '/.src/__lib_node_modules_lookup_lib.es2021.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -765,8 +659,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/array' from '/.src/__lib_node_modules_lookup_lib.es2022.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -779,8 +671,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/error' from '/.src/__lib_node_modules_lookup_lib.es2022.error.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/error' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -793,8 +683,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/error' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/intl' from '/.src/__lib_node_modules_lookup_lib.es2022.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -807,8 +695,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/object' from '/.src/__lib_node_modules_lookup_lib.es2022.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -821,8 +707,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2022.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -835,8 +719,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/string' from '/.src/__lib_node_modules_lookup_lib.es2022.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -849,8 +731,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/regexp' from '/.src/__lib_node_modules_lookup_lib.es2022.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -863,8 +743,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/array' from '/.src/__lib_node_modules_lookup_lib.es2023.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -877,8 +755,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -891,8 +767,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/intl' from '/.src/__lib_node_modules_lookup_lib.es2023.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -905,8 +779,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -919,8 +791,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/decorators' from '/.src/__lib_node_modules_lookup_lib.esnext.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -933,8 +803,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/disposable' from '/.src/__lib_node_modules_lookup_lib.esnext.disposable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -947,8 +815,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/promise' from '/.src/__lib_node_modules_lookup_lib.esnext.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -961,8 +827,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/object' from '/.src/__lib_node_modules_lookup_lib.esnext.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -975,8 +839,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/collection' from '/.src/__lib_node_modules_lookup_lib.esnext.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -989,8 +851,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1003,8 +863,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/regexp' from '/.src/__lib_node_modules_lookup_lib.esnext.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1017,8 +875,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/string' from '/.src/__lib_node_modules_lookup_lib.esnext.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1031,8 +887,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1045,8 +899,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1059,8 +911,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1073,8 +923,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/.src/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1087,8 +935,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/asynciterable' from '/.src/__lib_node_modules_lookup_lib.dom.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1100,7 +946,5 @@ "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/modulePreserve3.trace.json b/tests/baselines/reference/modulePreserve3.trace.json index b0561a05d4f65..6131b1b5063eb 100644 --- a/tests/baselines/reference/modulePreserve3.trace.json +++ b/tests/baselines/reference/modulePreserve3.trace.json @@ -1,16 +1,11 @@ [ - "File '/node_modules/@types/react/package.json' does not exist.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'react/jsx-runtime' from '/index.tsx'. ========", "Module resolution kind is not specified, using 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist.", "Loading module 'react/jsx-runtime' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/@types/react/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@types/react/package.json' does not exist.", "File '/node_modules/@types/react/jsx-runtime.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/react/jsx-runtime.d.ts', result '/node_modules/@types/react/jsx-runtime.d.ts'.", "======== Module name 'react/jsx-runtime' was successfully resolved to '/node_modules/@types/react/jsx-runtime.d.ts'. ========", @@ -27,8 +22,6 @@ "File '/node_modules/@types/react.d.ts' does not exist.", "File '/node_modules/@types/react/index.d.ts' does not exist.", "======== Type reference directive 'react' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -41,8 +34,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023' from '/.src/__lib_node_modules_lookup_lib.es2023.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -55,8 +46,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022' from '/.src/__lib_node_modules_lookup_lib.es2022.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +58,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021' from '/.src/__lib_node_modules_lookup_lib.es2021.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -83,8 +70,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020' from '/.src/__lib_node_modules_lookup_lib.es2020.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -97,8 +82,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019' from '/.src/__lib_node_modules_lookup_lib.es2019.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -111,8 +94,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018' from '/.src/__lib_node_modules_lookup_lib.es2018.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -125,8 +106,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017' from '/.src/__lib_node_modules_lookup_lib.es2017.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -139,8 +118,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016' from '/.src/__lib_node_modules_lookup_lib.es2016.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -153,8 +130,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015' from '/.src/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -167,8 +142,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -181,8 +154,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -195,8 +166,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -208,8 +177,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/core' from '/.src/__lib_node_modules_lookup_lib.es2015.core.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -221,8 +188,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/core' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/collection' from '/.src/__lib_node_modules_lookup_lib.es2015.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -234,8 +199,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/iterable' from '/.src/__lib_node_modules_lookup_lib.es2015.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -247,8 +210,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -260,8 +221,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/generator' from '/.src/__lib_node_modules_lookup_lib.es2015.generator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -273,8 +232,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/generator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/promise' from '/.src/__lib_node_modules_lookup_lib.es2015.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -286,8 +243,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/proxy' from '/.src/__lib_node_modules_lookup_lib.es2015.proxy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -299,8 +254,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/proxy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/reflect' from '/.src/__lib_node_modules_lookup_lib.es2015.reflect.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -312,8 +265,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/reflect' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -325,8 +276,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/array-include' from '/.src/__lib_node_modules_lookup_lib.es2016.array.include.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/array-include' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -338,8 +287,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/array-include' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/intl' from '/.src/__lib_node_modules_lookup_lib.es2016.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -351,8 +298,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/object' from '/.src/__lib_node_modules_lookup_lib.es2017.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -364,8 +309,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2017.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -377,8 +320,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/string' from '/.src/__lib_node_modules_lookup_lib.es2017.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -390,8 +331,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/intl' from '/.src/__lib_node_modules_lookup_lib.es2017.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -403,8 +342,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/typedarrays' from '/.src/__lib_node_modules_lookup_lib.es2017.typedarrays.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/typedarrays' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -416,8 +353,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/typedarrays' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/date' from '/.src/__lib_node_modules_lookup_lib.es2017.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -429,8 +364,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asynciterable' from '/.src/__lib_node_modules_lookup_lib.es2018.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -442,8 +375,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asyncgenerator' from '/.src/__lib_node_modules_lookup_lib.es2018.asyncgenerator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asyncgenerator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -455,8 +386,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asyncgenerator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/promise' from '/.src/__lib_node_modules_lookup_lib.es2018.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -468,8 +397,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/regexp' from '/.src/__lib_node_modules_lookup_lib.es2018.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -481,8 +408,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/intl' from '/.src/__lib_node_modules_lookup_lib.es2018.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -494,8 +419,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/array' from '/.src/__lib_node_modules_lookup_lib.es2019.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -507,8 +430,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/object' from '/.src/__lib_node_modules_lookup_lib.es2019.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -520,8 +441,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/string' from '/.src/__lib_node_modules_lookup_lib.es2019.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -533,8 +452,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/symbol' from '/.src/__lib_node_modules_lookup_lib.es2019.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -546,8 +463,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/intl' from '/.src/__lib_node_modules_lookup_lib.es2019.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -559,8 +474,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/bigint' from '/.src/__lib_node_modules_lookup_lib.es2020.bigint.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/bigint' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -572,8 +485,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/bigint' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/intl' from '/.src/__lib_node_modules_lookup_lib.es2020.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -585,8 +496,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/date' from '/.src/__lib_node_modules_lookup_lib.es2020.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -598,8 +507,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/number' from '/.src/__lib_node_modules_lookup_lib.es2020.number.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/number' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -611,8 +518,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/number' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/promise' from '/.src/__lib_node_modules_lookup_lib.es2020.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -624,8 +529,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2020.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -637,8 +540,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/string' from '/.src/__lib_node_modules_lookup_lib.es2020.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -650,8 +551,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2020.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -663,8 +562,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/promise' from '/.src/__lib_node_modules_lookup_lib.es2021.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -676,8 +573,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/string' from '/.src/__lib_node_modules_lookup_lib.es2021.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -689,8 +584,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/weakref' from '/.src/__lib_node_modules_lookup_lib.es2021.weakref.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/weakref' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -702,8 +595,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/weakref' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/intl' from '/.src/__lib_node_modules_lookup_lib.es2021.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -715,8 +606,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/array' from '/.src/__lib_node_modules_lookup_lib.es2022.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -728,8 +617,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/error' from '/.src/__lib_node_modules_lookup_lib.es2022.error.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/error' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -741,8 +628,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/error' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/intl' from '/.src/__lib_node_modules_lookup_lib.es2022.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -754,8 +639,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/object' from '/.src/__lib_node_modules_lookup_lib.es2022.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -767,8 +650,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2022.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -780,8 +661,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/string' from '/.src/__lib_node_modules_lookup_lib.es2022.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -793,8 +672,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/regexp' from '/.src/__lib_node_modules_lookup_lib.es2022.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -806,8 +683,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/array' from '/.src/__lib_node_modules_lookup_lib.es2023.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -819,8 +694,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -832,8 +705,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/intl' from '/.src/__lib_node_modules_lookup_lib.es2023.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -845,8 +716,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -858,8 +727,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/decorators' from '/.src/__lib_node_modules_lookup_lib.esnext.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -871,8 +738,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/disposable' from '/.src/__lib_node_modules_lookup_lib.esnext.disposable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -884,8 +749,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/promise' from '/.src/__lib_node_modules_lookup_lib.esnext.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -897,8 +760,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/object' from '/.src/__lib_node_modules_lookup_lib.esnext.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -910,8 +771,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/collection' from '/.src/__lib_node_modules_lookup_lib.esnext.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -923,8 +782,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -936,8 +793,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/regexp' from '/.src/__lib_node_modules_lookup_lib.esnext.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -949,8 +804,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/string' from '/.src/__lib_node_modules_lookup_lib.esnext.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -962,8 +815,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -976,8 +827,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -989,8 +838,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1003,8 +850,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/.src/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1016,8 +861,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/asynciterable' from '/.src/__lib_node_modules_lookup_lib.dom.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1028,7 +871,5 @@ "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/modulePreserve4.errors.txt b/tests/baselines/reference/modulePreserve4.errors.txt index 65e21aa749b3c..b94d7b89604a5 100644 --- a/tests/baselines/reference/modulePreserve4.errors.txt +++ b/tests/baselines/reference/modulePreserve4.errors.txt @@ -1,22 +1,12 @@ /a.js(2,1): error TS2580: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -/f.cts(1,1): error TS1286: ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled. /main1.ts(1,13): error TS2305: Module '"./a"' has no exported member 'y'. /main1.ts(3,12): error TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. /main1.ts(19,4): error TS2339: Property 'default' does not exist on type '() => void'. -/main1.ts(23,8): error TS1192: Module '"/e"' has no default export. /main2.mts(1,13): error TS2305: Module '"./a"' has no exported member 'y'. /main2.mts(4,4): error TS2339: Property 'default' does not exist on type 'typeof import("/a")'. /main2.mts(5,12): error TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. -/main2.mts(14,8): error TS1192: Module '"/e"' has no default export. -/main3.cjs(1,10): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. /main3.cjs(1,13): error TS2305: Module '"./a"' has no exported member 'y'. /main3.cjs(2,1): error TS8002: 'import ... =' can only be used in TypeScript files. -/main3.cjs(5,8): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. -/main3.cjs(8,8): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. -/main3.cjs(10,8): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. -/main3.cjs(12,8): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. -/main3.cjs(14,8): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. -/main3.cjs(17,8): error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. ==== /a.js (1 errors) ==== @@ -39,15 +29,13 @@ ==== /e.mts (0 errors) ==== export = 0; -==== /f.cts (1 errors) ==== +==== /f.cts (0 errors) ==== export default 0; - ~~~~~~~~~~~~~~~~~ -!!! error TS1286: ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled. ==== /g.js (0 errors) ==== exports.default = 0; -==== /main1.ts (4 errors) ==== +==== /main1.ts (3 errors) ==== import { x, y } from "./a"; // No y ~ !!! error TS2305: Module '"./a"' has no exported member 'y'. @@ -77,8 +65,6 @@ d3.default(); import e1 from "./e.mjs"; // 0 - ~~ -!!! error TS1192: Module '"/e"' has no default export. import e2 = require("./e.mjs"); // 0 import f1 from "./f.cjs"; // 0 import f2 = require("./f.cjs"); // { default: 0 } @@ -89,7 +75,7 @@ import g2 = require("./g"); // { default: 0 } g2.default; -==== /main2.mts (4 errors) ==== +==== /main2.mts (3 errors) ==== import { x, y } from "./a"; // No y ~ !!! error TS2305: Module '"./a"' has no exported member 'y'. @@ -110,8 +96,6 @@ import d1 from "./d"; // [Function: default] import d2 = require("./d"); // [Function: default] import e1 from "./e.mjs"; // 0 - ~~ -!!! error TS1192: Module '"/e"' has no default export. import e2 = require("./e.mjs"); // 0 import f1 from "./f.cjs"; // 0 import f2 = require("./f.cjs"); // { default: 0 } @@ -119,10 +103,8 @@ import g1 from "./g"; // { default: 0 } import g2 = require("./g"); // { default: 0 } -==== /main3.cjs (9 errors) ==== +==== /main3.cjs (2 errors) ==== import { x, y } from "./a"; // No y - ~ -!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. ~ !!! error TS2305: Module '"./a"' has no exported member 'y'. import a1 = require("./a"); // Error in JS @@ -131,30 +113,18 @@ const a2 = require("./a"); // { x: 0 } import b1 from "./b"; // 0 - ~~ -!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. const b2 = require("./b"); // { default: 0 } import c1 from "./c"; // { default: [Function: default] } - ~~ -!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. const c2 = require("./c"); // { default: [Function: default] } import d1 from "./d"; // [Function: default] - ~~ -!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. const d2 = require("./d"); // [Function: default] import e1 from "./e.mjs"; // 0 - ~~ -!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. const e2 = require("./e.mjs"); // 0 import f1 from "./f.cjs"; // 0 - ~~ -!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. const f2 = require("./f.cjs"); // { default: 0 } import g1 from "./g"; // { default: 0 } - ~~ -!!! error TS1293: ESM syntax is not allowed in a CommonJS module when 'module' is set to 'preserve'. const g2 = require("./g"); // { default: 0 } ==== /main4.cjs (0 errors) ==== diff --git a/tests/baselines/reference/modulePreserve4.types b/tests/baselines/reference/modulePreserve4.types index 33a677f64e23c..ed61a6e2d5284 100644 --- a/tests/baselines/reference/modulePreserve4.types +++ b/tests/baselines/reference/modulePreserve4.types @@ -200,8 +200,8 @@ d3.default(); > : ^^^^^^^^^^ import e1 from "./e.mjs"; // 0 ->e1 : any -> : ^^^ +>e1 : 0 +> : ^ import e2 = require("./e.mjs"); // 0 >e2 : 0 @@ -313,8 +313,8 @@ import d2 = require("./d"); // [Function: default] > : ^^^^^^^^^^ import e1 from "./e.mjs"; // 0 ->e1 : any -> : ^^^ +>e1 : 0 +> : ^ import e2 = require("./e.mjs"); // 0 >e2 : 0 diff --git a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirective.trace.json b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirective.trace.json index fbb8abbe1f25f..f52cf0d160e70 100644 --- a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirective.trace.json +++ b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirective.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'phaser' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'phaser' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -14,8 +13,6 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/typings/phaser/types/phaser.d.ts', result '/typings/phaser/types/phaser.d.ts'.", "======== Module name 'phaser' was successfully resolved to '/typings/phaser/types/phaser.d.ts' with Package ID 'phaser/types/phaser.d.ts@1.2.3'. ========", - "File '/typings/phaser/types/package.json' does not exist.", - "File '/typings/phaser/package.json' exists according to earlier cached lookups.", "======== Resolving type reference directive 'phaser', containing file '/__inferred type names__.ts', root directory '/typings'. ========", "Resolving with primary search path '/typings'.", "File '/typings/phaser.d.ts' does not exist.", @@ -25,8 +22,6 @@ "File '/typings/phaser/types/phaser.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/typings/phaser/types/phaser.d.ts', result '/typings/phaser/types/phaser.d.ts'.", "======== Type reference directive 'phaser' was successfully resolved to '/typings/phaser/types/phaser.d.ts' with Package ID 'phaser/types/phaser.d.ts@1.2.3', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -37,8 +32,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +42,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +52,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +62,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -85,8 +72,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -96,7 +81,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveAmbient.trace.json b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveAmbient.trace.json index fbb8abbe1f25f..f52cf0d160e70 100644 --- a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveAmbient.trace.json +++ b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveAmbient.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'phaser' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'phaser' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -14,8 +13,6 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/typings/phaser/types/phaser.d.ts', result '/typings/phaser/types/phaser.d.ts'.", "======== Module name 'phaser' was successfully resolved to '/typings/phaser/types/phaser.d.ts' with Package ID 'phaser/types/phaser.d.ts@1.2.3'. ========", - "File '/typings/phaser/types/package.json' does not exist.", - "File '/typings/phaser/package.json' exists according to earlier cached lookups.", "======== Resolving type reference directive 'phaser', containing file '/__inferred type names__.ts', root directory '/typings'. ========", "Resolving with primary search path '/typings'.", "File '/typings/phaser.d.ts' does not exist.", @@ -25,8 +22,6 @@ "File '/typings/phaser/types/phaser.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/typings/phaser/types/phaser.d.ts', result '/typings/phaser/types/phaser.d.ts'.", "======== Type reference directive 'phaser' was successfully resolved to '/typings/phaser/types/phaser.d.ts' with Package ID 'phaser/types/phaser.d.ts@1.2.3', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -37,8 +32,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +42,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +52,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +62,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -85,8 +72,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -96,7 +81,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveScoped.trace.json b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveScoped.trace.json index c62975267eaf3..ed79e4de039ff 100644 --- a/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveScoped.trace.json +++ b/tests/baselines/reference/moduleResolutionAsTypeReferenceDirectiveScoped.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module '@scoped/typescache' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module '@scoped/typescache' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,21 +72,6 @@ "File '/a/node_modules/@types/mangled__attypescache/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/node_modules/@types/mangled__attypescache/index.d.ts', result '/a/node_modules/@types/mangled__attypescache/index.d.ts'.", "======== Module name '@mangled/attypescache' was successfully resolved to '/a/node_modules/@types/mangled__attypescache/index.d.ts'. ========", - "File '/a/types/@scoped/typescache/package.json' does not exist according to earlier cached lookups.", - "File '/a/types/@scoped/package.json' does not exist.", - "File '/a/types/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/a/node_modules/@scoped/nodemodulescache/package.json' does not exist according to earlier cached lookups.", - "File '/a/node_modules/@scoped/package.json' does not exist.", - "File '/a/node_modules/package.json' does not exist.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/a/node_modules/@types/mangled__attypescache/package.json' does not exist according to earlier cached lookups.", - "File '/a/node_modules/@types/package.json' does not exist.", - "File '/a/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'dummy', containing file '/__inferred type names__.ts', root directory '/a/types,/a/node_modules,/a/node_modules/@types'. ========", "Resolving with primary search path '/a/types, /a/node_modules, /a/node_modules/@types'.", "File '/a/types/dummy.d.ts' does not exist.", @@ -95,12 +79,6 @@ "File '/a/types/dummy/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/types/dummy/index.d.ts', result '/a/types/dummy/index.d.ts'.", "======== Type reference directive 'dummy' was successfully resolved to '/a/types/dummy/index.d.ts', primary: true. ========", - "File '/a/types/dummy/package.json' does not exist according to earlier cached lookups.", - "File '/a/types/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -111,8 +89,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -123,8 +99,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -135,8 +109,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -147,8 +119,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -159,8 +129,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -170,7 +138,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json b/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json index 3127ed46095ac..60d21c691f2a4 100644 --- a/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json +++ b/tests/baselines/reference/moduleResolutionPackageIdWithRelativeAndAbsolutePath.trace.json @@ -1,7 +1,4 @@ [ - "File '/project/src/package.json' does not exist.", - "File '/project/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'anotherLib' from '/project/src/app.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/project', using this value to resolve non-relative module name 'anotherLib'.", @@ -36,10 +33,6 @@ "File '/shared/lib/app.tsx' does not exist.", "File '/shared/lib/app.d.ts' exists - use it as a name resolution result.", "======== Module name '@shared/lib/app' was successfully resolved to '/shared/lib/app.d.ts'. ========", - "File '/project/node_modules/anotherLib/package.json' does not exist according to earlier cached lookups.", - "File '/project/node_modules/package.json' does not exist.", - "File '/project/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'troublesome-lib/lib/Compactable' from '/project/node_modules/anotherLib/index.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/project', using this value to resolve non-relative module name 'troublesome-lib/lib/Compactable'.", @@ -58,8 +51,6 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/project/node_modules/troublesome-lib/lib/Compactable.d.ts', result '/project/node_modules/troublesome-lib/lib/Compactable.d.ts'.", "======== Module name 'troublesome-lib/lib/Compactable' was successfully resolved to '/project/node_modules/troublesome-lib/lib/Compactable.d.ts' with Package ID 'troublesome-lib/lib/Compactable.d.ts@1.17.1'. ========", - "File '/project/node_modules/troublesome-lib/lib/package.json' does not exist.", - "File '/project/node_modules/troublesome-lib/package.json' exists according to earlier cached lookups.", "======== Resolving module './Option' from '/project/node_modules/troublesome-lib/lib/Compactable.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/project/node_modules/troublesome-lib/lib/Option', target file types: TypeScript, Declaration.", @@ -68,11 +59,6 @@ "File '/project/node_modules/troublesome-lib/lib/Option.d.ts' exists - use it as a name resolution result.", "File '/project/node_modules/troublesome-lib/package.json' exists according to earlier cached lookups.", "======== Module name './Option' was successfully resolved to '/project/node_modules/troublesome-lib/lib/Option.d.ts' with Package ID 'troublesome-lib/lib/Option.d.ts@1.17.1'. ========", - "File '/project/node_modules/troublesome-lib/lib/package.json' does not exist according to earlier cached lookups.", - "File '/project/node_modules/troublesome-lib/package.json' exists according to earlier cached lookups.", - "File '/shared/lib/package.json' does not exist.", - "File '/shared/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'troublesome-lib/lib/Option' from '/shared/lib/app.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/project', using this value to resolve non-relative module name 'troublesome-lib/lib/Option'.", @@ -91,10 +77,6 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/shared/node_modules/troublesome-lib/lib/Option.d.ts', result '/shared/node_modules/troublesome-lib/lib/Option.d.ts'.", "======== Module name 'troublesome-lib/lib/Option' was successfully resolved to '/shared/node_modules/troublesome-lib/lib/Option.d.ts' with Package ID 'troublesome-lib/lib/Option.d.ts@1.17.1'. ========", - "File '/shared/node_modules/troublesome-lib/lib/package.json' does not exist.", - "File '/shared/node_modules/troublesome-lib/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/project/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -107,8 +89,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/project/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -121,8 +101,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/project/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -135,8 +113,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/project/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -149,8 +125,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/project/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -163,8 +137,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/project/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -176,7 +148,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithExtensions.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions.trace.json index e7c0c22df7f3c..b2f074edc2056 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions.trace.json @@ -1,25 +1,15 @@ [ - "File '/src/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/src/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './a' from '/src/b.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/src/a', target file types: TypeScript, Declaration.", "File '/src/a.ts' exists - use it as a name resolution result.", "======== Module name './a' was successfully resolved to '/src/a.ts'. ========", - "File '/src/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './a.js' from '/src/d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/src/a.js', target file types: TypeScript, Declaration.", "File name '/src/a.js' has a '.js' extension - stripping it.", "File '/src/a.ts' exists - use it as a name resolution result.", "======== Module name './a.js' was successfully resolved to '/src/a.ts'. ========", - "File '/src/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/src/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './jquery.js' from '/src/jquery_user_1.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/src/jquery.js', target file types: TypeScript, Declaration.", @@ -28,8 +18,6 @@ "File '/src/jquery.tsx' does not exist.", "File '/src/jquery.d.ts' exists - use it as a name resolution result.", "======== Module name './jquery.js' was successfully resolved to '/src/jquery.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -43,8 +31,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +44,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +57,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -88,8 +70,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -103,8 +83,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -117,7 +95,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported.trace.json index bff9f94ba12b6..d019eb14cb9f1 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './tsx' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/tsx', target file types: TypeScript, Declaration.", @@ -27,8 +26,6 @@ "Loading module as file / folder, candidate module location '/js', target file types: JavaScript.", "File '/js.js' exists - use it as a name resolution result.", "======== Module name './js' was successfully resolved to '/js.js'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -42,8 +39,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -57,8 +52,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -72,8 +65,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -87,8 +78,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -102,8 +91,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -116,7 +103,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported2.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported2.trace.json index 44d0ab3175945..2d98099a28f19 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported2.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported2.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './jsx' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/jsx', target file types: TypeScript, Declaration.", @@ -11,8 +10,6 @@ "File '/jsx.js' does not exist.", "File '/jsx.jsx' exists - use it as a name resolution result.", "======== Module name './jsx' was successfully resolved to '/jsx.jsx'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -26,8 +23,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -41,8 +36,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -56,8 +49,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -71,8 +62,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -86,8 +75,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -100,7 +87,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported3.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported3.trace.json index 44d0ab3175945..2d98099a28f19 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_notSupported3.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_notSupported3.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './jsx' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/jsx', target file types: TypeScript, Declaration.", @@ -11,8 +10,6 @@ "File '/jsx.js' does not exist.", "File '/jsx.jsx' exists - use it as a name resolution result.", "======== Module name './jsx' was successfully resolved to '/jsx.jsx'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -26,8 +23,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -41,8 +36,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -56,8 +49,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -71,8 +62,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -86,8 +75,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -100,7 +87,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json index e17b43c5c66b3..3a1310358ecb5 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'normalize.css' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'normalize.css' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -70,8 +69,6 @@ "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "File name '/node_modules/@types/normalize.css' has a '.css' extension - stripping it.", "======== Module name 'normalize.css' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -84,8 +81,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -98,8 +93,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -112,8 +105,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -126,8 +117,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -140,8 +129,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -153,7 +140,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json index 0aaf68af6cb44..824c82941bcc0 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -63,8 +62,6 @@ "File '/node_modules/foo/index.d.ts' does not exist.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "======== Module name 'foo' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,8 +74,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +86,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -105,8 +98,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -119,8 +110,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -133,8 +122,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -146,7 +133,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_withAmbientPresent.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_withAmbientPresent.trace.json index a9ab2e9baa0cd..0137a3b261791 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_withAmbientPresent.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_withAmbientPresent.trace.json @@ -1,6 +1,4 @@ [ - "File '/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'js' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'js' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -21,8 +19,6 @@ "File '/node_modules/js/index.js' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/js/index.js', result '/node_modules/js/index.js'.", "======== Module name 'js' was successfully resolved to '/node_modules/js/index.js'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -35,8 +31,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +43,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -63,8 +55,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,8 +67,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +79,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,7 +90,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_withPaths.trace.json b/tests/baselines/reference/moduleResolutionWithExtensions_withPaths.trace.json index d354aafc93266..f576bfff8635a 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_withPaths.trace.json +++ b/tests/baselines/reference/moduleResolutionWithExtensions_withPaths.trace.json @@ -1,6 +1,4 @@ [ - "File '/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo/test.js' from '/test.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo/test.js'.", @@ -43,12 +41,6 @@ "File '/relative.tsx' does not exist.", "File '/relative.d.ts' exists - use it as a name resolution result.", "======== Module name './relative' was successfully resolved to '/relative.d.ts'. ========", - "File '/node_modules/foo/lib/package.json' does not exist.", - "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015' from '/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +50,6 @@ "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es2015' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +59,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -80,8 +68,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +77,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/core' from '/__lib_node_modules_lookup_lib.es2015.core.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -102,8 +86,6 @@ "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es2015/core' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/collection' from '/__lib_node_modules_lookup_lib.es2015.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -113,8 +95,6 @@ "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es2015/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/iterable' from '/__lib_node_modules_lookup_lib.es2015.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -124,8 +104,6 @@ "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es2015/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol' from '/__lib_node_modules_lookup_lib.es2015.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -135,8 +113,6 @@ "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es2015/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/generator' from '/__lib_node_modules_lookup_lib.es2015.generator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -146,8 +122,6 @@ "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es2015/generator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/promise' from '/__lib_node_modules_lookup_lib.es2015.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -157,8 +131,6 @@ "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es2015/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/proxy' from '/__lib_node_modules_lookup_lib.es2015.proxy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -168,8 +140,6 @@ "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es2015/proxy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/reflect' from '/__lib_node_modules_lookup_lib.es2015.reflect.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -179,8 +149,6 @@ "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es2015/reflect' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol-wellknown' from '/__lib_node_modules_lookup_lib.es2015.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -190,8 +158,6 @@ "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -201,8 +167,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -212,8 +176,6 @@ "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -223,8 +185,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -233,7 +193,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithRequire.trace.json b/tests/baselines/reference/moduleResolutionWithRequire.trace.json index e0c394afe7d4d..9092829302e64 100644 --- a/tests/baselines/reference/moduleResolutionWithRequire.trace.json +++ b/tests/baselines/reference/moduleResolutionWithRequire.trace.json @@ -1,7 +1,4 @@ [ - "File '/package.json' does not exist.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -15,8 +12,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -30,8 +25,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -45,8 +38,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -60,8 +51,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -75,8 +64,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -89,7 +76,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithRequireAndImport.trace.json b/tests/baselines/reference/moduleResolutionWithRequireAndImport.trace.json index df392e07434f3..43aa769eac31c 100644 --- a/tests/baselines/reference/moduleResolutionWithRequireAndImport.trace.json +++ b/tests/baselines/reference/moduleResolutionWithRequireAndImport.trace.json @@ -1,13 +1,9 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './other' from '/index.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/other', target file types: TypeScript, Declaration.", "File '/other.ts' exists - use it as a name resolution result.", "======== Module name './other' was successfully resolved to '/other.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -21,8 +17,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -36,8 +30,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -51,8 +43,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -66,8 +56,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -81,8 +69,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -95,7 +81,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_empty.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_empty.trace.json index 05d60eaa52b2d..8f7f02beaea36 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_empty.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_empty.trace.json @@ -1,13 +1,9 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './foo' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", "File '/foo.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -18,8 +14,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -30,8 +24,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -42,8 +34,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -54,8 +44,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -66,8 +54,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,7 +63,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_notSpecified.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_notSpecified.trace.json index 05d60eaa52b2d..8f7f02beaea36 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_notSpecified.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_notSpecified.trace.json @@ -1,13 +1,9 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './foo' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", "File '/foo.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -18,8 +14,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -30,8 +24,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -42,8 +34,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -54,8 +44,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -66,8 +54,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,7 +63,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_one.trace.json index 3861548e2cf86..8946291f8d030 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one.trace.json @@ -1,14 +1,9 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './foo' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", "File '/foo.ios.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo.ios.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -19,8 +14,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -31,8 +24,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -43,8 +34,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -55,8 +44,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -67,8 +54,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -78,7 +63,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_oneBlank.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_oneBlank.trace.json index 05d60eaa52b2d..8f7f02beaea36 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_oneBlank.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_oneBlank.trace.json @@ -1,13 +1,9 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './foo' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", "File '/foo.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -18,8 +14,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -30,8 +24,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -42,8 +34,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -54,8 +44,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -66,8 +54,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,7 +63,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_oneNotFound.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_oneNotFound.trace.json index 7e270d24b8e58..3d5a40fb3f02c 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_oneNotFound.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_oneNotFound.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './foo' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", @@ -12,9 +11,6 @@ "File '/foo.ios.jsx' does not exist.", "Directory '/foo' does not exist, skipping all lookups in it.", "======== Module name './foo' was not resolved. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -25,8 +21,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -37,8 +31,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +41,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +51,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +61,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -84,7 +70,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_dirModuleWithIndex.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_one_dirModuleWithIndex.trace.json index cb19463f299cc..6fd66a048fdcc 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_dirModuleWithIndex.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_dirModuleWithIndex.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './foo' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", @@ -9,12 +8,6 @@ "File '/foo/package.json' does not exist.", "File '/foo/index.ios.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo/index.ios.ts'. ========", - "File '/foo/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/foo/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -25,8 +18,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -37,8 +28,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +38,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +48,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +58,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -84,7 +67,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule.trace.json index 510d1b6e78d08..963e9da2855f1 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'some-library' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'some-library' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -13,11 +12,6 @@ "File '/node_modules/some-library/index.ios.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/some-library/index.ios.d.ts', result '/node_modules/some-library/index.ios.d.ts'.", "======== Module name 'some-library' was successfully resolved to '/node_modules/some-library/index.ios.d.ts'. ========", - "File '/node_modules/some-library/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -27,8 +21,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -38,8 +30,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +39,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -60,8 +48,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -71,8 +57,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -81,7 +65,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModulePath.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModulePath.trace.json index a859834fed75f..a2b9fe5bb60a0 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModulePath.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModulePath.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'some-library/foo' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'some-library/foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -10,11 +9,6 @@ "File '/node_modules/some-library/foo.ios.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/some-library/foo.ios.d.ts', result '/node_modules/some-library/foo.ios.d.ts'.", "======== Module name 'some-library/foo' was successfully resolved to '/node_modules/some-library/foo.ios.d.ts'. ========", - "File '/node_modules/some-library/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -24,8 +18,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -35,8 +27,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,8 +36,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -57,8 +45,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -68,8 +54,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -78,7 +62,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule_withPaths.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule_withPaths.trace.json index 0c7679fb1bb77..7ef2a6e23a1d2 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule_withPaths.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalModule_withPaths.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'some-library' from '/test.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'some-library'.", @@ -43,12 +42,6 @@ "File '/node_modules/some-library/package.json' does not exist according to earlier cached lookups.", "Resolving real path for '/node_modules/some-library/lib/index.ios.d.ts', result '/node_modules/some-library/lib/index.ios.d.ts'.", "======== Module name 'some-library/index.js' was successfully resolved to '/node_modules/some-library/lib/index.ios.d.ts'. ========", - "File '/node_modules/some-library/lib/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/some-library/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +51,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +60,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -80,8 +69,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +78,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -102,8 +87,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -112,7 +95,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalTSModule.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalTSModule.trace.json index 8be1462a21e41..0290900258f6e 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalTSModule.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_externalTSModule.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'some-library' from '/test.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'some-library' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -11,11 +10,6 @@ "File '/node_modules/some-library/index.ios.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/some-library/index.ios.ts', result '/node_modules/some-library/index.ios.ts'.", "======== Module name 'some-library' was successfully resolved to '/node_modules/some-library/index.ios.ts'. ========", - "File '/node_modules/some-library/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -25,8 +19,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -36,8 +28,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -47,8 +37,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +46,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +55,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -79,7 +63,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsModule.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsModule.trace.json index f69f28f86ccc1..d0821b52bead3 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsModule.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsModule.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './foo.js' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/foo.js', target file types: TypeScript, Declaration.", @@ -15,10 +14,6 @@ "File name '/foo.js' has a '.js' extension - stripping it.", "File '/foo.ios.js' exists - use it as a name resolution result.", "======== Module name './foo.js' was successfully resolved to '/foo.ios.js'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -29,8 +24,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -41,8 +34,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -53,8 +44,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -65,8 +54,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,8 +64,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -88,7 +73,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsonModule.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsonModule.trace.json index 099a025b2f62c..469f7a6c46361 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsonModule.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_one_jsonModule.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './foo.json' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/foo.json', target file types: TypeScript, Declaration.", @@ -13,8 +12,6 @@ "File name '/foo.json' has a '.json' extension - stripping it.", "File '/foo.ios.json' exists - use it as a name resolution result.", "======== Module name './foo.json' was successfully resolved to '/foo.ios.json'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -25,8 +22,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -37,8 +32,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +42,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +52,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +62,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -84,7 +71,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank1.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank1.trace.json index 5ee5b1320aa43..c61525f6f021a 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank1.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank1.trace.json @@ -1,15 +1,9 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './foo' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", "File '/foo-ios.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo-ios.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -20,8 +14,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -32,8 +24,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -44,8 +34,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -56,8 +44,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -68,8 +54,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -79,7 +63,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank2.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank2.trace.json index 57170d60aaa16..b2211dfd75609 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank2.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank2.trace.json @@ -1,15 +1,10 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './foo' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", "File '/foo-ios.ts' does not exist.", "File '/foo__native.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo__native.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -20,8 +15,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -32,8 +25,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -44,8 +35,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -56,8 +45,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -68,8 +55,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -79,7 +64,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank3.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank3.trace.json index 034d49b589df7..86eb088322240 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank3.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank3.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './foo' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", @@ -7,9 +6,6 @@ "File '/foo__native.ts' does not exist.", "File '/foo.ts' exists - use it as a name resolution result.", "======== Module name './foo' was successfully resolved to '/foo.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -20,8 +16,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -32,8 +26,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -44,8 +36,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -56,8 +46,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -68,8 +56,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -79,7 +65,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank4.trace.json b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank4.trace.json index e216e8592297d..355c103ae4fa9 100644 --- a/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank4.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSuffixes_threeLastIsBlank4.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './foo' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location '/foo', target file types: TypeScript, Declaration.", @@ -22,8 +21,6 @@ "File '/foo.jsx' does not exist.", "Directory '/foo' does not exist, skipping all lookups in it.", "======== Module name './foo' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -34,8 +31,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,8 +41,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +51,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -70,8 +61,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -82,8 +71,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -93,7 +80,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks.trace.json b/tests/baselines/reference/moduleResolutionWithSymlinks.trace.json index b2724f8dd2f20..d717a732e0266 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks.trace.json @@ -1,6 +1,4 @@ [ - "File '/src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module './library-a' from '/src/app.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/src/library-a', target file types: TypeScript, Declaration.", @@ -19,12 +17,6 @@ "File '/src/library-b/package.json' does not exist.", "File '/src/library-b/index.ts' exists - use it as a name resolution result.", "======== Module name './library-b' was successfully resolved to '/src/library-b/index.ts'. ========", - "File '/src/library-a/package.json' does not exist according to earlier cached lookups.", - "File '/src/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/src/library-b/package.json' does not exist according to earlier cached lookups.", - "File '/src/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'library-a' from '/src/library-b/index.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'library-a' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -36,8 +28,6 @@ "File '/src/library-b/node_modules/library-a/index.ts' exists - use it as a name resolution result.", "Resolving real path for '/src/library-b/node_modules/library-a/index.ts', result '/src/library-a/index.ts'.", "======== Module name 'library-a' was successfully resolved to '/src/library-a/index.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -51,8 +41,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -66,8 +54,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -81,8 +67,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -96,8 +80,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -111,8 +93,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -125,7 +105,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks_notInNodeModules.trace.json b/tests/baselines/reference/moduleResolutionWithSymlinks_notInNodeModules.trace.json index b69d29aed20e5..ec59557b23985 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_notInNodeModules.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_notInNodeModules.trace.json @@ -1,6 +1,4 @@ [ - "File '/src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module './shared/abc' from '/src/app.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/src/shared/abc', target file types: TypeScript, Declaration.", @@ -11,14 +9,6 @@ "Loading module as file / folder, candidate module location '/src/shared2/abc', target file types: TypeScript, Declaration.", "File '/src/shared2/abc.ts' exists - use it as a name resolution result.", "======== Module name './shared2/abc' was successfully resolved to '/src/shared2/abc.ts'. ========", - "File '/src/shared/package.json' does not exist.", - "File '/src/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/src/shared2/package.json' does not exist.", - "File '/src/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -32,8 +22,6 @@ "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -47,8 +35,6 @@ "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -62,8 +48,6 @@ "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,8 +61,6 @@ "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,8 +74,6 @@ "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -106,7 +86,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json b/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json index 1eabfa9938ee6..5d604e79fbf97 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_preserveSymlinks.trace.json @@ -1,6 +1,4 @@ [ - "File '/app/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving type reference directive 'linked', containing file '/app/app.ts', root directory '/.src/node_modules/@types,/node_modules/@types'. ========", "Resolving with primary search path '/.src/node_modules/@types, /node_modules/@types'.", "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", @@ -11,10 +9,6 @@ "File '/app/node_modules/linked.d.ts' does not exist.", "File '/app/node_modules/linked/index.d.ts' exists - use it as a name resolution result.", "======== Type reference directive 'linked' was successfully resolved to '/app/node_modules/linked/index.d.ts', primary: false. ========", - "File '/app/node_modules/linked/package.json' does not exist according to earlier cached lookups.", - "File '/app/node_modules/package.json' does not exist.", - "File '/app/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'real' from '/app/node_modules/linked/index.d.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'real' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -28,10 +22,6 @@ "File '/app/node_modules/real/index.tsx' does not exist.", "File '/app/node_modules/real/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'real' was successfully resolved to '/app/node_modules/real/index.d.ts'. ========", - "File '/app/node_modules/real/package.json' does not exist according to earlier cached lookups.", - "File '/app/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/app/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'linked' from '/app/app.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'linked' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -56,10 +46,6 @@ "File '/app/node_modules/linked2/index.tsx' does not exist.", "File '/app/node_modules/linked2/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'linked2' was successfully resolved to '/app/node_modules/linked2/index.d.ts'. ========", - "File '/app/node_modules/linked2/package.json' does not exist according to earlier cached lookups.", - "File '/app/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/app/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'real' from '/app/node_modules/linked2/index.d.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'real' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +59,6 @@ "File '/app/node_modules/real/index.tsx' does not exist.", "File '/app/node_modules/real/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'real' was successfully resolved to '/app/node_modules/real/index.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -88,8 +72,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -103,8 +85,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -118,8 +98,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -133,8 +111,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -148,8 +124,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -162,7 +136,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.trace.json b/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.trace.json index 42be1b880d500..74f2d01acf798 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive 'library-a', containing file '/app.ts', root directory ''. ========", "Root directory cannot be determined, skipping primary search paths.", "Looking up in 'node_modules' folder, initial location '/'.", @@ -20,14 +19,6 @@ "File '/node_modules/@types/library-b/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/library-b/index.d.ts', result '/node_modules/@types/library-b/index.d.ts'.", "======== Type reference directive 'library-b' was successfully resolved to '/node_modules/@types/library-b/index.d.ts', primary: false. ========", - "File '/node_modules/@types/library-a/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/library-b/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'library-a', containing file '/node_modules/@types/library-b/index.d.ts', root directory ''. ========", "Root directory cannot be determined, skipping primary search paths.", "Looking up in 'node_modules' folder, initial location '/node_modules/@types/library-b'.", @@ -38,8 +29,6 @@ "File '/node_modules/@types/library-b/node_modules/@types/library-a/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/library-b/node_modules/@types/library-a/index.d.ts', result '/node_modules/@types/library-a/index.d.ts'.", "======== Type reference directive 'library-a' was successfully resolved to '/node_modules/@types/library-a/index.d.ts', primary: false. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +38,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -60,8 +47,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -70,8 +55,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -81,8 +64,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +72,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -101,7 +80,5 @@ "File '/node_modules/@types/typescript__lib-scripthost.d.ts' does not exist.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks_withOutDir.trace.json b/tests/baselines/reference/moduleResolutionWithSymlinks_withOutDir.trace.json index b2724f8dd2f20..d717a732e0266 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_withOutDir.trace.json +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_withOutDir.trace.json @@ -1,6 +1,4 @@ [ - "File '/src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module './library-a' from '/src/app.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/src/library-a', target file types: TypeScript, Declaration.", @@ -19,12 +17,6 @@ "File '/src/library-b/package.json' does not exist.", "File '/src/library-b/index.ts' exists - use it as a name resolution result.", "======== Module name './library-b' was successfully resolved to '/src/library-b/index.ts'. ========", - "File '/src/library-a/package.json' does not exist according to earlier cached lookups.", - "File '/src/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/src/library-b/package.json' does not exist according to earlier cached lookups.", - "File '/src/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'library-a' from '/src/library-b/index.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'library-a' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -36,8 +28,6 @@ "File '/src/library-b/node_modules/library-a/index.ts' exists - use it as a name resolution result.", "Resolving real path for '/src/library-b/node_modules/library-a/index.ts', result '/src/library-a/index.ts'.", "======== Module name 'library-a' was successfully resolved to '/src/library-a/index.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -51,8 +41,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -66,8 +54,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -81,8 +67,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -96,8 +80,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -111,8 +93,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -125,7 +105,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json index b0644ca6d464e..c93269a91d01b 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'foo/bar' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'foo/bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -14,9 +13,6 @@ "File '/node_modules/foo/bar/types.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/bar/types.d.ts', result '/node_modules/foo/bar/types.d.ts'.", "======== Module name 'foo/bar' was successfully resolved to '/node_modules/foo/bar/types.d.ts'. ========", - "File '/node_modules/foo/bar/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -29,8 +25,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -43,8 +37,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -57,8 +49,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -71,8 +61,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -85,8 +73,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -98,7 +84,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json index cf89cd38dd6fd..318f6634cebd5 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_notAtPackageRoot_fakeScopedPackage.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'foo/@bar' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'foo/@bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -14,9 +13,6 @@ "File '/node_modules/foo/@bar/types.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/foo/@bar/types.d.ts', result '/node_modules/foo/@bar/types.d.ts'.", "======== Module name 'foo/@bar' was successfully resolved to '/node_modules/foo/@bar/types.d.ts'. ========", - "File '/node_modules/foo/@bar/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -29,8 +25,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -43,8 +37,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -57,8 +49,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -71,8 +61,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -85,8 +73,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -98,7 +84,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json b/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json index ba95e72fe0682..4d9fcc026a3f9 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_scopedPackage.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module '@foo/bar' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module '@foo/bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -14,9 +13,6 @@ "File '/node_modules/@foo/bar/types.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@foo/bar/types.d.ts', result '/node_modules/@foo/bar/types.d.ts'.", "======== Module name '@foo/bar' was successfully resolved to '/node_modules/@foo/bar/types.d.ts'. ========", - "File '/node_modules/@foo/bar/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -29,8 +25,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -43,8 +37,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -57,8 +49,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -71,8 +61,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -85,8 +73,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -98,7 +84,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot.trace.json b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot.trace.json index 6c88f7d936280..83436d6f28bb3 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'foo/bar' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'foo/bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +60,6 @@ "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "Resolving real path for '/node_modules/foo/bar/index.js', result '/node_modules/foo/bar/index.js'.", "======== Module name 'foo/bar' was successfully resolved to '/node_modules/foo/bar/index.js' with Package ID 'foo/bar/index.js@1.2.3'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -75,8 +72,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -89,8 +84,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -103,8 +96,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -117,8 +108,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -131,8 +120,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -144,7 +131,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_fakeScopedPackage.trace.json b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_fakeScopedPackage.trace.json index 12a0d4a5781bf..6595986f256c1 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_fakeScopedPackage.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_fakeScopedPackage.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'foo/@bar' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'foo/@bar' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +60,6 @@ "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "Resolving real path for '/node_modules/foo/@bar/index.js', result '/node_modules/foo/@bar/index.js'.", "======== Module name 'foo/@bar' was successfully resolved to '/node_modules/foo/@bar/index.js' with Package ID 'foo/@bar/index.js@1.2.3'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -75,8 +72,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -89,8 +84,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -103,8 +96,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -117,8 +108,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -131,8 +120,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -144,7 +131,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json index 0f299bf7374a6..38be533dde0a8 100644 --- a/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json +++ b/tests/baselines/reference/moduleResolution_packageJson_yesAtPackageRoot_mainFieldInSubDirectory.trace.json @@ -1,12 +1,9 @@ [ - "File '/node_modules/foo/src/package.json' does not exist.", - "Found 'package.json' at '/node_modules/foo/package.json'.", - "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/index.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/foo/package.json'.", "File '/node_modules/foo.ts' does not exist.", "File '/node_modules/foo.tsx' does not exist.", "File '/node_modules/foo.d.ts' does not exist.", @@ -21,8 +18,6 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/node_modules/foo/src/index.d.ts', result '/node_modules/foo/src/index.d.ts'.", "======== Module name 'foo' was successfully resolved to '/node_modules/foo/src/index.d.ts' with Package ID 'foo/src/index.d.ts@1.2.3'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -35,8 +30,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +42,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -63,8 +54,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,8 +66,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +78,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,7 +89,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=bundler).trace.json b/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=bundler).trace.json index 08fb235a099a7..7fc8b8ccbdea9 100644 --- a/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=bundler).trace.json +++ b/tests/baselines/reference/nestedPackageJsonRedirect(moduleresolution=bundler).trace.json @@ -1,15 +1,12 @@ [ - "File '/node_modules/@restart/hooks/esm/package.json' does not exist.", - "Found 'package.json' at '/node_modules/@restart/hooks/package.json'.", - "File '/package.json' does not exist.", "======== Resolving module '@restart/hooks/useMergedRefs' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'require', 'types'.", - "File '/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist.", "Loading module '@restart/hooks/useMergedRefs' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "Found 'package.json' at '/node_modules/@restart/hooks/useMergedRefs/package.json'.", - "File '/node_modules/@restart/hooks/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/@restart/hooks/package.json'.", "File '/node_modules/@restart/hooks/useMergedRefs.ts' does not exist.", "File '/node_modules/@restart/hooks/useMergedRefs.tsx' does not exist.", "File '/node_modules/@restart/hooks/useMergedRefs.d.ts' does not exist.", @@ -19,8 +16,6 @@ "File '/node_modules/@restart/hooks/esm/useMergedRefs.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@restart/hooks/esm/useMergedRefs.d.ts', result '/node_modules/@restart/hooks/esm/useMergedRefs.d.ts'.", "======== Module name '@restart/hooks/useMergedRefs' was successfully resolved to '/node_modules/@restart/hooks/esm/useMergedRefs.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -33,8 +28,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -47,8 +40,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +52,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -75,8 +64,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -89,8 +76,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -102,7 +87,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/node10AlternateResult_noResolution.trace.json b/tests/baselines/reference/node10AlternateResult_noResolution.trace.json index d54cc9c9c1c8b..e008fb57d8a98 100644 --- a/tests/baselines/reference/node10AlternateResult_noResolution.trace.json +++ b/tests/baselines/reference/node10AlternateResult_noResolution.trace.json @@ -1,11 +1,9 @@ [ - "Found 'package.json' at '/node_modules/pkg/package.json'.", - "File '/package.json' does not exist.", "======== Resolving module 'pkg' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'pkg' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/pkg/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/pkg/package.json'.", "File '/node_modules/pkg.ts' does not exist.", "File '/node_modules/pkg.tsx' does not exist.", "File '/node_modules/pkg.d.ts' does not exist.", @@ -36,8 +34,6 @@ "File '/node_modules/pkg/definitely-not-index.d.ts' exists - use it as a name resolution result.", "'package.json' does not have a 'peerDependencies' field.", "======== Module name 'pkg' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -50,8 +46,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +58,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -78,8 +70,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,8 +82,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -106,8 +94,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -119,7 +105,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/node10Alternateresult_noTypes.trace.json b/tests/baselines/reference/node10Alternateresult_noTypes.trace.json index 6edf8e3a9579d..3082c74ca526d 100644 --- a/tests/baselines/reference/node10Alternateresult_noTypes.trace.json +++ b/tests/baselines/reference/node10Alternateresult_noTypes.trace.json @@ -1,11 +1,9 @@ [ - "Found 'package.json' at '/node_modules/pkg/package.json'.", - "File '/package.json' does not exist.", "======== Resolving module 'pkg' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'pkg' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/pkg/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/pkg/package.json'.", "File '/node_modules/pkg.ts' does not exist.", "File '/node_modules/pkg.tsx' does not exist.", "File '/node_modules/pkg.d.ts' does not exist.", @@ -50,8 +48,6 @@ "File '/node_modules/pkg/definitely-not-index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/pkg/untyped.js', result '/node_modules/pkg/untyped.js'.", "======== Module name 'pkg' was successfully resolved to '/node_modules/pkg/untyped.js' with Package ID 'pkg/untyped.js@1.0.0'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +60,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -78,8 +72,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,8 +84,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -106,8 +96,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -120,8 +108,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -133,7 +119,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/node10IsNode_node.trace.json b/tests/baselines/reference/node10IsNode_node.trace.json index afd7e65960730..e95e7fef4cdfa 100644 --- a/tests/baselines/reference/node10IsNode_node.trace.json +++ b/tests/baselines/reference/node10IsNode_node.trace.json @@ -1,12 +1,9 @@ [ - "Found 'package.json' at '/node_modules/fancy-lib/package.json'.", - "File '/node_modules/fancy-lib/package.json' exists according to earlier cached lookups.", - "File '/package.json' does not exist.", "======== Resolving module 'fancy-lib' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'fancy-lib' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/fancy-lib/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/fancy-lib/package.json'.", "File '/node_modules/fancy-lib.ts' does not exist.", "File '/node_modules/fancy-lib.tsx' does not exist.", "File '/node_modules/fancy-lib.d.ts' does not exist.", @@ -21,8 +18,6 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/node_modules/fancy-lib/index.d.ts', result '/node_modules/fancy-lib/index.d.ts'.", "======== Module name 'fancy-lib' was successfully resolved to '/node_modules/fancy-lib/index.d.ts' with Package ID 'fancy-lib/index.d.ts@1.0.0'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -35,8 +30,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +42,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -63,8 +54,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,8 +66,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +78,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,7 +89,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/node10IsNode_node10.trace.json b/tests/baselines/reference/node10IsNode_node10.trace.json index afd7e65960730..e95e7fef4cdfa 100644 --- a/tests/baselines/reference/node10IsNode_node10.trace.json +++ b/tests/baselines/reference/node10IsNode_node10.trace.json @@ -1,12 +1,9 @@ [ - "Found 'package.json' at '/node_modules/fancy-lib/package.json'.", - "File '/node_modules/fancy-lib/package.json' exists according to earlier cached lookups.", - "File '/package.json' does not exist.", "======== Resolving module 'fancy-lib' from '/main.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module 'fancy-lib' from 'node_modules' folder, target file types: TypeScript, Declaration.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/fancy-lib/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/fancy-lib/package.json'.", "File '/node_modules/fancy-lib.ts' does not exist.", "File '/node_modules/fancy-lib.tsx' does not exist.", "File '/node_modules/fancy-lib.d.ts' does not exist.", @@ -21,8 +18,6 @@ "'package.json' does not have a 'peerDependencies' field.", "Resolving real path for '/node_modules/fancy-lib/index.d.ts', result '/node_modules/fancy-lib/index.d.ts'.", "======== Module name 'fancy-lib' was successfully resolved to '/node_modules/fancy-lib/index.d.ts' with Package ID 'fancy-lib/index.d.ts@1.0.0'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -35,8 +30,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +42,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -63,8 +54,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,8 +66,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +78,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,7 +89,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/nodeColonModuleResolution.trace.json b/tests/baselines/reference/nodeColonModuleResolution.trace.json index c5fa5f4e8813c..65af448d3ece3 100644 --- a/tests/baselines/reference/nodeColonModuleResolution.trace.json +++ b/tests/baselines/reference/nodeColonModuleResolution.trace.json @@ -1,21 +1,10 @@ [ - "File '/a/b/node_modules/@types/node/package.json' does not exist.", - "File '/a/b/node_modules/@types/package.json' does not exist.", - "File '/a/b/node_modules/package.json' does not exist.", - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", "Module 'ph' was resolved as locally declared ambient module in file '/a/b/node_modules/@types/node/ph.d.ts'.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'node:ph' from '/a/b/main.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Skipping module 'node:ph' that looks like an absolute URI, target file types: TypeScript, Declaration.", "Skipping module 'node:ph' that looks like an absolute URI, target file types: JavaScript.", "======== Module name 'node:ph' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -29,8 +18,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -44,8 +31,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -59,8 +44,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -74,8 +57,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -89,8 +70,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -103,7 +82,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/nodeColonModuleResolution2.trace.json b/tests/baselines/reference/nodeColonModuleResolution2.trace.json index eb7b797fc446e..08083bc9c8440 100644 --- a/tests/baselines/reference/nodeColonModuleResolution2.trace.json +++ b/tests/baselines/reference/nodeColonModuleResolution2.trace.json @@ -1,7 +1,4 @@ [ - "File '/a/b/package.json' does not exist.", - "File '/a/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'fake:thing' from '/a/b/main.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "'paths' option is specified, looking for a pattern to match module name 'fake:thing'.", @@ -17,14 +14,6 @@ "File '/a/b/node_modules/fake/thing/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/a/b/node_modules/fake/thing/index.d.ts', result '/a/b/node_modules/fake/thing/index.d.ts'.", "======== Module name 'fake:thing' was successfully resolved to '/a/b/node_modules/fake/thing/index.d.ts'. ========", - "File '/a/b/node_modules/fake/thing/package.json' does not exist according to earlier cached lookups.", - "File '/a/b/node_modules/fake/package.json' does not exist.", - "File '/a/b/node_modules/package.json' does not exist.", - "File '/a/b/package.json' does not exist according to earlier cached lookups.", - "File '/a/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/a/b/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -40,8 +29,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/a/b/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -57,8 +44,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/a/b/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -74,8 +59,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/a/b/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +74,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/a/b/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -108,8 +89,6 @@ "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/a/b/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -124,7 +103,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/a/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/packageJsonMain.trace.json b/tests/baselines/reference/packageJsonMain.trace.json index 31735ac8a7d1a..7a5ae1bf7af59 100644 --- a/tests/baselines/reference/packageJsonMain.trace.json +++ b/tests/baselines/reference/packageJsonMain.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -172,8 +171,6 @@ "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "Resolving real path for '/node_modules/baz/zab/index.js', result '/node_modules/baz/zab/index.js'.", "======== Module name 'baz' was successfully resolved to '/node_modules/baz/zab/index.js'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -183,8 +180,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -194,8 +189,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -205,8 +198,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -216,8 +207,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -227,8 +216,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -237,7 +224,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/packageJsonMain_isNonRecursive.trace.json b/tests/baselines/reference/packageJsonMain_isNonRecursive.trace.json index bce9f60e3923e..1b4d806fee202 100644 --- a/tests/baselines/reference/packageJsonMain_isNonRecursive.trace.json +++ b/tests/baselines/reference/packageJsonMain_isNonRecursive.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +57,6 @@ "File '/node_modules/foo/index.d.ts' does not exist.", "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "======== Module name 'foo' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +66,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -80,8 +75,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +84,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -102,8 +93,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -113,8 +102,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -123,7 +110,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution1_amd.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution1_amd.trace.json index 03e9bfb2e8fb7..363eb11f29b70 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution1_amd.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution1_amd.trace.json @@ -1,8 +1,4 @@ [ - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -16,8 +12,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from 'c:/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -31,8 +25,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from 'c:/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,8 +38,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from 'c:/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +51,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from 'c:/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +64,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from 'c:/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -90,7 +76,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution1_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution1_node.trace.json index 03e9bfb2e8fb7..363eb11f29b70 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution1_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution1_node.trace.json @@ -1,8 +1,4 @@ [ - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -16,8 +12,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from 'c:/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -31,8 +25,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from 'c:/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,8 +38,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from 'c:/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +51,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from 'c:/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +64,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from 'c:/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -90,7 +76,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution2_classic.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution2_classic.trace.json index 4f15ca268c27f..6e1ef3d70d119 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution2_classic.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution2_classic.trace.json @@ -1,11 +1,4 @@ [ - "File '/.src/root/src/folder1/package.json' does not exist.", - "File '/.src/root/src/package.json' does not exist.", - "File '/.src/root/package.json' does not exist.", - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -22,8 +15,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -40,8 +31,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +47,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +63,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -94,8 +79,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -111,7 +94,5 @@ "Directory '/.src/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution2_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution2_node.trace.json index 4f15ca268c27f..6e1ef3d70d119 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution2_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution2_node.trace.json @@ -1,11 +1,4 @@ [ - "File '/.src/root/src/folder1/package.json' does not exist.", - "File '/.src/root/src/package.json' does not exist.", - "File '/.src/root/package.json' does not exist.", - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -22,8 +15,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -40,8 +31,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +47,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +63,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -94,8 +79,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -111,7 +94,5 @@ "Directory '/.src/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution3_classic.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution3_classic.trace.json index 72fb9682d3c82..3b838600b6049 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution3_classic.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution3_classic.trace.json @@ -1,16 +1,10 @@ [ - "File 'c:/root/folder1/package.json' does not exist.", - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", "======== Resolving module 'folder2/file2' from 'c:/root/folder1/file1.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folder2/file2'.", "Resolving module name 'folder2/file2' relative to base url 'c:/root' - 'c:/root/folder2/file2'.", "File 'c:/root/folder2/file2.ts' exists - use it as a name resolution result.", "======== Module name 'folder2/file2' was successfully resolved to 'c:/root/folder2/file2.ts'. ========", - "File 'c:/root/folder2/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './file3' from 'c:/root/folder2/file2.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "File 'c:/root/folder2/file3.ts' exists - use it as a name resolution result.", @@ -30,12 +24,6 @@ "File 'c:/root/file4.d.ts' does not exist.", "File 'c:/file4.ts' exists - use it as a name resolution result.", "======== Module name 'file4' was successfully resolved to 'c:/file4.ts'. ========", - "File 'c:/root/folder2/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +37,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +50,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -79,8 +63,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -94,8 +76,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -109,8 +89,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -123,7 +101,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json index b45b8522edd84..209dc42d5939c 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution3_node.trace.json @@ -1,7 +1,4 @@ [ - "File 'c:/root/folder1/package.json' does not exist.", - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", "======== Resolving module 'folder2/file2' from 'c:/root/folder1/file1.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folder2/file2'.", @@ -9,9 +6,6 @@ "Loading module as file / folder, candidate module location 'c:/root/folder2/file2', target file types: TypeScript, Declaration.", "File 'c:/root/folder2/file2.ts' exists - use it as a name resolution result.", "======== Module name 'folder2/file2' was successfully resolved to 'c:/root/folder2/file2.ts'. ========", - "File 'c:/root/folder2/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './file3' from 'c:/root/folder2/file2.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location 'c:/root/folder2/file3', target file types: TypeScript, Declaration.", @@ -39,14 +33,6 @@ "File 'c:/node_modules/file4/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'c:/node_modules/file4/index.d.ts', result 'c:/node_modules/file4/index.d.ts'.", "======== Module name 'file4' was successfully resolved to 'c:/node_modules/file4/index.d.ts'. ========", - "File 'c:/root/folder2/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/node_modules/file4/package.json' does not exist according to earlier cached lookups.", - "File 'c:/node_modules/package.json' does not exist.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -60,8 +46,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -75,8 +59,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -90,8 +72,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -105,8 +85,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -120,8 +98,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -134,7 +110,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution4_classic.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution4_classic.trace.json index 3f6ca6efb6ccf..f00232b0c5193 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution4_classic.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution4_classic.trace.json @@ -1,16 +1,10 @@ [ - "File 'c:/root/folder1/package.json' does not exist.", - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", "======== Resolving module 'folder2/file2' from 'c:/root/folder1/file1.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folder2/file2'.", "Resolving module name 'folder2/file2' relative to base url 'c:/root' - 'c:/root/folder2/file2'.", "File 'c:/root/folder2/file2.ts' exists - use it as a name resolution result.", "======== Module name 'folder2/file2' was successfully resolved to 'c:/root/folder2/file2.ts'. ========", - "File 'c:/root/folder2/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './file3' from 'c:/root/folder2/file2.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "File 'c:/root/folder2/file3.ts' exists - use it as a name resolution result.", @@ -30,12 +24,6 @@ "File 'c:/root/file4.d.ts' does not exist.", "File 'c:/file4.ts' exists - use it as a name resolution result.", "======== Module name 'file4' was successfully resolved to 'c:/file4.ts'. ========", - "File 'c:/root/folder2/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +37,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from 'c:/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +50,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from 'c:/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -79,8 +63,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from 'c:/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -94,8 +76,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from 'c:/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -109,8 +89,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from 'c:/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -123,7 +101,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json index 2ce98a90ea1bc..bc4b608cee04f 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution4_node.trace.json @@ -1,7 +1,4 @@ [ - "File 'c:/root/folder1/package.json' does not exist.", - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", "======== Resolving module 'folder2/file2' from 'c:/root/folder1/file1.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folder2/file2'.", @@ -9,9 +6,6 @@ "Loading module as file / folder, candidate module location 'c:/root/folder2/file2', target file types: TypeScript, Declaration.", "File 'c:/root/folder2/file2.ts' exists - use it as a name resolution result.", "======== Module name 'folder2/file2' was successfully resolved to 'c:/root/folder2/file2.ts'. ========", - "File 'c:/root/folder2/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './file3' from 'c:/root/folder2/file2.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module as file / folder, candidate module location 'c:/root/folder2/file3', target file types: TypeScript, Declaration.", @@ -39,14 +33,6 @@ "File 'c:/node_modules/file4/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'c:/node_modules/file4/index.d.ts', result 'c:/node_modules/file4/index.d.ts'.", "======== Module name 'file4' was successfully resolved to 'c:/node_modules/file4/index.d.ts'. ========", - "File 'c:/root/folder2/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/node_modules/file4/package.json' does not exist according to earlier cached lookups.", - "File 'c:/node_modules/package.json' does not exist.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -59,8 +45,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from 'c:/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +57,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from 'c:/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -87,8 +69,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from 'c:/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -101,8 +81,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from 'c:/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -115,8 +93,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from 'c:/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -128,7 +104,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution5_classic.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution5_classic.trace.json index ab302a4772d3d..069baaa76da72 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution5_classic.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution5_classic.trace.json @@ -1,7 +1,4 @@ [ - "File 'c:/root/folder1/package.json' does not exist.", - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", "======== Resolving module 'folder2/file1' from 'c:/root/folder1/file1.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folder2/file1'.", @@ -48,20 +45,6 @@ "File 'c:/root/file4.d.ts' does not exist.", "File 'c:/file4.ts' exists - use it as a name resolution result.", "======== Module name 'file4' was successfully resolved to 'c:/file4.ts'. ========", - "File 'c:/root/folder2/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/generated/folder3/package.json' does not exist.", - "File 'c:/root/generated/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/shared/components/package.json' does not exist.", - "File 'c:/root/shared/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -75,8 +58,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from 'c:/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -90,8 +71,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from 'c:/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -105,8 +84,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from 'c:/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -120,8 +97,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from 'c:/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -135,8 +110,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from 'c:/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -149,7 +122,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json index 5c47a91a3aa9b..430cebb72795a 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution5_node.trace.json @@ -1,7 +1,4 @@ [ - "File 'c:/root/folder1/package.json' does not exist.", - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", "======== Resolving module 'folder2/file1' from 'c:/root/folder1/file1.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'folder2/file1'.", @@ -61,22 +58,6 @@ "File 'c:/node_modules/file4.ts' exists - use it as a name resolution result.", "Resolving real path for 'c:/node_modules/file4.ts', result 'c:/node_modules/file4.ts'.", "======== Module name 'file4' was successfully resolved to 'c:/node_modules/file4.ts'. ========", - "File 'c:/root/folder2/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/generated/folder3/package.json' does not exist.", - "File 'c:/root/generated/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/shared/components/file3/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/shared/components/package.json' does not exist.", - "File 'c:/root/shared/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/node_modules/package.json' does not exist.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -89,8 +70,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from 'c:/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -103,8 +82,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from 'c:/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -117,8 +94,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from 'c:/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -131,8 +106,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from 'c:/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -145,8 +118,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from 'c:/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -158,7 +129,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution6_classic.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution6_classic.trace.json index 724e6a121f6a2..24b30147d485b 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution6_classic.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution6_classic.trace.json @@ -1,7 +1,4 @@ [ - "File 'c:/root/src/package.json' does not exist.", - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", "======== Resolving module './project/file3' from 'c:/root/src/file1.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", "'rootDirs' option is set, using it to resolve relative module name './project/file3'.", @@ -13,11 +10,6 @@ "Loading 'project/file3' from the root dir 'c:/root/generated/src', candidate location 'c:/root/generated/src/project/file3'.", "File 'c:/root/generated/src/project/file3.ts' exists - use it as a name resolution result.", "======== Module name './project/file3' was successfully resolved to 'c:/root/generated/src/project/file3.ts'. ========", - "File 'c:/root/generated/src/project/package.json' does not exist.", - "File 'c:/root/generated/src/package.json' does not exist.", - "File 'c:/root/generated/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '../file2' from 'c:/root/generated/src/project/file3.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", "'rootDirs' option is set, using it to resolve relative module name '../file2'.", @@ -34,11 +26,6 @@ "File 'c:/root/src/file2.tsx' does not exist.", "File 'c:/root/src/file2.d.ts' exists - use it as a name resolution result.", "======== Module name '../file2' was successfully resolved to 'c:/root/src/file2.d.ts'. ========", - "File 'c:/root/src/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -55,8 +42,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from 'c:/root/src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +58,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from 'c:/root/src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,8 +74,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from 'c:/root/src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -109,8 +90,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from 'c:/root/src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -127,8 +106,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from 'c:/root/src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -144,7 +121,5 @@ "Directory 'c:/root/src/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution6_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution6_node.trace.json index 2b9eadb00d248..b03e837a0b3c1 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution6_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution6_node.trace.json @@ -1,7 +1,4 @@ [ - "File 'c:/root/src/package.json' does not exist.", - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", "======== Resolving module './project/file3' from 'c:/root/src/file1.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'rootDirs' option is set, using it to resolve relative module name './project/file3'.", @@ -16,11 +13,6 @@ "Loading module as file / folder, candidate module location 'c:/root/generated/src/project/file3', target file types: TypeScript, Declaration.", "File 'c:/root/generated/src/project/file3.ts' exists - use it as a name resolution result.", "======== Module name './project/file3' was successfully resolved to 'c:/root/generated/src/project/file3.ts'. ========", - "File 'c:/root/generated/src/project/package.json' does not exist.", - "File 'c:/root/generated/src/package.json' does not exist.", - "File 'c:/root/generated/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '../file2' from 'c:/root/generated/src/project/file3.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'rootDirs' option is set, using it to resolve relative module name '../file2'.", @@ -44,12 +36,6 @@ "File 'c:/root/src/file2/index.tsx' does not exist.", "File 'c:/root/src/file2/index.d.ts' exists - use it as a name resolution result.", "======== Module name '../file2' was successfully resolved to 'c:/root/src/file2/index.d.ts'. ========", - "File 'c:/root/src/file2/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/src/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -66,8 +52,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from 'c:/root/src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -84,8 +68,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from 'c:/root/src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -102,8 +84,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from 'c:/root/src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -120,8 +100,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from 'c:/root/src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -138,8 +116,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from 'c:/root/src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -155,7 +131,5 @@ "Directory 'c:/root/src/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution7_classic.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution7_classic.trace.json index c3c749b76c447..da15fc9ad28bf 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution7_classic.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution7_classic.trace.json @@ -1,7 +1,4 @@ [ - "File 'c:/root/src/package.json' does not exist.", - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", "======== Resolving module './project/file2' from 'c:/root/src/file1.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", "'rootDirs' option is set, using it to resolve relative module name './project/file2'.", @@ -36,11 +33,6 @@ "File 'c:/module3.tsx' does not exist.", "File 'c:/module3.d.ts' exists - use it as a name resolution result.", "======== Module name 'module3' was successfully resolved to 'c:/module3.d.ts'. ========", - "File 'c:/root/generated/src/project/package.json' does not exist.", - "File 'c:/root/generated/src/package.json' does not exist.", - "File 'c:/root/generated/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'module1' from 'c:/root/generated/src/project/file2.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'module1'.", @@ -79,19 +71,6 @@ "File 'c:/root/src/file3.tsx' does not exist.", "File 'c:/root/src/file3.d.ts' exists - use it as a name resolution result.", "======== Module name '../file3' was successfully resolved to 'c:/root/src/file3.d.ts'. ========", - "File 'c:/shared/package.json' does not exist.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/generated/src/templates/package.json' does not exist.", - "File 'c:/root/generated/src/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/generated/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/src/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -108,8 +87,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from 'c:/root/src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -126,8 +103,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from 'c:/root/src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -144,8 +119,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from 'c:/root/src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -162,8 +135,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from 'c:/root/src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -180,8 +151,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from 'c:/root/src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -197,7 +166,5 @@ "Directory 'c:/root/src/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json index bbc5c95104e4b..33d0880875b6c 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution7_node.trace.json @@ -1,7 +1,4 @@ [ - "File 'c:/root/src/package.json' does not exist.", - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", "======== Resolving module './project/file2' from 'c:/root/src/file1.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'rootDirs' option is set, using it to resolve relative module name './project/file2'.", @@ -42,11 +39,6 @@ "File 'c:/node_modules/module3.d.ts' exists - use it as a name resolution result.", "Resolving real path for 'c:/node_modules/module3.d.ts', result 'c:/node_modules/module3.d.ts'.", "======== Module name 'module3' was successfully resolved to 'c:/node_modules/module3.d.ts'. ========", - "File 'c:/root/generated/src/project/package.json' does not exist.", - "File 'c:/root/generated/src/package.json' does not exist.", - "File 'c:/root/generated/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'module1' from 'c:/root/generated/src/project/file2.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name 'module1'.", @@ -100,22 +92,6 @@ "File 'c:/root/src/file3/index.tsx' does not exist.", "File 'c:/root/src/file3/index.d.ts' exists - use it as a name resolution result.", "======== Module name '../file3' was successfully resolved to 'c:/root/src/file3/index.d.ts'. ========", - "File 'c:/shared/module1/package.json' does not exist according to earlier cached lookups.", - "File 'c:/shared/package.json' does not exist.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/generated/src/templates/package.json' does not exist.", - "File 'c:/root/generated/src/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/generated/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/src/file3/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/src/package.json' does not exist according to earlier cached lookups.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File 'c:/node_modules/package.json' does not exist.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -131,8 +107,6 @@ "Directory 'c:/root/src/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from 'c:/root/src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -148,8 +122,6 @@ "Directory 'c:/root/src/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from 'c:/root/src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -165,8 +137,6 @@ "Directory 'c:/root/src/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from 'c:/root/src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -182,8 +152,6 @@ "Directory 'c:/root/src/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from 'c:/root/src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -199,8 +167,6 @@ "Directory 'c:/root/src/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from 'c:/root/src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -215,7 +181,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/src/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution8_classic.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution8_classic.trace.json index 32a526bfeee31..9d29d1260cbb1 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution8_classic.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution8_classic.trace.json @@ -1,6 +1,4 @@ [ - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", "======== Resolving module '@speedy/folder1/testing' from 'c:/root/index.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name '@speedy/folder1/testing'.", @@ -9,12 +7,6 @@ "Trying substitution '*/dist/index.ts', candidate module location: 'folder1/dist/index.ts'.", "File 'c:/root/folder1/dist/index.ts' exists - use it as a name resolution result.", "======== Module name '@speedy/folder1/testing' was successfully resolved to 'c:/root/folder1/dist/index.ts'. ========", - "File 'c:/root/folder1/dist/package.json' does not exist.", - "File 'c:/root/folder1/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -28,8 +20,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from 'c:/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -43,8 +33,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from 'c:/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +46,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from 'c:/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +59,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from 'c:/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -88,8 +72,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from 'c:/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -102,7 +84,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution8_node.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution8_node.trace.json index 05e217484a9c4..039e06eb311f3 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution8_node.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution8_node.trace.json @@ -1,6 +1,4 @@ [ - "File 'c:/root/package.json' does not exist.", - "File 'c:/package.json' does not exist.", "======== Resolving module '@speedy/folder1/testing' from 'c:/root/index.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "'baseUrl' option is set to 'c:/root', using this value to resolve non-relative module name '@speedy/folder1/testing'.", @@ -9,12 +7,6 @@ "Trying substitution '*/dist/index.ts', candidate module location: 'folder1/dist/index.ts'.", "File 'c:/root/folder1/dist/index.ts' exists - use it as a name resolution result.", "======== Module name '@speedy/folder1/testing' was successfully resolved to 'c:/root/folder1/dist/index.ts'. ========", - "File 'c:/root/folder1/dist/package.json' does not exist.", - "File 'c:/root/folder1/package.json' does not exist.", - "File 'c:/root/package.json' does not exist according to earlier cached lookups.", - "File 'c:/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '@typescript/lib-es5' from 'c:/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -28,8 +20,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from 'c:/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -43,8 +33,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from 'c:/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +46,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from 'c:/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +59,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from 'c:/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -88,8 +72,6 @@ "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from 'c:/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -102,7 +84,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory 'c:/root/node_modules' does not exist, skipping all lookups in it.", "Directory 'c:/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot.trace.json index 5daa6afaed6db..9c4a7a475be14 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot.trace.json @@ -1,12 +1,4 @@ [ - "File '/root/src/package.json' does not exist.", - "File '/root/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/root/src/package.json' does not exist according to earlier cached lookups.", - "File '/root/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/root/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '/foo' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/foo'.", @@ -39,8 +31,6 @@ "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/root/src/bar.js'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -54,8 +44,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +57,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -84,8 +70,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -99,8 +83,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -114,8 +96,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -128,7 +108,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.trace.json index 5d762c5123503..75e151060ae50 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_differentRootTypes.trace.json @@ -1,12 +1,4 @@ [ - "File '/root/src/package.json' does not exist.", - "File '/root/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/root/src/package.json' does not exist according to earlier cached lookups.", - "File '/root/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/root/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '/foo' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/foo'.", @@ -267,8 +259,6 @@ "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name 'http://server/bar' was successfully resolved to '/root/src/bar.js'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -282,8 +272,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -297,8 +285,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -312,8 +298,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -327,8 +311,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -342,8 +324,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -356,7 +336,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_multipleAliases.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_multipleAliases.trace.json index 420ca9f644ddf..456d80728aa3f 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_multipleAliases.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_multipleAliases.trace.json @@ -1,13 +1,4 @@ [ - "File '/root/import/package.json' does not exist.", - "File '/root/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/root/client/package.json' does not exist.", - "File '/root/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/root/src/package.json' does not exist.", - "File '/root/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '/import/foo' from '/root/src/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/import/foo'.", @@ -37,8 +28,6 @@ "Loading module as file / folder, candidate module location '/root/client/bar', target file types: JavaScript.", "File '/root/client/bar.js' exists - use it as a name resolution result.", "======== Module name '/client/bar' was successfully resolved to '/root/client/bar.js'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -52,8 +41,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -67,8 +54,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -82,8 +67,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -97,8 +80,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -112,8 +93,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -126,7 +105,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_realRootFile.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_realRootFile.trace.json index 112d9f8228893..48590334f1e15 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_realRootFile.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_aliasWithRoot_realRootFile.trace.json @@ -1,6 +1,4 @@ [ - "File '/root/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '/foo' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/foo'.", @@ -31,10 +29,6 @@ "Loading module as file / folder, candidate module location '/bar', target file types: JavaScript.", "File '/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/bar.js'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -48,8 +42,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -63,8 +55,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -78,8 +68,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -93,8 +81,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -108,8 +94,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -122,7 +106,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot.trace.json index e6c3fb4795413..ec744ffe595b4 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot.trace.json @@ -1,12 +1,4 @@ [ - "File '/root/src/package.json' does not exist.", - "File '/root/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/root/src/package.json' does not exist according to earlier cached lookups.", - "File '/root/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/root/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '/foo' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/foo'.", @@ -39,8 +31,6 @@ "Loading module as file / folder, candidate module location '/root/src/bar', target file types: JavaScript.", "File '/root/src/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/root/src/bar.js'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -54,8 +44,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +57,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -84,8 +70,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -99,8 +83,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -114,8 +96,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -128,7 +108,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot_realRootFile.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot_realRootFile.trace.json index 6fb3f30a7e9be..c32e683d6dd1b 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot_realRootFile.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_rootImport_noAliasWithRoot_realRootFile.trace.json @@ -1,6 +1,4 @@ [ - "File '/root/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module '/foo' from '/root/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/root', using this value to resolve non-relative module name '/foo'.", @@ -31,10 +29,6 @@ "Loading module as file / folder, candidate module location '/bar', target file types: JavaScript.", "File '/bar.js' exists - use it as a name resolution result.", "======== Module name '/bar' was successfully resolved to '/bar.js'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/root/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -48,8 +42,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/root/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -63,8 +55,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/root/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -78,8 +68,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/root/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -93,8 +81,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/root/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -108,8 +94,6 @@ "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/root/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -122,7 +106,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/root/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension.trace.json index d723a1f551283..dc8f888023a89 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension.trace.json @@ -1,9 +1,4 @@ [ - "File '/foo/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/bar/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'foo' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo'.", @@ -20,8 +15,6 @@ "Trying substitution 'bar/bar.js', candidate module location: 'bar/bar.js'.", "File '/bar/bar.js' exists - use it as a name resolution result.", "======== Module name 'bar' was successfully resolved to '/bar/bar.js'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -32,8 +25,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -44,8 +35,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -56,8 +45,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -68,8 +55,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -80,8 +65,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -91,7 +74,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtensionInName.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtensionInName.trace.json index 2f9e747cbf418..d58ed7c1057ec 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtensionInName.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtensionInName.trace.json @@ -1,11 +1,4 @@ [ - "File '/foo/zone.js/package.json' does not exist.", - "File '/foo/package.json' does not exist.", - "File '/package.json' does not exist.", - "File '/foo/zone.tsx/package.json' does not exist.", - "File '/foo/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'zone.js' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'zone.js'.", @@ -20,7 +13,7 @@ "File '/foo/zone.js.ts' does not exist.", "File '/foo/zone.js.tsx' does not exist.", "File '/foo/zone.js.d.ts' does not exist.", - "File '/foo/zone.js/package.json' does not exist according to earlier cached lookups.", + "File '/foo/zone.js/package.json' does not exist.", "File '/foo/zone.js/index.ts' does not exist.", "File '/foo/zone.js/index.tsx' does not exist.", "File '/foo/zone.js/index.d.ts' exists - use it as a name resolution result.", @@ -39,13 +32,11 @@ "File '/foo/zone.tsx.ts' does not exist.", "File '/foo/zone.tsx.tsx' does not exist.", "File '/foo/zone.tsx.d.ts' does not exist.", - "File '/foo/zone.tsx/package.json' does not exist according to earlier cached lookups.", + "File '/foo/zone.tsx/package.json' does not exist.", "File '/foo/zone.tsx/index.ts' does not exist.", "File '/foo/zone.tsx/index.tsx' does not exist.", "File '/foo/zone.tsx/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'zone.tsx' was successfully resolved to '/foo/zone.tsx/index.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -56,8 +47,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -68,8 +57,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -80,8 +67,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,8 +77,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,8 +87,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -115,7 +96,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_MapedToNodeModules.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_MapedToNodeModules.trace.json index bab9a76758861..d5ad90d3381f0 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_MapedToNodeModules.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_MapedToNodeModules.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'foo/bar/foobar.js' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo/bar/foobar.js'.", @@ -39,8 +38,6 @@ "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", "Resolving real path for '/node_modules/foo/bar/foobar.js', result '/node_modules/foo/bar/foobar.js'.", "======== Module name 'foo/bar/foobar.js' was successfully resolved to '/node_modules/foo/bar/foobar.js'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -50,8 +47,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +56,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -72,8 +65,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -83,8 +74,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -94,8 +83,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,7 +91,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_failedLookup.trace.json b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_failedLookup.trace.json index e56b2b7d59ce2..e55f4c7d6b98d 100644 --- a/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_failedLookup.trace.json +++ b/tests/baselines/reference/pathMappingBasedModuleResolution_withExtension_failedLookup.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'foo' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo'.", @@ -23,8 +22,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'foo' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -35,8 +32,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -47,8 +42,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -59,8 +52,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -71,8 +62,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -83,8 +72,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -94,7 +81,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathsValidation4.trace.json b/tests/baselines/reference/pathsValidation4.trace.json index 1768b46d1f75b..b9c4ab14796b6 100644 --- a/tests/baselines/reference/pathsValidation4.trace.json +++ b/tests/baselines/reference/pathsValidation4.trace.json @@ -1,7 +1,4 @@ [ - "File '/.src/src/package.json' does not exist.", - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'someModule' from '/.src/src/main.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/.src/src', using this value to resolve non-relative module name 'someModule'.", @@ -32,8 +29,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'someModule' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -47,8 +42,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -62,8 +55,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,8 +68,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,8 +81,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -107,8 +94,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -121,7 +106,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/pathsValidation5.trace.json b/tests/baselines/reference/pathsValidation5.trace.json index 4584814eb8a54..5bb648f020711 100644 --- a/tests/baselines/reference/pathsValidation5.trace.json +++ b/tests/baselines/reference/pathsValidation5.trace.json @@ -1,7 +1,4 @@ [ - "File '/.src/src/package.json' does not exist.", - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'someModule' from '/.src/src/main.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'paths' option is specified, looking for a pattern to match module name 'someModule'.", @@ -17,8 +14,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'someModule' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -32,8 +27,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -47,8 +40,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -62,8 +53,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,8 +66,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,8 +79,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -106,7 +91,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModuleAndPathMapping.trace.json b/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModuleAndPathMapping.trace.json index 0901319424e73..094bdc2634882 100644 --- a/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModuleAndPathMapping.trace.json +++ b/tests/baselines/reference/requireOfJsonFileWithoutResolveJsonModuleAndPathMapping.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'foo/bar/foobar.json' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo/bar/foobar.json'.", @@ -43,8 +42,6 @@ "File '/node_modules/foo/bar/foobar.json.js' does not exist.", "File '/node_modules/foo/bar/foobar.json.jsx' does not exist.", "======== Module name 'foo/bar/foobar.json' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -54,8 +51,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -65,8 +60,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +69,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -87,8 +78,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -98,8 +87,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -108,7 +95,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/requireOfJsonFile_PathMapping.trace.json b/tests/baselines/reference/requireOfJsonFile_PathMapping.trace.json index cbaa911ec4bc2..7ff6bd7b37f52 100644 --- a/tests/baselines/reference/requireOfJsonFile_PathMapping.trace.json +++ b/tests/baselines/reference/requireOfJsonFile_PathMapping.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'foo/bar/foobar.json' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'foo/bar/foobar.json'.", @@ -35,8 +34,6 @@ "File '/node_modules/foo/package.json' does not exist according to earlier cached lookups.", "Resolving real path for '/node_modules/foo/bar/foobar.json', result '/node_modules/foo/bar/foobar.json'.", "======== Module name 'foo/bar/foobar.json' was successfully resolved to '/node_modules/foo/bar/foobar.json'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,8 +43,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -57,8 +52,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -68,8 +61,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -79,8 +70,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -90,8 +79,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -100,7 +87,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json index acf4e85067873..f79ccd1ddc65d 100644 --- a/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json +++ b/tests/baselines/reference/resolvesWithoutExportsDiagnostic1(moduleresolution=bundler).trace.json @@ -1,13 +1,11 @@ [ - "Found 'package.json' at '/node_modules/foo/package.json'.", - "Found 'package.json' at '/node_modules/@types/bar/package.json'.", "======== Resolving module 'foo' from '/index.mts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", "File '/package.json' does not exist.", "Loading module 'foo' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/foo/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/foo/package.json'.", "Entering conditional exports.", "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './index.mjs'.", @@ -58,7 +56,7 @@ "Failed to resolve under condition 'import'.", "Saw non-matching condition 'require'.", "Exiting conditional exports.", - "File '/node_modules/@types/bar/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/node_modules/@types/bar/package.json'.", "Entering conditional exports.", "Saw non-matching condition 'require'.", "Exiting conditional exports.", @@ -118,8 +116,6 @@ "File '/node_modules/@types/bar/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/bar/index.d.ts', result '/node_modules/@types/bar/index.d.ts'.", "======== Type reference directive 'bar' was successfully resolved to '/node_modules/@types/bar/index.d.ts' with Package ID '@types/bar/index.d.ts@1.0.0', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -132,8 +128,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -146,8 +140,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -159,8 +151,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -173,8 +163,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -186,8 +174,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -199,7 +185,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/reuseProgramStructure/can-reuse-ambient-module-declarations-from-non-modified-files.js b/tests/baselines/reference/reuseProgramStructure/can-reuse-ambient-module-declarations-from-non-modified-files.js index e0338ffd59848..20965de17f39f 100644 --- a/tests/baselines/reference/reuseProgramStructure/can-reuse-ambient-module-declarations-from-non-modified-files.js +++ b/tests/baselines/reference/reuseProgramStructure/can-reuse-ambient-module-declarations-from-non-modified-files.js @@ -38,9 +38,6 @@ File: /a/b/node.d.ts declare module 'fs' {} -File '/a/b/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module 'fs' from '/a/b/app.ts'. ======== Module resolution kind is not specified, using 'Classic'. File '/a/b/fs.ts' does not exist. @@ -69,10 +66,6 @@ File '/a/fs.jsx' does not exist. File '/fs.js' does not exist. File '/fs.jsx' does not exist. ======== Module name 'fs' was not resolved. ======== -File '/a/b/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist. MissingPaths:: [ "lib.d.ts" @@ -121,12 +114,6 @@ File: /a/b/node.d.ts declare module 'fs' {} -File '/a/b/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. -File '/a/b/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Module 'fs' was resolved as ambient module declared in '/a/b/node.d.ts' since this file was not modified. MissingPaths:: [ @@ -176,12 +163,6 @@ File: /a/b/node.d.ts declare var process: any -File '/a/b/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. -File '/a/b/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'fs' from '/a/b/app.ts'. ======== Module resolution kind is not specified, using 'Classic'. File '/a/b/fs.ts' does not exist. diff --git a/tests/baselines/reference/reuseProgramStructure/can-reuse-module-resolutions-from-non-modified-files.js b/tests/baselines/reference/reuseProgramStructure/can-reuse-module-resolutions-from-non-modified-files.js index 7944e19796056..4c328472c5abb 100644 --- a/tests/baselines/reference/reuseProgramStructure/can-reuse-module-resolutions-from-non-modified-files.js +++ b/tests/baselines/reference/reuseProgramStructure/can-reuse-module-resolutions-from-non-modified-files.js @@ -92,32 +92,18 @@ typerefs2: { ] } -File 'package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs1/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist. -File 'node_modules/package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs2/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'typerefs1', containing file 'f1.ts', root directory 'node_modules/@types'. ======== Resolving with primary search path 'node_modules/@types'. -File 'node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. +File 'node_modules/@types/typerefs1/package.json' does not exist. File 'node_modules/@types/typerefs1/index.d.ts' exists - use it as a name resolution result. ======== Type reference directive 'typerefs1' was successfully resolved to 'node_modules/@types/typerefs1/index.d.ts', primary: true. ======== ======== Resolving module './b1' from 'f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. File 'b1.ts' exists - use it as a name resolution result. ======== Module name './b1' was successfully resolved to 'b1.ts'. ======== -File 'package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'typerefs2', containing file 'f2.ts', root directory 'node_modules/@types'. ======== Resolving with primary search path 'node_modules/@types'. -File 'node_modules/@types/typerefs2/package.json' does not exist according to earlier cached lookups. +File 'node_modules/@types/typerefs2/package.json' does not exist. File 'node_modules/@types/typerefs2/index.d.ts' exists - use it as a name resolution result. ======== Type reference directive 'typerefs2' was successfully resolved to 'node_modules/@types/typerefs2/index.d.ts', primary: true. ======== ======== Resolving module './b2' from 'f2.ts'. ======== @@ -231,47 +217,18 @@ typerefs2: { ] } -File 'package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs1/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist. -File 'node_modules/package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs2/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs2/package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'typerefs1', containing file 'f1.ts', root directory 'node_modules/@types'. ======== Resolving with primary search path 'node_modules/@types'. -File 'node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. +File 'node_modules/@types/typerefs1/package.json' does not exist. File 'node_modules/@types/typerefs1/index.d.ts' exists - use it as a name resolution result. ======== Type reference directive 'typerefs1' was successfully resolved to 'node_modules/@types/typerefs1/index.d.ts', primary: true. ======== ======== Resolving module './b1' from 'f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. File 'b1.ts' exists - use it as a name resolution result. ======== Module name './b1' was successfully resolved to 'b1.ts'. ======== -File 'package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'typerefs2' from 'f2.ts' of old program, it was successfully resolved to 'node_modules/@types/typerefs2/index.d.ts'. Reusing resolution of module './b2' from 'f2.ts' of old program, it was successfully resolved to 'b2.ts'. Reusing resolution of module './f1' from 'f2.ts' of old program, it was successfully resolved to 'f1.ts'. -File 'package.json' does not exist according to earlier cached lookups. MissingPaths:: [ "lib.d.ts" @@ -365,42 +322,13 @@ typerefs2: { ] } -File 'package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs1/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist. -File 'node_modules/package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs2/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs2/package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. ======== Resolving module './b1' from 'f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. File 'b1.ts' exists - use it as a name resolution result. ======== Module name './b1' was successfully resolved to 'b1.ts'. ======== -File 'package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'typerefs2' from 'f2.ts' of old program, it was successfully resolved to 'node_modules/@types/typerefs2/index.d.ts'. Reusing resolution of module './b2' from 'f2.ts' of old program, it was successfully resolved to 'b2.ts'. Reusing resolution of module './f1' from 'f2.ts' of old program, it was successfully resolved to 'f1.ts'. -File 'package.json' does not exist according to earlier cached lookups. MissingPaths:: [ "lib.d.ts" @@ -494,42 +422,13 @@ typerefs2: { ] } -File 'package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs1/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist. -File 'node_modules/package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs2/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs2/package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. ======== Resolving module './b1' from 'f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. File 'b1.ts' exists - use it as a name resolution result. ======== Module name './b1' was successfully resolved to 'b1.ts'. ======== -File 'package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'typerefs2' from 'f2.ts' of old program, it was successfully resolved to 'node_modules/@types/typerefs2/index.d.ts'. Reusing resolution of module './b2' from 'f2.ts' of old program, it was successfully resolved to 'b2.ts'. Reusing resolution of module './f1' from 'f2.ts' of old program, it was successfully resolved to 'f1.ts'. -File 'package.json' does not exist according to earlier cached lookups. MissingPaths:: [ "lib.d.ts" @@ -622,20 +521,6 @@ typerefs2: { ] } -File 'package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs1/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist. -File 'node_modules/package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs2/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. ======== Resolving module './b1' from 'f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. File 'b1.ts' exists - use it as a name resolution result. @@ -733,42 +618,13 @@ typerefs2: { ] } -File 'package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs1/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist. -File 'node_modules/package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs2/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs2/package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. ======== Resolving module './b1' from 'f1.ts'. ======== Explicitly specified module resolution kind: 'Classic'. File 'b1.ts' exists - use it as a name resolution result. ======== Module name './b1' was successfully resolved to 'b1.ts'. ======== -File 'package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'typerefs2' from 'f2.ts' of old program, it was successfully resolved to 'node_modules/@types/typerefs2/index.d.ts'. Reusing resolution of module './b2' from 'f2.ts' of old program, it was successfully resolved to 'b2.ts'. Reusing resolution of module './f1' from 'f2.ts' of old program, it was successfully resolved to 'f1.ts'. -File 'package.json' does not exist according to earlier cached lookups. MissingPaths:: [ "lib.d.ts" @@ -853,38 +709,9 @@ typerefs2: { ] } -File 'package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs1/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist. -File 'node_modules/package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs2/package.json' does not exist. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs1/package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/typerefs2/package.json' does not exist according to earlier cached lookups. -File 'node_modules/@types/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'typerefs2' from 'f2.ts' of old program, it was successfully resolved to 'node_modules/@types/typerefs2/index.d.ts'. Reusing resolution of module './b2' from 'f2.ts' of old program, it was successfully resolved to 'b2.ts'. Reusing resolution of module './f1' from 'f2.ts' of old program, it was successfully resolved to 'f1.ts'. -File 'package.json' does not exist according to earlier cached lookups. MissingPaths:: [ "lib.d.ts" diff --git a/tests/baselines/reference/reuseProgramStructure/fetches-imports-after-npm-install.js b/tests/baselines/reference/reuseProgramStructure/fetches-imports-after-npm-install.js index 83606b0482712..f0c69c4133bb4 100644 --- a/tests/baselines/reference/reuseProgramStructure/fetches-imports-after-npm-install.js +++ b/tests/baselines/reference/reuseProgramStructure/fetches-imports-after-npm-install.js @@ -29,7 +29,6 @@ File: file2.ts -File 'package.json' does not exist. ======== Resolving module 'a' from 'file1.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -52,8 +51,6 @@ File 'node_modules/a.jsx' does not exist. File 'node_modules/a/index.js' does not exist. File 'node_modules/a/index.jsx' does not exist. ======== Module name 'a' was not resolved. ======== -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. MissingPaths:: [ "lib.d.ts" @@ -96,9 +93,6 @@ File: file2.ts -File 'package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. ======== Resolving module 'a' from 'file1.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -111,10 +105,6 @@ File 'node_modules/a/index.ts' does not exist. File 'node_modules/a/index.tsx' does not exist. File 'node_modules/a/index.d.ts' exists - use it as a name resolution result. ======== Module name 'a' was successfully resolved to 'node_modules/a/index.d.ts'. ======== -File 'node_modules/a/package.json' does not exist according to earlier cached lookups. -File 'node_modules/package.json' does not exist. -File 'package.json' does not exist according to earlier cached lookups. -File 'package.json' does not exist according to earlier cached lookups. MissingPaths:: [] diff --git a/tests/baselines/reference/scopedPackages.trace.json b/tests/baselines/reference/scopedPackages.trace.json index f94a6d09a1ef5..7b4f3e8c2c385 100644 --- a/tests/baselines/reference/scopedPackages.trace.json +++ b/tests/baselines/reference/scopedPackages.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module '@cow/boy' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module '@cow/boy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -32,21 +31,6 @@ "File '/node_modules/@types/be__bop/e/z.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/be__bop/e/z.d.ts', result '/node_modules/@types/be__bop/e/z.d.ts'.", "======== Module name '@be/bop/e/z' was successfully resolved to '/node_modules/@types/be__bop/e/z.d.ts'. ========", - "File '/node_modules/@cow/boy/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@cow/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/be__bop/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/be__bop/e/package.json' does not exist.", - "File '/node_modules/@types/be__bop/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -59,8 +43,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +55,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -86,8 +66,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -100,8 +78,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -113,8 +89,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -126,7 +100,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/scopedPackagesClassic.trace.json b/tests/baselines/reference/scopedPackagesClassic.trace.json index a17d1ab8e8e58..2407dcda0f12f 100644 --- a/tests/baselines/reference/scopedPackagesClassic.trace.json +++ b/tests/baselines/reference/scopedPackagesClassic.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module '@see/saw' from '/a.ts'. ========", "Explicitly specified module resolution kind: 'Classic'.", "Searching all ancestor node_modules directories for preferred extensions: Declaration.", @@ -9,12 +8,6 @@ "File '/node_modules/@types/see__saw/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/see__saw/index.d.ts', result '/node_modules/@types/see__saw/index.d.ts'.", "======== Module name '@see/saw' was successfully resolved to '/node_modules/@types/see__saw/index.d.ts'. ========", - "File '/node_modules/@types/see__saw/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -27,8 +20,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -41,8 +32,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -54,8 +43,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -68,8 +55,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -81,8 +66,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -94,7 +77,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/selfNameModuleAugmentation.trace.json b/tests/baselines/reference/selfNameModuleAugmentation.trace.json index 61bdd1a3b1df7..f3eac5210e5c3 100644 --- a/tests/baselines/reference/selfNameModuleAugmentation.trace.json +++ b/tests/baselines/reference/selfNameModuleAugmentation.trace.json @@ -1,11 +1,9 @@ [ - "File '/node_modules/acorn-walk/dist/package.json' does not exist.", - "Found 'package.json' at '/node_modules/acorn-walk/package.json'.", "======== Resolving module 'acorn-walk' from '/node_modules/acorn-walk/dist/walk.d.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/node_modules/acorn-walk/dist/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/acorn-walk/package.json' exists according to earlier cached lookups.", + "File '/node_modules/acorn-walk/dist/package.json' does not exist.", + "Found 'package.json' at '/node_modules/acorn-walk/package.json'.", "Entering conditional exports.", "Matched 'exports' condition 'import'.", "Using 'exports' subpath '.' with target './dist/walk.mjs'.", @@ -25,11 +23,10 @@ "Exiting conditional exports.", "Resolving real path for '/node_modules/acorn-walk/dist/walk.d.ts', result '/node_modules/acorn-walk/dist/walk.d.ts'.", "======== Module name 'acorn-walk' was successfully resolved to '/node_modules/acorn-walk/dist/walk.d.ts' with Package ID 'acorn-walk/dist/walk.d.ts@8.2.0'. ========", - "File '/package.json' does not exist.", "======== Resolving module 'acorn-walk' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/package.json' does not exist according to earlier cached lookups.", + "File '/package.json' does not exist.", "Loading module 'acorn-walk' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", "File '/node_modules/acorn-walk/package.json' exists according to earlier cached lookups.", @@ -51,8 +48,6 @@ "Exiting conditional exports.", "Resolving real path for '/node_modules/acorn-walk/dist/walk.d.ts', result '/node_modules/acorn-walk/dist/walk.d.ts'.", "======== Module name 'acorn-walk' was successfully resolved to '/node_modules/acorn-walk/dist/walk.d.ts' with Package ID 'acorn-walk/dist/walk.d.ts@8.2.0'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -65,8 +60,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -79,8 +72,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -93,8 +84,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -107,8 +96,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -121,8 +108,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -134,7 +119,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js index 7c5ec3d0e2f1a..d571b0da25062 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/modules-and-globals-mixed-in-amd.js @@ -241,7 +241,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","impliedFormat":1},{"version":"-10505171738-export const z = 30;\nimport { x } from \"file1\";\n","impliedFormat":1},{"version":"1463681686-const myVar = 30;","impliedFormat":1}],"root":[3,4],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"-23302177839-declare module \"file3\" {\n export const z = 30;\n}\ndeclare const myVar = 30;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../lib/module.d.ts","./file3.ts","./file4.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","-10505171738-export const z = 30;\nimport { x } from \"file1\";\n","1463681686-const myVar = 30;"],"root":[3,4],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"-23302177839-declare module \"file3\" {\n export const z = 30;\n}\ndeclare const myVar = 30;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.readable.baseline.txt] { @@ -253,38 +253,10 @@ sourceFile:file4.ts "./file4.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../lib/module.d.ts": { - "original": { - "version": "29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n", - "impliedFormat": 1 - }, - "version": "29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n", - "impliedFormat": "commonjs" - }, - "./file3.ts": { - "original": { - "version": "-10505171738-export const z = 30;\nimport { x } from \"file1\";\n", - "impliedFormat": 1 - }, - "version": "-10505171738-export const z = 30;\nimport { x } from \"file1\";\n", - "impliedFormat": "commonjs" - }, - "./file4.ts": { - "original": { - "version": "1463681686-const myVar = 30;", - "impliedFormat": 1 - }, - "version": "1463681686-const myVar = 30;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../lib/module.d.ts": "29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n", + "./file3.ts": "-10505171738-export const z = 30;\nimport { x } from \"file1\";\n", + "./file4.ts": "1463681686-const myVar = 30;" }, "root": [ [ @@ -309,7 +281,7 @@ sourceFile:file4.ts "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 1281 + "size": 1161 } //// [/src/lib/module.d.ts] @@ -580,7 +552,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"3587416848-const myGlob = 20;","impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729954175-export const y = 20;","impliedFormat":1},{"version":"1028229885-const globalConst = 10;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3587416848-const myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.readable.baseline.txt] { @@ -593,46 +565,11 @@ sourceFile:global.ts "./global.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./file0.ts": { - "original": { - "version": "3587416848-const myGlob = 20;", - "impliedFormat": 1 - }, - "version": "3587416848-const myGlob = 20;", - "impliedFormat": "commonjs" - }, - "./file1.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, - "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" - }, - "./file2.ts": { - "original": { - "version": "-13729954175-export const y = 20;", - "impliedFormat": 1 - }, - "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" - }, - "./global.ts": { - "original": { - "version": "1028229885-const globalConst = 10;", - "impliedFormat": 1 - }, - "version": "1028229885-const globalConst = 10;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./file0.ts": "3587416848-const myGlob = 20;", + "./file1.ts": "-10726455937-export const x = 10;", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" }, "root": [ [ @@ -661,7 +598,7 @@ sourceFile:global.ts "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 1261 + "size": 1111 } @@ -859,7 +796,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"3587416848-const myGlob = 20;","impliedFormat":1},{"version":"-4405159098-export const x = 10;console.log(x);","impliedFormat":1},{"version":"-13729954175-export const y = 20;","impliedFormat":1},{"version":"1028229885-const globalConst = 10;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3587416848-const myGlob = 20;","-4405159098-export const x = 10;console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.readable.baseline.txt] { @@ -872,46 +809,11 @@ sourceFile:global.ts "./global.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./file0.ts": { - "original": { - "version": "3587416848-const myGlob = 20;", - "impliedFormat": 1 - }, - "version": "3587416848-const myGlob = 20;", - "impliedFormat": "commonjs" - }, - "./file1.ts": { - "original": { - "version": "-4405159098-export const x = 10;console.log(x);", - "impliedFormat": 1 - }, - "version": "-4405159098-export const x = 10;console.log(x);", - "impliedFormat": "commonjs" - }, - "./file2.ts": { - "original": { - "version": "-13729954175-export const y = 20;", - "impliedFormat": 1 - }, - "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" - }, - "./global.ts": { - "original": { - "version": "1028229885-const globalConst = 10;", - "impliedFormat": 1 - }, - "version": "1028229885-const globalConst = 10;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./file0.ts": "3587416848-const myGlob = 20;", + "./file1.ts": "-4405159098-export const x = 10;console.log(x);", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" }, "root": [ [ @@ -940,6 +842,6 @@ sourceFile:global.ts "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 1275 + "size": 1125 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js index ffb23e8fff4c1..0b835406e3367 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/prepend-reports-deprecation-error.js @@ -374,7 +374,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"3587416848-const myGlob = 20;","impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729954175-export const y = 20;","impliedFormat":1},{"version":"1028229885-const globalConst = 10;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3587416848-const myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.readable.baseline.txt] { @@ -387,46 +387,11 @@ sourceFile:global.ts "./global.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./file0.ts": { - "original": { - "version": "3587416848-const myGlob = 20;", - "impliedFormat": 1 - }, - "version": "3587416848-const myGlob = 20;", - "impliedFormat": "commonjs" - }, - "./file1.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, - "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" - }, - "./file2.ts": { - "original": { - "version": "-13729954175-export const y = 20;", - "impliedFormat": 1 - }, - "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" - }, - "./global.ts": { - "original": { - "version": "1028229885-const globalConst = 10;", - "impliedFormat": 1 - }, - "version": "1028229885-const globalConst = 10;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./file0.ts": "3587416848-const myGlob = 20;", + "./file1.ts": "-10726455937-export const x = 10;", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" }, "root": [ [ @@ -455,7 +420,7 @@ sourceFile:global.ts "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 1261 + "size": 1111 } @@ -666,7 +631,7 @@ sourceFile:global.ts >>>//# sourceMappingURL=module.js.map //// [/src/lib/module.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"3587416848-const myGlob = 20;","impliedFormat":1},{"version":"-4405159098-export const x = 10;console.log(x);","impliedFormat":1},{"version":"-13729954175-export const y = 20;","impliedFormat":1},{"version":"1028229885-const globalConst = 10;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./file0.ts","./file1.ts","./file2.ts","./global.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3587416848-const myGlob = 20;","-4405159098-export const x = 10;console.log(x);","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"29754794677-declare const myGlob = 20;\ndeclare module \"file1\" {\n export const x = 10;\n}\ndeclare module \"file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/lib/module.tsbuildinfo.readable.baseline.txt] { @@ -679,46 +644,11 @@ sourceFile:global.ts "./global.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./file0.ts": { - "original": { - "version": "3587416848-const myGlob = 20;", - "impliedFormat": 1 - }, - "version": "3587416848-const myGlob = 20;", - "impliedFormat": "commonjs" - }, - "./file1.ts": { - "original": { - "version": "-4405159098-export const x = 10;console.log(x);", - "impliedFormat": 1 - }, - "version": "-4405159098-export const x = 10;console.log(x);", - "impliedFormat": "commonjs" - }, - "./file2.ts": { - "original": { - "version": "-13729954175-export const y = 20;", - "impliedFormat": 1 - }, - "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" - }, - "./global.ts": { - "original": { - "version": "1028229885-const globalConst = 10;", - "impliedFormat": 1 - }, - "version": "1028229885-const globalConst = 10;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./file0.ts": "3587416848-const myGlob = 20;", + "./file1.ts": "-4405159098-export const x = 10;console.log(x);", + "./file2.ts": "-13729954175-export const y = 20;", + "./global.ts": "1028229885-const globalConst = 10;" }, "root": [ [ @@ -747,6 +677,6 @@ sourceFile:global.ts "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 1275 + "size": 1125 } diff --git a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js index d448429255a34..a4c97c36f7582 100644 --- a/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js +++ b/tests/baselines/reference/tsbuild/amdModulesWithOut/when-the-module-resolution-finds-original-source-file.js @@ -241,7 +241,7 @@ sourceFile:file4.ts >>>//# sourceMappingURL=module.js.map //// [/src/app/module.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../module.d.ts","./file3.ts","./file4.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-21806566655-declare const myGlob = 20;\ndeclare module \"lib/file1\" {\n export const x = 10;\n}\ndeclare module \"lib/file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","impliedFormat":1},{"version":"-16038404532-export const z = 30;\nimport { x } from \"lib/file1\";\n","impliedFormat":1},{"version":"1463681686-const myVar = 30;","impliedFormat":1}],"root":[3,4],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"-23302177839-declare module \"file3\" {\n export const z = 30;\n}\ndeclare const myVar = 30;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../module.d.ts","./file3.ts","./file4.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-21806566655-declare const myGlob = 20;\ndeclare module \"lib/file1\" {\n export const x = 10;\n}\ndeclare module \"lib/file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","-16038404532-export const z = 30;\nimport { x } from \"lib/file1\";\n","1463681686-const myVar = 30;"],"root":[3,4],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","sourceMap":true,"strict":false,"target":1},"outSignature":"-23302177839-declare module \"file3\" {\n export const z = 30;\n}\ndeclare const myVar = 30;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/app/module.tsbuildinfo.readable.baseline.txt] { @@ -253,38 +253,10 @@ sourceFile:file4.ts "./file4.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../module.d.ts": { - "original": { - "version": "-21806566655-declare const myGlob = 20;\ndeclare module \"lib/file1\" {\n export const x = 10;\n}\ndeclare module \"lib/file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n", - "impliedFormat": 1 - }, - "version": "-21806566655-declare const myGlob = 20;\ndeclare module \"lib/file1\" {\n export const x = 10;\n}\ndeclare module \"lib/file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n", - "impliedFormat": "commonjs" - }, - "./file3.ts": { - "original": { - "version": "-16038404532-export const z = 30;\nimport { x } from \"lib/file1\";\n", - "impliedFormat": 1 - }, - "version": "-16038404532-export const z = 30;\nimport { x } from \"lib/file1\";\n", - "impliedFormat": "commonjs" - }, - "./file4.ts": { - "original": { - "version": "1463681686-const myVar = 30;", - "impliedFormat": 1 - }, - "version": "1463681686-const myVar = 30;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../module.d.ts": "-21806566655-declare const myGlob = 20;\ndeclare module \"lib/file1\" {\n export const x = 10;\n}\ndeclare module \"lib/file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n", + "./file3.ts": "-16038404532-export const z = 30;\nimport { x } from \"lib/file1\";\n", + "./file4.ts": "1463681686-const myVar = 30;" }, "root": [ [ @@ -309,7 +281,7 @@ sourceFile:file4.ts "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 1290 + "size": 1170 } //// [/src/module.d.ts] @@ -581,7 +553,7 @@ sourceFile:lib/global.ts >>>//# sourceMappingURL=module.js.map //// [/src/module.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"3587416848-const myGlob = 20;","impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729954175-export const y = 20;","impliedFormat":1},{"version":"1028229885-const globalConst = 10;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","rootDir":"./","sourceMap":true,"strict":false,"target":1},"outSignature":"-21806566655-declare const myGlob = 20;\ndeclare module \"lib/file1\" {\n export const x = 10;\n}\ndeclare module \"lib/file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./lib/file0.ts","./lib/file1.ts","./lib/file2.ts","./lib/global.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","3587416848-const myGlob = 20;","-10726455937-export const x = 10;","-13729954175-export const y = 20;","1028229885-const globalConst = 10;"],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./module.js","rootDir":"./","sourceMap":true,"strict":false,"target":1},"outSignature":"-21806566655-declare const myGlob = 20;\ndeclare module \"lib/file1\" {\n export const x = 10;\n}\ndeclare module \"lib/file2\" {\n export const y = 20;\n}\ndeclare const globalConst = 10;\n","latestChangedDtsFile":"./module.d.ts"},"version":"FakeTSVersion"} //// [/src/module.tsbuildinfo.readable.baseline.txt] { @@ -594,46 +566,11 @@ sourceFile:lib/global.ts "./lib/global.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./lib/file0.ts": { - "original": { - "version": "3587416848-const myGlob = 20;", - "impliedFormat": 1 - }, - "version": "3587416848-const myGlob = 20;", - "impliedFormat": "commonjs" - }, - "./lib/file1.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, - "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" - }, - "./lib/file2.ts": { - "original": { - "version": "-13729954175-export const y = 20;", - "impliedFormat": 1 - }, - "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" - }, - "./lib/global.ts": { - "original": { - "version": "1028229885-const globalConst = 10;", - "impliedFormat": 1 - }, - "version": "1028229885-const globalConst = 10;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./lib/file0.ts": "3587416848-const myGlob = 20;", + "./lib/file1.ts": "-10726455937-export const x = 10;", + "./lib/file2.ts": "-13729954175-export const y = 20;", + "./lib/global.ts": "1028229885-const globalConst = 10;" }, "root": [ [ @@ -663,6 +600,6 @@ sourceFile:lib/global.ts "latestChangedDtsFile": "./module.d.ts" }, "version": "FakeTSVersion", - "size": 1298 + "size": 1148 } diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js index 17a95b82ac243..918e09f7a194c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-discrepancies.js @@ -8,24 +8,19 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "version": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -64,24 +59,19 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "version": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -123,24 +113,19 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "version": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -179,24 +164,19 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "version": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -238,24 +218,19 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "version": "-17390360476-export const a = 10;const aLocal = 100;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -294,24 +269,19 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "version": "-17390360476-export const a = 10;const aLocal = 100;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js index 54113d75277c4..f1a01023d94fe 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-discrepancies.js @@ -8,24 +8,19 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "version": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -60,24 +55,19 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "version": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -119,24 +109,19 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "version": "-17390360476-export const a = 10;const aLocal = 100;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -171,24 +156,19 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "version": "-17390360476-export const a = 10;const aLocal = 100;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js index e84c1aa9a3254..e39854108f896 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile-discrepancies.js @@ -8,26 +8,11 @@ CleanBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -54,26 +39,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -108,26 +78,11 @@ CleanBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -154,26 +109,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js index b55571cdeac49..637781271dcdf 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental-with-outFile.js @@ -103,7 +103,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -116,46 +116,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -177,7 +142,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1034 + "size": 884 } @@ -255,7 +220,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -268,46 +233,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -330,7 +260,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1051 + "size": 901 } @@ -404,7 +334,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -417,46 +347,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -478,7 +373,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1034 + "size": 884 } @@ -539,7 +434,7 @@ declare module "d" { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -552,46 +447,11 @@ declare module "d" { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -614,7 +474,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1053 + "size": 903 } @@ -679,7 +539,7 @@ declare module "d" { {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -692,46 +552,11 @@ declare module "d" { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -755,7 +580,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1075 + "size": 925 } @@ -848,7 +673,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -861,46 +686,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -922,7 +712,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1035 + "size": 885 } @@ -971,7 +761,7 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.d.ts.map] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -984,46 +774,11 @@ No shapes updated in the builder:: "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1047,7 +802,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1076 + "size": 926 } @@ -1138,7 +893,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1151,46 +906,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1213,7 +933,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1058 + "size": 908 } @@ -1291,7 +1011,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1304,46 +1024,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1366,7 +1051,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1052 + "size": 902 } @@ -1440,7 +1125,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1453,46 +1138,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1514,7 +1164,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1035 + "size": 885 } @@ -1563,7 +1213,7 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.d.ts.map] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1576,46 +1226,11 @@ No shapes updated in the builder:: "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1639,7 +1254,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1076 + "size": 926 } diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js index 41637b9841e58..5de1378b4c45c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-incremental.js @@ -112,7 +112,7 @@ exports.d = b_1.b; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -136,49 +136,27 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "signature": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "signature": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "signature": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "signature": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -205,7 +183,7 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1037 + "size": 899 } @@ -293,7 +271,7 @@ exports.d = b_1.b; {"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -317,49 +295,27 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "signature": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "signature": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "signature": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "signature": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -389,7 +345,7 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1066 + "size": 928 } @@ -464,7 +420,7 @@ exports.d = b_1.b; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -488,49 +444,27 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "signature": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "signature": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "signature": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "signature": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -557,7 +491,7 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1037 + "size": 899 } @@ -617,7 +551,7 @@ export declare const d = 10; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -641,53 +575,43 @@ export declare const d = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -717,7 +641,7 @@ export declare const d = 10; } }, "version": "FakeTSVersion", - "size": 1296 + "size": 1206 } @@ -790,7 +714,7 @@ export declare const d = 10; {"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -814,53 +738,43 @@ export declare const d = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -891,7 +805,7 @@ export declare const d = 10; } }, "version": "FakeTSVersion", - "size": 1318 + "size": 1228 } @@ -963,7 +877,7 @@ var aLocal = 100; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -987,53 +901,43 @@ var aLocal = 100; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1060,7 +964,7 @@ var aLocal = 100; } }, "version": "FakeTSVersion", - "size": 1266 + "size": 1176 } @@ -1113,7 +1017,7 @@ No shapes updated in the builder:: //// [/src/project/d.d.ts] file written with same contents //// [/src/project/d.d.ts.map] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1137,53 +1041,43 @@ No shapes updated in the builder:: "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1214,7 +1108,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1319 + "size": 1229 } @@ -1306,7 +1200,7 @@ exports.d = b_1.b; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"inlineSourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"inlineSourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1330,53 +1224,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1406,7 +1290,7 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1301 + "size": 1211 } @@ -1488,7 +1372,7 @@ exports.d = b_1.b; //// [/src/project/d.js.map] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1512,53 +1396,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1588,7 +1462,7 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1295 + "size": 1205 } @@ -1663,7 +1537,7 @@ exports.d = b_1.b; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1687,53 +1561,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1760,7 +1624,7 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1266 + "size": 1176 } @@ -1813,7 +1677,7 @@ No shapes updated in the builder:: //// [/src/project/d.d.ts] file written with same contents //// [/src/project/d.d.ts.map] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1837,53 +1701,43 @@ No shapes updated in the builder:: "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1914,7 +1768,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1319 + "size": 1229 } diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js index 4467e4ae0572e..c6e40e5d0a283 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile-discrepancies.js @@ -6,26 +6,11 @@ CleanBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -56,26 +41,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -111,26 +81,11 @@ CleanBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -161,26 +116,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -214,26 +154,11 @@ CleanBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -264,26 +189,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js index 8bb5a4e497042..4281b6b070a3f 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options-with-outFile.js @@ -118,7 +118,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -131,46 +131,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -195,7 +160,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1334 + "size": 1184 } @@ -273,7 +238,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -286,46 +251,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -351,7 +281,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1351 + "size": 1201 } @@ -425,7 +355,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -438,46 +368,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -502,7 +397,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1334 + "size": 1184 } @@ -599,7 +494,7 @@ declare module "d" { {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -612,46 +507,11 @@ declare module "d" { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -678,7 +538,7 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1375 + "size": 1225 } @@ -738,7 +598,7 @@ declare module "d" { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -751,46 +611,11 @@ declare module "d" { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -815,7 +640,7 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1334 + "size": 1184 } @@ -924,7 +749,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -937,46 +762,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1001,7 +791,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1335 + "size": 1185 } @@ -1092,7 +882,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1105,46 +895,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1170,7 +925,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1358 + "size": 1208 } @@ -1248,7 +1003,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1261,46 +1016,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1326,6 +1046,6 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1352 + "size": 1202 } diff --git a/tests/baselines/reference/tsbuild/commandLine/different-options.js b/tests/baselines/reference/tsbuild/commandLine/different-options.js index 959c70a4753cb..88119c7589b9f 100644 --- a/tests/baselines/reference/tsbuild/commandLine/different-options.js +++ b/tests/baselines/reference/tsbuild/commandLine/different-options.js @@ -128,7 +128,7 @@ exports.d = b_1.b; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -152,53 +152,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -229,7 +219,7 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1328 + "size": 1238 } @@ -317,7 +307,7 @@ exports.d = b_1.b; {"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -341,53 +331,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -419,7 +399,7 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1345 + "size": 1255 } @@ -494,7 +474,7 @@ exports.d = b_1.b; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -518,53 +498,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -595,7 +565,7 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1328 + "size": 1238 } @@ -700,7 +670,7 @@ export declare const d = 10; {"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -724,53 +694,43 @@ export declare const d = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -803,7 +763,7 @@ export declare const d = 10; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1369 + "size": 1279 } @@ -862,7 +822,7 @@ export declare const d = 10; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -886,53 +846,43 @@ export declare const d = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -963,7 +913,7 @@ export declare const d = 10; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1328 + "size": 1238 } @@ -1051,7 +1001,7 @@ var aLocal = 100; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1075,53 +1025,43 @@ var aLocal = 100; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1152,7 +1092,7 @@ var aLocal = 100; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1329 + "size": 1239 } @@ -1244,7 +1184,7 @@ exports.d = b_1.b; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1268,53 +1208,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1346,7 +1276,7 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1352 + "size": 1262 } @@ -1428,7 +1358,7 @@ exports.d = b_1.b; //// [/src/project/d.js.map] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1452,53 +1382,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1530,6 +1450,6 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1346 + "size": 1256 } diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js index 89aaceda67742..04949bfb42da7 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-discrepancies.js @@ -8,24 +8,19 @@ CleanBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -64,24 +59,19 @@ IncrementalBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -121,28 +111,22 @@ CleanBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { - "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "version": "-3497920574-export declare const a = 10;\n" }, "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -181,28 +165,22 @@ IncrementalBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { - "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "version": "-3497920574-export declare const a = 10;\n" }, "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js index d9397c8617edc..826dee96b6c9c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-discrepancies.js @@ -8,24 +8,19 @@ CleanBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -63,24 +58,19 @@ IncrementalBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" + "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -119,28 +109,22 @@ CleanBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { - "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "version": "-3497920574-export declare const a = 10;\n" }, "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -186,28 +170,22 @@ IncrementalBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { - "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "version": "-3497920574-export declare const a = 10;\n" }, "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js index 09e16ac254310..42050daabce36 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js @@ -6,26 +6,11 @@ CleanBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -54,26 +39,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js index d0ead60f1708f..fae2acf86c5c3 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -160,7 +160,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -173,46 +173,11 @@ declare module "d" { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -236,7 +201,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1067 + "size": 917 } @@ -386,7 +351,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.d.ts] file written with same contents //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -399,46 +364,11 @@ No shapes updated in the builder:: "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": 1 - }, - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -462,7 +392,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1081 + "size": 931 } @@ -581,7 +511,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -594,46 +524,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": 1 - }, - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -657,7 +552,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1082 + "size": 932 } @@ -895,7 +790,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","impliedFormat":1},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -908,46 +803,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": 1 - }, - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", - "impliedFormat": 1 - }, - "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -971,6 +831,6 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1099 + "size": 949 } diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js index c23d7d7171f7f..fec7a049566b7 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-declaration-and-incremental.js @@ -164,7 +164,7 @@ export declare const d = 10; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -188,53 +188,43 @@ export declare const d = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -265,11 +255,11 @@ export declare const d = 10; } }, "version": "FakeTSVersion", - "size": 1326 + "size": 1236 } //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":false,"impliedFormat":1},{"version":"-3497920574-export declare const a = 10;\n","signature":false,"impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false,"impliedFormat":1},{"version":"-3829150557-export declare const b = 10;\n","signature":false,"impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false,"impliedFormat":1}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-3497920574-export declare const a = 10;\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-3829150557-export declare const b = 10;\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -295,57 +285,45 @@ export declare const d = 10; "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { "original": { "version": "-3497920574-export declare const a = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "version": "-3497920574-export declare const a = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { "original": { "version": "-3829150557-export declare const b = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -384,7 +362,7 @@ export declare const d = 10; ] }, "version": "FakeTSVersion", - "size": 1368 + "size": 1260 } @@ -532,7 +510,7 @@ No shapes updated in the builder:: //// [/src/project1/src/a.d.ts] file written with same contents //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -556,53 +534,43 @@ No shapes updated in the builder:: "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -633,7 +601,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1340 + "size": 1250 } @@ -752,7 +720,7 @@ exports.d = b_1.b; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -776,53 +744,43 @@ exports.d = b_1.b; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -853,11 +811,11 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1341 + "size": 1251 } //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":false,"impliedFormat":1},{"version":"-3497920574-export declare const a = 10;\n","signature":false,"impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false,"impliedFormat":1},{"version":"-3829150557-export declare const b = 10;\n","signature":false,"impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false,"impliedFormat":1}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":false},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-3497920574-export declare const a = 10;\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-3829150557-export declare const b = 10;\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":false},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -883,57 +841,45 @@ exports.d = b_1.b; "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { "original": { "version": "-3497920574-export declare const a = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "version": "-3497920574-export declare const a = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { "original": { "version": "-3829150557-export declare const b = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -972,7 +918,7 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 1369 + "size": 1261 } @@ -1185,7 +1131,7 @@ var blocal = 10; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1209,53 +1155,43 @@ var blocal = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1286,6 +1222,6 @@ var blocal = 10; } }, "version": "FakeTSVersion", - "size": 1358 + "size": 1268 } diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js index 361b265b8fa8d..b70cecc60e1c4 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile-discrepancies.js @@ -6,26 +6,11 @@ CleanBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -56,26 +41,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -107,26 +77,11 @@ CleanBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../project1/outfile.d.ts": { - "version": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" - }, - "./src/e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" - }, - "./src/f.ts": { - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" - }, - "./src/g.ts": { - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "root": [ [ @@ -156,26 +111,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../project1/outfile.d.ts": { - "version": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" - }, - "./src/e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" - }, - "./src/f.ts": { - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" - }, - "./src/g.ts": { - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "root": [ [ diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js index 5d3a82b3a537b..f9a2280f7b598 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline-with-outFile.js @@ -144,7 +144,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -157,46 +157,11 @@ declare module "d" { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -222,7 +187,7 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1348 + "size": 1198 } //// [/src/project2/outFile.d.ts] @@ -238,7 +203,7 @@ declare module "g" { //// [/src/project2/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","impliedFormat":1},{"version":"-13789510868-export const e = 10;","impliedFormat":1},{"version":"-4849089835-import { a } from \"a\"; export const f = a;","impliedFormat":1},{"version":"-18341999015-import { b } from \"b\"; export const g = b;","impliedFormat":1}],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] { @@ -251,46 +216,11 @@ declare module "g" { "./src/g.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../project1/outfile.d.ts": { - "original": { - "version": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": 1 - }, - "version": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" - }, - "./src/e.ts": { - "original": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": 1 - }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" - }, - "./src/f.ts": { - "original": { - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": 1 - }, - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" - }, - "./src/g.ts": { - "original": { - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": 1 - }, - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "root": [ [ @@ -315,7 +245,7 @@ declare module "g" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1465 + "size": 1315 } @@ -388,7 +318,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -401,46 +331,11 @@ No shapes updated in the builder:: "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": 1 - }, - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -466,7 +361,7 @@ No shapes updated in the builder:: "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1362 + "size": 1212 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time @@ -572,7 +467,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -585,46 +480,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": 1 - }, - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -650,7 +510,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1363 + "size": 1213 } //// [/src/project2/outFile.js] @@ -675,7 +535,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project2/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","impliedFormat":1},{"version":"-13789510868-export const e = 10;","impliedFormat":1},{"version":"-4849089835-import { a } from \"a\"; export const f = a;","impliedFormat":1},{"version":"-18341999015-import { b } from \"b\"; export const g = b;","impliedFormat":1}],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] { @@ -688,46 +548,11 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "./src/g.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../project1/outfile.d.ts": { - "original": { - "version": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": 1 - }, - "version": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" - }, - "./src/e.ts": { - "original": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": 1 - }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" - }, - "./src/f.ts": { - "original": { - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": 1 - }, - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" - }, - "./src/g.ts": { - "original": { - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": 1 - }, - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "root": [ [ @@ -752,7 +577,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1466 + "size": 1316 } @@ -875,7 +700,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","impliedFormat":1},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -888,46 +713,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": 1 - }, - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", - "impliedFormat": 1 - }, - "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -953,7 +743,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1380 + "size": 1230 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js index 00914cd270e76..d4eb8a9423061 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-false-on-commandline.js @@ -160,7 +160,7 @@ export declare const d = 10; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -184,53 +184,43 @@ export declare const d = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -262,7 +252,7 @@ export declare const d = 10; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1358 + "size": 1268 } //// [/src/project2/src/e.d.ts] @@ -278,7 +268,7 @@ export declare const g = 10; //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n","impliedFormat":1},{"version":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n","impliedFormat":1},{"version":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n","impliedFormat":1}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -303,61 +293,43 @@ export declare const g = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": 1 + "signature": "-4822840506-export declare const e = 10;\n" }, "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4822840506-export declare const e = 10;\n" }, "../../project1/src/a.d.ts": { - "original": { - "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 - }, "version": "-3497920574-export declare const a = 10;\n", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": 1 + "signature": "-5154070489-export declare const f = 10;\n" }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5154070489-export declare const f = 10;\n" }, "../../project1/src/b.d.ts": { - "original": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 - }, "version": "-3829150557-export declare const b = 10;\n", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": 1 + "signature": "-5485300472-export declare const g = 10;\n" }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5485300472-export declare const g = 10;\n" } }, "root": [ @@ -389,7 +361,7 @@ export declare const g = 10; "latestChangedDtsFile": "./g.d.ts" }, "version": "FakeTSVersion", - "size": 1433 + "size": 1301 } @@ -462,7 +434,7 @@ Shape signatures in builder refreshed for:: //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -486,53 +458,43 @@ Shape signatures in builder refreshed for:: "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -564,7 +526,7 @@ Shape signatures in builder refreshed for:: "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1372 + "size": 1282 } //// [/src/project2/src/tsconfig.tsbuildinfo] file changed its modified time @@ -670,7 +632,7 @@ exports.d = b_1.b; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -694,53 +656,43 @@ exports.d = b_1.b; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -772,7 +724,7 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1373 + "size": 1283 } //// [/src/project2/src/e.js] @@ -799,7 +751,7 @@ exports.g = b_1.b; //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n","impliedFormat":1},{"version":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n","impliedFormat":1},{"version":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n","impliedFormat":1}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":false},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":false},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -824,61 +776,43 @@ exports.g = b_1.b; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": 1 + "signature": "-4822840506-export declare const e = 10;\n" }, "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4822840506-export declare const e = 10;\n" }, "../../project1/src/a.d.ts": { - "original": { - "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 - }, "version": "-3497920574-export declare const a = 10;\n", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": 1 + "signature": "-5154070489-export declare const f = 10;\n" }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5154070489-export declare const f = 10;\n" }, "../../project1/src/b.d.ts": { - "original": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 - }, "version": "-3829150557-export declare const b = 10;\n", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": 1 + "signature": "-5485300472-export declare const g = 10;\n" }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5485300472-export declare const g = 10;\n" } }, "root": [ @@ -910,7 +844,7 @@ exports.g = b_1.b; "latestChangedDtsFile": "./g.d.ts" }, "version": "FakeTSVersion", - "size": 1434 + "size": 1302 } @@ -1011,7 +945,7 @@ var blocal = 10; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"2355059555-export const b = 10;const bLocal = 10;const blocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":false},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1035,53 +969,43 @@ var blocal = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "2355059555-export const b = 10;const bLocal = 10;const blocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1113,7 +1037,7 @@ var blocal = 10; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1390 + "size": 1300 } //// [/src/project2/src/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js index 80ac0f549dd8c..4e624cd511690 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-discrepancies.js @@ -8,24 +8,19 @@ CleanBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -64,24 +59,19 @@ IncrementalBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -120,28 +110,22 @@ CleanBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -180,28 +164,22 @@ IncrementalBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -243,28 +221,22 @@ CleanBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -303,28 +275,22 @@ IncrementalBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js index 7647f2c5e41f5..9819560bf9390 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-discrepancies.js @@ -8,24 +8,19 @@ CleanBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -63,24 +58,19 @@ IncrementalBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" + "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -118,28 +108,22 @@ CleanBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -185,28 +169,22 @@ IncrementalBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -255,28 +233,22 @@ CleanBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -322,28 +294,22 @@ IncrementalBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js index e1c4f162e626e..dd6ccad41597c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile-discrepancies.js @@ -6,26 +6,11 @@ CleanBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -54,26 +39,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js index 6bb6c287b0d03..2752bf52e36f5 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental-with-outFile.js @@ -158,7 +158,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -171,46 +171,11 @@ declare module "d" { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -234,7 +199,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1067 + "size": 917 } @@ -384,7 +349,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.d.ts] file written with same contents //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -397,46 +362,11 @@ No shapes updated in the builder:: "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": 1 - }, - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -460,7 +390,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1081 + "size": 931 } @@ -568,7 +498,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -581,46 +511,11 @@ declare module "d" { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": 1 - }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -644,7 +539,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1102 + "size": 952 } @@ -762,7 +657,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -775,46 +670,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": 1 - }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -837,7 +697,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1075 + "size": 925 } @@ -1017,7 +877,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","impliedFormat":1},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1030,46 +890,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": 1 - }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", - "impliedFormat": 1 - }, - "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1092,7 +917,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1093 + "size": 943 } @@ -1185,7 +1010,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.d.ts] file written with same contents //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","impliedFormat":1},{"version":"-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1198,46 +1023,11 @@ No shapes updated in the builder:: "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": 1 - }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", - "impliedFormat": 1 - }, - "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1261,7 +1051,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1136 + "size": 986 } @@ -1370,7 +1160,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","impliedFormat":1},{"version":"-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1383,46 +1173,11 @@ declare module "d" { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": 1 - }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", - "impliedFormat": 1 - }, - "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1446,7 +1201,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1160 + "size": 1010 } @@ -1589,7 +1344,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","impliedFormat":1},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1602,46 +1357,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": 1 - }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", - "impliedFormat": 1 - }, - "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1664,6 +1384,6 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1155 + "size": 1005 } diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js index 42f18aa60d680..452c10c1f802c 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-declaration-and-incremental.js @@ -162,7 +162,7 @@ export declare const d = 10; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -186,53 +186,43 @@ export declare const d = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -263,11 +253,11 @@ export declare const d = 10; } }, "version": "FakeTSVersion", - "size": 1326 + "size": 1236 } //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":false,"impliedFormat":1},{"version":"-3497920574-export declare const a = 10;\n","signature":false,"impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false,"impliedFormat":1},{"version":"-3829150557-export declare const b = 10;\n","signature":false,"impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false,"impliedFormat":1}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-3497920574-export declare const a = 10;\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-3829150557-export declare const b = 10;\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -293,57 +283,45 @@ export declare const d = 10; "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { "original": { "version": "-3497920574-export declare const a = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "version": "-3497920574-export declare const a = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { "original": { "version": "-3829150557-export declare const b = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -382,7 +360,7 @@ export declare const d = 10; ] }, "version": "FakeTSVersion", - "size": 1368 + "size": 1260 } @@ -530,7 +508,7 @@ No shapes updated in the builder:: //// [/src/project1/src/a.d.ts] file written with same contents //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -554,53 +532,43 @@ No shapes updated in the builder:: "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -631,7 +599,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1340 + "size": 1250 } @@ -730,7 +698,7 @@ export declare const aaa = 10; //// [/src/project1/src/c.d.ts] file written with same contents //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -754,53 +722,43 @@ export declare const aaa = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -831,11 +789,11 @@ export declare const aaa = 10; } }, "version": "FakeTSVersion", - "size": 1393 + "size": 1303 } //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":false,"impliedFormat":1},{"version":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","signature":false,"impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false,"impliedFormat":1},{"version":"-3829150557-export declare const b = 10;\n","signature":false,"impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false,"impliedFormat":1}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-3829150557-export declare const b = 10;\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -861,57 +819,45 @@ export declare const aaa = 10; "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { "original": { "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { "original": { "version": "-3829150557-export declare const b = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -950,7 +896,7 @@ export declare const aaa = 10; ] }, "version": "FakeTSVersion", - "size": 1400 + "size": 1292 } @@ -1068,7 +1014,7 @@ exports.d = b_1.b; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1092,53 +1038,43 @@ exports.d = b_1.b; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1168,11 +1104,11 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1366 + "size": 1276 } //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":false,"impliedFormat":1},{"version":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","signature":false,"impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false,"impliedFormat":1},{"version":"-3829150557-export declare const b = 10;\n","signature":false,"impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false,"impliedFormat":1}],"root":[2,4,6],"options":{"declaration":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-3829150557-export declare const b = 10;\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"root":[2,4,6],"options":{"declaration":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1198,57 +1134,45 @@ exports.d = b_1.b; "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { "original": { "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { "original": { "version": "-3829150557-export declare const b = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "version": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -1286,7 +1210,7 @@ exports.d = b_1.b; ] }, "version": "FakeTSVersion", - "size": 1373 + "size": 1265 } @@ -1441,7 +1365,7 @@ var alocal = 10; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1465,53 +1389,43 @@ var alocal = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./b.ts": { "original": { "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1541,7 +1455,7 @@ var alocal = 10; } }, "version": "FakeTSVersion", - "size": 1384 + "size": 1294 } @@ -1633,7 +1547,7 @@ No shapes updated in the builder:: //// [/src/project1/src/b.d.ts] file written with same contents //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1657,53 +1571,43 @@ No shapes updated in the builder:: "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./b.ts": { "original": { "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1734,7 +1638,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1427 + "size": 1337 } @@ -1833,7 +1737,7 @@ export declare const aaaaa = 10; //// [/src/project1/src/d.d.ts] file written with same contents //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","signature":"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","signature":"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1857,53 +1761,43 @@ export declare const aaaaa = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./b.ts": { "original": { "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", - "signature": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", - "impliedFormat": 1 + "signature": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n" }, "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", - "signature": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1934,11 +1828,11 @@ export declare const aaaaa = 10; } }, "version": "FakeTSVersion", - "size": 1484 + "size": 1394 } //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":false,"impliedFormat":1},{"version":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","signature":false,"impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false,"impliedFormat":1},{"version":"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n","signature":false,"impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false,"impliedFormat":1}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"root":[2,4,6],"options":{"declaration":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1964,57 +1858,45 @@ export declare const aaaaa = 10; "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { "original": { "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { "original": { "version": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", - "impliedFormat": "commonjs" + "version": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -2053,7 +1935,7 @@ export declare const aaaaa = 10; ] }, "version": "FakeTSVersion", - "size": 1433 + "size": 1325 } @@ -2166,7 +2048,7 @@ exports.a2 = 10; //// [/src/project1/src/d.d.ts] file written with same contents //// [/src/project1/src/d.js] file written with same contents //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","signature":"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","signature":"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2190,53 +2072,43 @@ exports.a2 = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./b.ts": { "original": { "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", - "signature": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", - "impliedFormat": 1 + "signature": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n" }, "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", - "signature": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", - "impliedFormat": "commonjs" + "signature": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -2266,11 +2138,11 @@ exports.a2 = 10; } }, "version": "FakeTSVersion", - "size": 1511 + "size": 1421 } //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":false,"impliedFormat":1},{"version":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","signature":false,"impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false,"impliedFormat":1},{"version":"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n","signature":false,"impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false,"impliedFormat":1}],"root":[2,4,6],"options":{"declaration":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":false},{"version":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","signature":false},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":false},{"version":"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n","signature":false},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":false}],"root":[2,4,6],"options":{"declaration":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"changeFileSet":[1,3,5,2,4,6]},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2296,57 +2168,45 @@ exports.a2 = 10; "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" + "version": "-13789510868-export const e = 10;" }, "../../project1/src/a.d.ts": { "original": { "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "impliedFormat": "commonjs" + "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;" }, "../../project1/src/b.d.ts": { "original": { "version": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", - "impliedFormat": "commonjs" + "version": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "impliedFormat": "commonjs" + "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;" } }, "root": [ @@ -2384,6 +2244,6 @@ exports.a2 = 10; ] }, "version": "FakeTSVersion", - "size": 1438 + "size": 1330 } diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js index 73615d3ab3057..98ac704ddf1db 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile-discrepancies.js @@ -6,26 +6,11 @@ CleanBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -56,26 +41,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -106,26 +76,11 @@ CleanBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../project1/outfile.d.ts": { - "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" - }, - "./src/e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" - }, - "./src/f.ts": { - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" - }, - "./src/g.ts": { - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "root": [ [ @@ -155,26 +110,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../project1/outfile.d.ts": { - "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" - }, - "./src/e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" - }, - "./src/f.ts": { - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" - }, - "./src/g.ts": { - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "root": [ [ @@ -207,26 +147,11 @@ CleanBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../project1/outfile.d.ts": { - "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" - }, - "./src/e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" - }, - "./src/f.ts": { - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" - }, - "./src/g.ts": { - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "root": [ [ @@ -256,26 +181,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../project1/outfile.d.ts": { - "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" - }, - "./src/e.ts": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" - }, - "./src/f.ts": { - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" - }, - "./src/g.ts": { - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "root": [ [ diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js index 84f27dc5278a6..b0069ebe5a83b 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline-with-outFile.js @@ -142,7 +142,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -155,46 +155,11 @@ declare module "d" { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -220,7 +185,7 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1348 + "size": 1198 } //// [/src/project2/outFile.d.ts] @@ -236,7 +201,7 @@ declare module "g" { //// [/src/project2/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","impliedFormat":1},{"version":"-13789510868-export const e = 10;","impliedFormat":1},{"version":"-4849089835-import { a } from \"a\"; export const f = a;","impliedFormat":1},{"version":"-18341999015-import { b } from \"b\"; export const g = b;","impliedFormat":1}],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] { @@ -249,46 +214,11 @@ declare module "g" { "./src/g.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../project1/outfile.d.ts": { - "original": { - "version": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": 1 - }, - "version": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" - }, - "./src/e.ts": { - "original": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": 1 - }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" - }, - "./src/f.ts": { - "original": { - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": 1 - }, - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" - }, - "./src/g.ts": { - "original": { - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": 1 - }, - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../project1/outfile.d.ts": "-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "root": [ [ @@ -313,7 +243,7 @@ declare module "g" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1465 + "size": 1315 } @@ -386,7 +316,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -399,46 +329,11 @@ No shapes updated in the builder:: "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": 1 - }, - "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -464,7 +359,7 @@ No shapes updated in the builder:: "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1362 + "size": 1212 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time @@ -559,7 +454,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -572,46 +467,11 @@ declare module "d" { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": 1 - }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -637,11 +497,11 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1408 + "size": 1258 } //// [/src/project2/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","impliedFormat":1},{"version":"-13789510868-export const e = 10;","impliedFormat":1},{"version":"-4849089835-import { a } from \"a\"; export const f = a;","impliedFormat":1},{"version":"-18341999015-import { b } from \"b\"; export const g = b;","impliedFormat":1}],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] { @@ -654,46 +514,11 @@ declare module "d" { "./src/g.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../project1/outfile.d.ts": { - "original": { - "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": 1 - }, - "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" - }, - "./src/e.ts": { - "original": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": 1 - }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" - }, - "./src/f.ts": { - "original": { - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": 1 - }, - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" - }, - "./src/g.ts": { - "original": { - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": 1 - }, - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "root": [ [ @@ -718,7 +543,7 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1490 + "size": 1340 } @@ -822,7 +647,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -835,46 +660,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": 1 - }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -899,7 +689,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1381 + "size": 1231 } //// [/src/project2/outFile.js] @@ -924,7 +714,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project2/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","impliedFormat":1},{"version":"-13789510868-export const e = 10;","impliedFormat":1},{"version":"-4849089835-import { a } from \"a\"; export const f = a;","impliedFormat":1},{"version":"-18341999015-import { b } from \"b\"; export const g = b;","impliedFormat":1}],"root":[[3,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] { @@ -937,46 +727,11 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "./src/g.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../project1/outfile.d.ts": { - "original": { - "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": 1 - }, - "version": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" - }, - "./src/e.ts": { - "original": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": 1 - }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" - }, - "./src/f.ts": { - "original": { - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": 1 - }, - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" - }, - "./src/g.ts": { - "original": { - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": 1 - }, - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../project1/outfile.d.ts": "106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "root": [ [ @@ -1000,7 +755,7 @@ define("g", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1463 + "size": 1313 } @@ -1104,7 +859,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","impliedFormat":1},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1117,46 +872,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": 1 - }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", - "impliedFormat": 1 - }, - "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1181,7 +901,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1399 + "size": 1249 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time @@ -1236,7 +956,7 @@ No shapes updated in the builder:: //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","impliedFormat":1},{"version":"-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"106974224-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1249,46 +969,11 @@ No shapes updated in the builder:: "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": 1 - }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", - "impliedFormat": 1 - }, - "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1314,7 +999,7 @@ No shapes updated in the builder:: "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1442 + "size": 1292 } //// [/src/project2/outFile.tsbuildinfo] file changed its modified time @@ -1410,7 +1095,7 @@ declare module "d" { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","impliedFormat":1},{"version":"-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1423,46 +1108,11 @@ declare module "d" { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": 1 - }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", - "impliedFormat": 1 - }, - "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1488,11 +1138,11 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1498 + "size": 1348 } //// [/src/project2/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","impliedFormat":1},{"version":"-13789510868-export const e = 10;","impliedFormat":1},{"version":"-4849089835-import { a } from \"a\"; export const f = a;","impliedFormat":1},{"version":"-18341999015-import { b } from \"b\"; export const g = b;","impliedFormat":1}],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"emitDeclarationOnly":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1505,46 +1155,11 @@ declare module "d" { "./src/g.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../project1/outfile.d.ts": { - "original": { - "version": "-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": 1 - }, - "version": "-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" - }, - "./src/e.ts": { - "original": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": 1 - }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" - }, - "./src/f.ts": { - "original": { - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": 1 - }, - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" - }, - "./src/g.ts": { - "original": { - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": 1 - }, - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../project1/outfile.d.ts": "-3908737535-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "root": [ [ @@ -1569,7 +1184,7 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1522 + "size": 1372 } @@ -1698,7 +1313,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/project1/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","impliedFormat":1},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/a.ts","./src/b.ts","./src/c.ts","./src/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1711,46 +1326,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./src/d.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": 1 - }, - "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", - "impliedFormat": 1 - }, - "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", - "impliedFormat": "commonjs" - }, - "./src/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./src/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", + "./src/b.ts": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", + "./src/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./src/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1775,12 +1355,12 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1519 + "size": 1369 } //// [/src/project2/outFile.js] file written with same contents //// [/src/project2/outFile.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","impliedFormat":1},{"version":"-13789510868-export const e = 10;","impliedFormat":1},{"version":"-4849089835-import { a } from \"a\"; export const f = a;","impliedFormat":1},{"version":"-18341999015-import { b } from \"b\"; export const g = b;","impliedFormat":1}],"root":[[3,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../project1/outfile.d.ts","./src/e.ts","./src/f.ts","./src/g.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","-13789510868-export const e = 10;","-4849089835-import { a } from \"a\"; export const f = a;","-18341999015-import { b } from \"b\"; export const g = b;"],"root":[[3,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12964815745-declare module \"e\" {\n export const e = 10;\n}\ndeclare module \"f\" {\n export const f = 10;\n}\ndeclare module \"g\" {\n export const g = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1793,46 +1373,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./src/g.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../project1/outfile.d.ts": { - "original": { - "version": "1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": 1 - }, - "version": "1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", - "impliedFormat": "commonjs" - }, - "./src/e.ts": { - "original": { - "version": "-13789510868-export const e = 10;", - "impliedFormat": 1 - }, - "version": "-13789510868-export const e = 10;", - "impliedFormat": "commonjs" - }, - "./src/f.ts": { - "original": { - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": 1 - }, - "version": "-4849089835-import { a } from \"a\"; export const f = a;", - "impliedFormat": "commonjs" - }, - "./src/g.ts": { - "original": { - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": 1 - }, - "version": "-18341999015-import { b } from \"b\"; export const g = b;", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../project1/outfile.d.ts": "1646858368-declare module \"a\" {\n export const a = 10;\n export const aaa = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n export const aaaaa = 10;\n export const a2 = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n", + "./src/e.ts": "-13789510868-export const e = 10;", + "./src/f.ts": "-4849089835-import { a } from \"a\"; export const f = a;", + "./src/g.ts": "-18341999015-import { b } from \"b\"; export const g = b;" }, "root": [ [ @@ -1856,6 +1401,6 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1521 + "size": 1371 } diff --git a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js index 4b416a0a750ec..1fa0faa077fbd 100644 --- a/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js +++ b/tests/baselines/reference/tsbuild/commandLine/emitDeclarationOnly-on-commandline.js @@ -158,7 +158,7 @@ export declare const d = 10; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,53 +182,43 @@ export declare const d = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -260,7 +250,7 @@ export declare const d = 10; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1358 + "size": 1268 } //// [/src/project2/src/e.d.ts] @@ -276,7 +266,7 @@ export declare const g = 10; //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n","impliedFormat":1},{"version":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n","impliedFormat":1},{"version":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n","impliedFormat":1}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-3497920574-export declare const a = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -301,61 +291,43 @@ export declare const g = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": 1 + "signature": "-4822840506-export declare const e = 10;\n" }, "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4822840506-export declare const e = 10;\n" }, "../../project1/src/a.d.ts": { - "original": { - "version": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 - }, "version": "-3497920574-export declare const a = 10;\n", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": 1 + "signature": "-5154070489-export declare const f = 10;\n" }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5154070489-export declare const f = 10;\n" }, "../../project1/src/b.d.ts": { - "original": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 - }, "version": "-3829150557-export declare const b = 10;\n", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": 1 + "signature": "-5485300472-export declare const g = 10;\n" }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5485300472-export declare const g = 10;\n" } }, "root": [ @@ -387,7 +359,7 @@ export declare const g = 10; "latestChangedDtsFile": "./g.d.ts" }, "version": "FakeTSVersion", - "size": 1433 + "size": 1301 } @@ -460,7 +432,7 @@ Shape signatures in builder refreshed for:: //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16597586570-export const a = 10;const aLocal = 10;const aa = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -484,53 +456,43 @@ Shape signatures in builder refreshed for:: "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-16597586570-export const a = 10;const aLocal = 10;const aa = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -562,7 +524,7 @@ Shape signatures in builder refreshed for:: "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1372 + "size": 1282 } //// [/src/project2/src/tsconfig.tsbuildinfo] file changed its modified time @@ -651,7 +613,7 @@ export declare const aaa = 10; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -675,53 +637,43 @@ export declare const aaa = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -753,11 +705,11 @@ export declare const aaa = 10; "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 1425 + "size": 1335 } //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n","impliedFormat":1},{"version":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n","impliedFormat":1},{"version":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n","impliedFormat":1}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -782,61 +734,43 @@ export declare const aaa = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": 1 + "signature": "-4822840506-export declare const e = 10;\n" }, "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4822840506-export declare const e = 10;\n" }, "../../project1/src/a.d.ts": { - "original": { - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 - }, "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": 1 + "signature": "-5154070489-export declare const f = 10;\n" }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5154070489-export declare const f = 10;\n" }, "../../project1/src/b.d.ts": { - "original": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 - }, "version": "-3829150557-export declare const b = 10;\n", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": 1 + "signature": "-5485300472-export declare const g = 10;\n" }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5485300472-export declare const g = 10;\n" } }, "root": [ @@ -868,7 +802,7 @@ export declare const aaa = 10; "latestChangedDtsFile": "./g.d.ts" }, "version": "FakeTSVersion", - "size": 1465 + "size": 1333 } @@ -972,7 +906,7 @@ exports.d = b_1.b; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -996,53 +930,43 @@ exports.d = b_1.b; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1073,7 +997,7 @@ exports.d = b_1.b; "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 1398 + "size": 1308 } //// [/src/project2/src/e.js] @@ -1100,7 +1024,7 @@ exports.g = b_1.b; //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n","impliedFormat":1},{"version":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n","impliedFormat":1},{"version":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n","impliedFormat":1}],"root":[2,4,6],"options":{"composite":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-3829150557-export declare const b = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1125,61 +1049,43 @@ exports.g = b_1.b; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": 1 + "signature": "-4822840506-export declare const e = 10;\n" }, "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4822840506-export declare const e = 10;\n" }, "../../project1/src/a.d.ts": { - "original": { - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 - }, "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": 1 + "signature": "-5154070489-export declare const f = 10;\n" }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5154070489-export declare const f = 10;\n" }, "../../project1/src/b.d.ts": { - "original": { - "version": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 - }, "version": "-3829150557-export declare const b = 10;\n", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": 1 + "signature": "-5485300472-export declare const g = 10;\n" }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5485300472-export declare const g = 10;\n" } }, "root": [ @@ -1210,7 +1116,7 @@ exports.g = b_1.b; "latestChangedDtsFile": "./g.d.ts" }, "version": "FakeTSVersion", - "size": 1438 + "size": 1306 } @@ -1291,7 +1197,7 @@ var alocal = 10; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1315,53 +1221,43 @@ var alocal = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./b.ts": { "original": { "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-2761163262-export const b = 10;const bLocal = 10;const alocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1392,7 +1288,7 @@ var alocal = 10; "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 1416 + "size": 1326 } //// [/src/project2/src/tsconfig.tsbuildinfo] file changed its modified time @@ -1447,7 +1343,7 @@ Shape signatures in builder refreshed for:: //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1471,53 +1367,43 @@ Shape signatures in builder refreshed for:: "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./b.ts": { "original": { "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-3037017594-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1549,7 +1435,7 @@ Shape signatures in builder refreshed for:: "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 1459 + "size": 1369 } //// [/src/project2/src/tsconfig.tsbuildinfo] file changed its modified time @@ -1638,7 +1524,7 @@ export declare const aaaaa = 10; //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","signature":"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;","signature":"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1662,53 +1548,43 @@ export declare const aaaaa = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./b.ts": { "original": { "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", - "signature": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", - "impliedFormat": 1 + "signature": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n" }, "version": "-7233149715-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;", - "signature": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1740,11 +1616,11 @@ export declare const aaaaa = 10; "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 1516 + "size": 1426 } //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n","impliedFormat":1},{"version":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n","impliedFormat":1},{"version":"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n","impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n","impliedFormat":1}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true,"emitDeclarationOnly":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1769,61 +1645,43 @@ export declare const aaaaa = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": 1 + "signature": "-4822840506-export declare const e = 10;\n" }, "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4822840506-export declare const e = 10;\n" }, "../../project1/src/a.d.ts": { - "original": { - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 - }, "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": 1 + "signature": "-5154070489-export declare const f = 10;\n" }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5154070489-export declare const f = 10;\n" }, "../../project1/src/b.d.ts": { - "original": { - "version": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", - "impliedFormat": 1 - }, "version": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", - "signature": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "2661550180-export declare const b = 10;\nexport declare const aaaaa = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": 1 + "signature": "-5485300472-export declare const g = 10;\n" }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5485300472-export declare const g = 10;\n" } }, "root": [ @@ -1855,7 +1713,7 @@ export declare const aaaaa = 10; "latestChangedDtsFile": "./g.d.ts" }, "version": "FakeTSVersion", - "size": 1498 + "size": 1366 } @@ -1957,7 +1815,7 @@ exports.a2 = 10; //// [/src/project1/src/c.js] file written with same contents //// [/src/project1/src/d.js] file written with same contents //// [/src/project1/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","signature":"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;","signature":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n"},{"version":"-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;","signature":"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/src/project1/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1981,53 +1839,43 @@ exports.a2 = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "version": "-6435489413-export const a = 10;const aLocal = 10;const aa = 10;export const aaa = 10;", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./b.ts": { "original": { "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", - "signature": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", - "impliedFormat": 1 + "signature": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n" }, "version": "-18124257118-export const b = 10;const bLocal = 10;const alocal = 10;const aaaa = 10;export const aaaaa = 10;export const a2 = 10;", - "signature": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", - "impliedFormat": "commonjs" + "signature": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -2058,14 +1906,14 @@ exports.a2 = 10; "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 1543 + "size": 1453 } //// [/src/project2/src/e.js] file written with same contents //// [/src/project2/src/f.js] file written with same contents //// [/src/project2/src/g.js] file written with same contents //// [/src/project2/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n","impliedFormat":1},{"version":"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n","impliedFormat":1},{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n","impliedFormat":1},{"version":"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n","impliedFormat":1},{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n","impliedFormat":1}],"root":[2,4,6],"options":{"composite":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./e.ts","../../project1/src/a.d.ts","./f.ts","../../project1/src/b.d.ts","./g.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13789510868-export const e = 10;","signature":"-4822840506-export declare const e = 10;\n"},"-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n",{"version":"-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;","signature":"-5154070489-export declare const f = 10;\n"},"-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n",{"version":"-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;","signature":"-5485300472-export declare const g = 10;\n"}],"root":[2,4,6],"options":{"composite":true},"fileIdsList":[[3],[5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./g.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2090,61 +1938,43 @@ exports.a2 = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./e.ts": { "original": { "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": 1 + "signature": "-4822840506-export declare const e = 10;\n" }, "version": "-13789510868-export const e = 10;", - "signature": "-4822840506-export declare const e = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4822840506-export declare const e = 10;\n" }, "../../project1/src/a.d.ts": { - "original": { - "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": 1 - }, "version": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n", - "impliedFormat": "commonjs" + "signature": "-1973399231-export declare const a = 10;\nexport declare const aaa = 10;\n" }, "./f.ts": { "original": { "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": 1 + "signature": "-5154070489-export declare const f = 10;\n" }, "version": "-2015135303-import { a } from \"../../project1/src/a\"; export const f = a;", - "signature": "-5154070489-export declare const f = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5154070489-export declare const f = 10;\n" }, "../../project1/src/b.d.ts": { - "original": { - "version": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", - "impliedFormat": 1 - }, "version": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", - "signature": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n", - "impliedFormat": "commonjs" + "signature": "-2237944013-export declare const b = 10;\nexport declare const aaaaa = 10;\nexport declare const a2 = 10;\n" }, "./g.ts": { "original": { "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": 1 + "signature": "-5485300472-export declare const g = 10;\n" }, "version": "-2047954019-import { b } from \"../../project1/src/b\"; export const g = b;", - "signature": "-5485300472-export declare const g = 10;\n", - "impliedFormat": "commonjs" + "signature": "-5485300472-export declare const g = 10;\n" } }, "root": [ @@ -2175,6 +2005,6 @@ exports.a2 = 10; "latestChangedDtsFile": "./g.d.ts" }, "version": "FakeTSVersion", - "size": 1503 + "size": 1371 } diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-discrepancies.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-discrepancies.js index 402f74402440a..553d691e98028 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-discrepancies.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-discrepancies.js @@ -8,16 +8,13 @@ CleanBuild: "fileInfos": { "../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "version": "4646078106-export function foo() { }" }, "./b.ts": { - "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "version": "1045484683-export function bar() { }" } }, "root": [ @@ -48,16 +45,13 @@ IncrementalBuild: "fileInfos": { "../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "version": "4646078106-export function foo() { }" }, "./b.ts": { - "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "version": "1045484683-export function bar() { }" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js index 345cde23b371a..87dd559f13245 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js @@ -178,7 +178,7 @@ define("b", ["require", "exports"], function (require, exports) { //// [/outFile.tsbuildinfo] -{"program":{"fileNames":["./lib/lib.d.ts","./src/a.ts","./src/b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"9819159940-export function foo() { }export function fooBar() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12543119676-declare module \"a\" {\n export function foo(): void;\n export function fooBar(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["./lib/lib.d.ts","./src/a.ts","./src/b.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","9819159940-export function foo() { }export function fooBar() { }","1045484683-export function bar() { }"],"root":[2,3],"options":{"composite":true,"declaration":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-12543119676-declare module \"a\" {\n export function foo(): void;\n export function fooBar(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/outFile.tsbuildinfo.readable.baseline.txt] { @@ -189,30 +189,9 @@ define("b", ["require", "exports"], function (require, exports) { "./src/b.ts" ], "fileInfos": { - "./lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./src/a.ts": { - "original": { - "version": "9819159940-export function foo() { }export function fooBar() { }", - "impliedFormat": 1 - }, - "version": "9819159940-export function foo() { }export function fooBar() { }", - "impliedFormat": "commonjs" - }, - "./src/b.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, - "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" - } + "./lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./src/a.ts": "9819159940-export function foo() { }export function fooBar() { }", + "./src/b.ts": "1045484683-export function bar() { }" }, "root": [ [ @@ -234,6 +213,6 @@ define("b", ["require", "exports"], function (require, exports) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1074 + "size": 984 } diff --git a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js index 06f2225f7ddfb..af04ac858be9c 100644 --- a/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuild/configFileErrors/reports-syntax-errors-in-config-file.js @@ -48,7 +48,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":false,"impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":false,"impliedFormat":1}],"root":[2,3],"options":{"composite":true},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":false},{"version":"1045484683-export function bar() { }","signature":false}],"root":[2,3],"options":{"composite":true},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -63,30 +63,24 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "version": "4646078106-export function foo() { }" }, "./b.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "version": "1045484683-export function bar() { }" } }, "root": [ @@ -109,7 +103,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped ] }, "version": "FakeTSVersion", - "size": 858 + "size": 804 } @@ -166,7 +160,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"9819159940-export function foo() { }export function fooBar() { }","signature":false,"impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":false,"impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"9819159940-export function foo() { }export function fooBar() { }","signature":false},{"version":"1045484683-export function bar() { }","signature":false}],"root":[2,3],"options":{"composite":true,"declaration":true},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,30 +175,24 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "9819159940-export function foo() { }export function fooBar() { }", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "9819159940-export function foo() { }export function fooBar() { }", - "impliedFormat": "commonjs" + "version": "9819159940-export function foo() { }export function fooBar() { }" }, "./b.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "version": "1045484683-export function bar() { }" } }, "root": [ @@ -228,7 +216,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped ] }, "version": "FakeTSVersion", - "size": 905 + "size": 851 } @@ -299,7 +287,7 @@ function bar() { } //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"9819159940-export function foo() { }export function fooBar() { }","signature":"-9218003498-export declare function foo(): void;\nexport declare function fooBar(): void;\n","impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9819159940-export function foo() { }export function fooBar() { }","signature":"-9218003498-export declare function foo(): void;\nexport declare function fooBar(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -313,33 +301,27 @@ function bar() { } "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "9819159940-export function foo() { }export function fooBar() { }", - "signature": "-9218003498-export declare function foo(): void;\nexport declare function fooBar(): void;\n", - "impliedFormat": 1 + "signature": "-9218003498-export declare function foo(): void;\nexport declare function fooBar(): void;\n" }, "version": "9819159940-export function foo() { }export function fooBar() { }", - "signature": "-9218003498-export declare function foo(): void;\nexport declare function fooBar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-9218003498-export declare function foo(): void;\nexport declare function fooBar(): void;\n" }, "./b.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "root": [ @@ -359,6 +341,6 @@ function bar() { } "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 1032 + "size": 978 } diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js index 61e901851356f..869e7ec79d11d 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-project-uses-reference-and-both-extend-config-with-include.js @@ -112,7 +112,7 @@ exports.a = 1; //// [/src/target-tsc-build/shared/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"115643418-export declare const a: Unrestricted;\n","impliedFormat":1},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"115643418-export declare const a: Unrestricted;\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/target-tsc-build/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -126,34 +126,28 @@ exports.a = 1; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../shared/index.ts": { "original": { "version": "-22125360210-export const a: Unrestricted = 1;", - "signature": "115643418-export declare const a: Unrestricted;\n", - "impliedFormat": 1 + "signature": "115643418-export declare const a: Unrestricted;\n" }, "version": "-22125360210-export const a: Unrestricted = 1;", - "signature": "115643418-export declare const a: Unrestricted;\n", - "impliedFormat": "commonjs" + "signature": "115643418-export declare const a: Unrestricted;\n" }, "../../shared/typings-base/globals.d.ts": { "original": { "version": "4725476611-type Unrestricted = any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "4725476611-type Unrestricted = any;", "signature": "4725476611-type Unrestricted = any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -174,7 +168,7 @@ exports.a = 1; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1002 + "size": 948 } //// [/src/target-tsc-build/webpack/index.d.ts] @@ -189,7 +183,7 @@ exports.b = 1; //// [/src/target-tsc-build/webpack/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-6010538469-export declare const b: Unrestricted;\n","impliedFormat":1},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-6010538469-export declare const b: Unrestricted;\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/target-tsc-build/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -203,34 +197,28 @@ exports.b = 1; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../webpack/index.ts": { "original": { "version": "-14405273073-export const b: Unrestricted = 1;", - "signature": "-6010538469-export declare const b: Unrestricted;\n", - "impliedFormat": 1 + "signature": "-6010538469-export declare const b: Unrestricted;\n" }, "version": "-14405273073-export const b: Unrestricted = 1;", - "signature": "-6010538469-export declare const b: Unrestricted;\n", - "impliedFormat": "commonjs" + "signature": "-6010538469-export declare const b: Unrestricted;\n" }, "../../shared/typings-base/globals.d.ts": { "original": { "version": "4725476611-type Unrestricted = any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "4725476611-type Unrestricted = any;", "signature": "4725476611-type Unrestricted = any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -251,6 +239,6 @@ exports.b = 1; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1005 + "size": 951 } diff --git a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js index 5396ec6485beb..5bc51b4d2a222 100644 --- a/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js +++ b/tests/baselines/reference/tsbuild/configFileExtends/when-building-solution-with-projects-extends-config-with-include.js @@ -113,7 +113,7 @@ exports.a = 1; //// [/src/target-tsc-build/shared/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"115643418-export declare const a: Unrestricted;\n","impliedFormat":1},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../shared/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22125360210-export const a: Unrestricted = 1;","signature":"115643418-export declare const a: Unrestricted;\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/target-tsc-build/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -127,34 +127,28 @@ exports.a = 1; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../shared/index.ts": { "original": { "version": "-22125360210-export const a: Unrestricted = 1;", - "signature": "115643418-export declare const a: Unrestricted;\n", - "impliedFormat": 1 + "signature": "115643418-export declare const a: Unrestricted;\n" }, "version": "-22125360210-export const a: Unrestricted = 1;", - "signature": "115643418-export declare const a: Unrestricted;\n", - "impliedFormat": "commonjs" + "signature": "115643418-export declare const a: Unrestricted;\n" }, "../../shared/typings-base/globals.d.ts": { "original": { "version": "4725476611-type Unrestricted = any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "4725476611-type Unrestricted = any;", "signature": "4725476611-type Unrestricted = any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -175,7 +169,7 @@ exports.a = 1; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1002 + "size": 948 } //// [/src/target-tsc-build/webpack/index.d.ts] @@ -190,7 +184,7 @@ exports.b = 1; //// [/src/target-tsc-build/webpack/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-6010538469-export declare const b: Unrestricted;\n","impliedFormat":1},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../webpack/index.ts","../../shared/typings-base/globals.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14405273073-export const b: Unrestricted = 1;","signature":"-6010538469-export declare const b: Unrestricted;\n"},{"version":"4725476611-type Unrestricted = any;","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../.."},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/target-tsc-build/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -204,34 +198,28 @@ exports.b = 1; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../webpack/index.ts": { "original": { "version": "-14405273073-export const b: Unrestricted = 1;", - "signature": "-6010538469-export declare const b: Unrestricted;\n", - "impliedFormat": 1 + "signature": "-6010538469-export declare const b: Unrestricted;\n" }, "version": "-14405273073-export const b: Unrestricted = 1;", - "signature": "-6010538469-export declare const b: Unrestricted;\n", - "impliedFormat": "commonjs" + "signature": "-6010538469-export declare const b: Unrestricted;\n" }, "../../shared/typings-base/globals.d.ts": { "original": { "version": "4725476611-type Unrestricted = any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "4725476611-type Unrestricted = any;", "signature": "4725476611-type Unrestricted = any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -252,6 +240,6 @@ exports.b = 1; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1005 + "size": 951 } diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js index a86ff378fb5f0..091b15239ff87 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/verify-that-subsequent-builds-after-initial-build-doesnt-build-anything.js @@ -129,7 +129,7 @@ exports.x = 10; //// [/src/src/folder/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/src/folder/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -142,23 +142,19 @@ exports.x = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" } }, "root": [ @@ -173,7 +169,7 @@ exports.x = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 802 + "size": 766 } //// [/src/src/folder2/index.d.ts] @@ -188,7 +184,7 @@ exports.x = 10; //// [/src/src/folder2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/src/folder2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -201,23 +197,19 @@ exports.x = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" } }, "root": [ @@ -232,7 +224,7 @@ exports.x = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 802 + "size": 766 } //// [/src/tests/index.d.ts] @@ -247,7 +239,7 @@ exports.x = 10; //// [/src/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -260,23 +252,19 @@ exports.x = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" } }, "root": [ @@ -291,7 +279,7 @@ exports.x = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 799 + "size": 763 } diff --git a/tests/baselines/reference/tsbuild/containerOnlyReferenced/when-solution-is-referenced-indirectly.js b/tests/baselines/reference/tsbuild/containerOnlyReferenced/when-solution-is-referenced-indirectly.js index 60d69f7564282..cd0c7805af431 100644 --- a/tests/baselines/reference/tsbuild/containerOnlyReferenced/when-solution-is-referenced-indirectly.js +++ b/tests/baselines/reference/tsbuild/containerOnlyReferenced/when-solution-is-referenced-indirectly.js @@ -116,7 +116,7 @@ exports.b = 10; //// [/src/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13368947479-export const b = 10;","signature":"-3829150557-export declare const b = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/b.d.ts"},"version":"FakeTSVersion"} //// [/src/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -129,23 +129,19 @@ exports.b = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/b.ts": { "original": { "version": "-13368947479-export const b = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-13368947479-export const b = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" } }, "root": [ @@ -160,7 +156,7 @@ exports.b = 10; "latestChangedDtsFile": "./src/b.d.ts" }, "version": "FakeTSVersion", - "size": 799 + "size": 763 } //// [/src/project3/src/c.d.ts] @@ -175,7 +171,7 @@ exports.c = 10; //// [/src/project3/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/c.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12077479510-export const c = 10;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/c.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/c.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12077479510-export const c = 10;","signature":"-4160380540-export declare const c = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/c.d.ts"},"version":"FakeTSVersion"} //// [/src/project3/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -188,23 +184,19 @@ exports.c = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/c.ts": { "original": { "version": "-12077479510-export const c = 10;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "-12077479510-export const c = 10;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" } }, "root": [ @@ -219,7 +211,7 @@ exports.c = 10; "latestChangedDtsFile": "./src/c.d.ts" }, "version": "FakeTSVersion", - "size": 799 + "size": 763 } //// [/src/project4/src/d.d.ts] @@ -234,7 +226,7 @@ exports.d = 10; //// [/src/project4/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10786011541-export const d = 10;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10786011541-export const d = 10;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/d.d.ts"},"version":"FakeTSVersion"} //// [/src/project4/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -247,23 +239,19 @@ exports.d = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/d.ts": { "original": { "version": "-10786011541-export const d = 10;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-10786011541-export const d = 10;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -278,7 +266,7 @@ exports.d = 10; "latestChangedDtsFile": "./src/d.d.ts" }, "version": "FakeTSVersion", - "size": 799 + "size": 763 } @@ -333,7 +321,7 @@ exports.cc = 10; //// [/src/project3/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/c.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12481904019-export const cc = 10;","signature":"-2549218137-export declare const cc = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/c.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/c.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12481904019-export const cc = 10;","signature":"-2549218137-export declare const cc = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./src/c.d.ts"},"version":"FakeTSVersion"} //// [/src/project3/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -346,23 +334,19 @@ exports.cc = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/c.ts": { "original": { "version": "-12481904019-export const cc = 10;", - "signature": "-2549218137-export declare const cc = 10;\n", - "impliedFormat": 1 + "signature": "-2549218137-export declare const cc = 10;\n" }, "version": "-12481904019-export const cc = 10;", - "signature": "-2549218137-export declare const cc = 10;\n", - "impliedFormat": "commonjs" + "signature": "-2549218137-export declare const cc = 10;\n" } }, "root": [ @@ -377,7 +361,7 @@ exports.cc = 10; "latestChangedDtsFile": "./src/c.d.ts" }, "version": "FakeTSVersion", - "size": 801 + "size": 765 } //// [/src/project4/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js index 93a71b9471da4..a73096a482617 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash-but-uses-no-references.js @@ -172,7 +172,7 @@ function getVar() { //// [/src/solution/lib/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../src/common/types.d.ts","../src/common/nominal.ts","../src/subproject/index.ts","../src/subproject2/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8103970050-/// \nexport declare type Nominal = MyNominal;","signature":"-29966695877-/// \nexport declare type Nominal = MyNominal;\n","impliedFormat":1},{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n","impliedFormat":1},{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"outDir":"./","rootDir":".."},"fileIdsList":[[2],[3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"latestChangedDtsFile":"./src/subProject2/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../src/common/types.d.ts","../src/common/nominal.ts","../src/subproject/index.ts","../src/subproject2/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},{"version":"-8103970050-/// \nexport declare type Nominal = MyNominal;","signature":"-29966695877-/// \nexport declare type Nominal = MyNominal;\n"},{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n"},{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n"}],"root":[[2,5]],"options":{"composite":true,"outDir":"./","rootDir":".."},"fileIdsList":[[2],[3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"latestChangedDtsFile":"./src/subProject2/index.d.ts"},"version":"FakeTSVersion"} //// [/src/solution/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -199,54 +199,44 @@ function getVar() { "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/common/types.d.ts": { "original": { "version": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", "signature": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/common/nominal.ts": { "original": { "version": "-8103970050-/// \nexport declare type Nominal = MyNominal;", - "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "impliedFormat": 1 + "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n" }, "version": "-8103970050-/// \nexport declare type Nominal = MyNominal;", - "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "impliedFormat": "commonjs" + "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n" }, "../src/subproject/index.ts": { "original": { "version": "-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;", - "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": 1 + "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n" }, "version": "-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;", - "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": "commonjs" + "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n" }, "../src/subproject2/index.ts": { "original": { "version": "2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}", - "signature": "-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n", - "impliedFormat": 1 + "signature": "-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n" }, "version": "2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}", - "signature": "-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n", - "impliedFormat": "commonjs" + "signature": "-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n" } }, "root": [ @@ -282,6 +272,6 @@ function getVar() { "latestChangedDtsFile": "./src/subProject2/index.d.ts" }, "version": "FakeTSVersion", - "size": 2096 + "size": 2006 } diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js index 01c952c39d373..c8d01f74165da 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-is-referenced-through-triple-slash.js @@ -155,7 +155,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/src/solution/lib/src/common/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../../../src/common/nominal.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8103970050-/// \nexport declare type Nominal = MyNominal;","signature":"-29966695877-/// \nexport declare type Nominal = MyNominal;\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./nominal.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../../../src/common/nominal.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},{"version":"-8103970050-/// \nexport declare type Nominal = MyNominal;","signature":"-29966695877-/// \nexport declare type Nominal = MyNominal;\n"}],"root":[3],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./nominal.d.ts"},"version":"FakeTSVersion"} //// [/src/solution/lib/src/common/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -174,34 +174,28 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../src/common/types.d.ts": { "original": { "version": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", "signature": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../src/common/nominal.ts": { "original": { "version": "-8103970050-/// \nexport declare type Nominal = MyNominal;", - "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "impliedFormat": 1 + "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n" }, "version": "-8103970050-/// \nexport declare type Nominal = MyNominal;", - "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "impliedFormat": "commonjs" + "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n" } }, "root": [ @@ -223,7 +217,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./nominal.d.ts" }, "version": "FakeTSVersion", - "size": 1331 + "size": 1277 } //// [/src/solution/lib/src/subProject/index.d.ts] @@ -237,7 +231,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/src/solution/lib/src/subProject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../../../src/subproject/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true,"impliedFormat":1},{"version":"-29966695877-/// \nexport declare type Nominal = MyNominal;\n","impliedFormat":1},{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../../../src/subproject/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-29966695877-/// \nexport declare type Nominal = MyNominal;\n",{"version":"-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;","signature":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n"}],"root":[4],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/solution/lib/src/subProject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -260,43 +254,32 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../src/common/types.d.ts": { "original": { "version": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", "signature": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../common/nominal.d.ts": { - "original": { - "version": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "impliedFormat": 1 - }, "version": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "impliedFormat": "commonjs" + "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n" }, "../../../src/subproject/index.ts": { "original": { "version": "-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;", - "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": 1 + "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n" }, "version": "-25117049605-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;", - "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": "commonjs" + "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n" } }, "root": [ @@ -321,7 +304,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1481 + "size": 1397 } //// [/src/solution/lib/src/subProject2/index.d.ts] @@ -346,7 +329,7 @@ function getVar() { //// [/src/solution/lib/src/subProject2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../subproject/index.d.ts","../../../src/subproject2/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true,"impliedFormat":1},{"version":"-29966695877-/// \nexport declare type Nominal = MyNominal;\n","impliedFormat":1},{"version":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n","impliedFormat":1},{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2],[3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../lib/lib.d.ts","../../../src/common/types.d.ts","../common/nominal.d.ts","../subproject/index.d.ts","../../../src/subproject2/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};","affectsGlobalScope":true},"-29966695877-/// \nexport declare type Nominal = MyNominal;\n","-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n",{"version":"2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}","signature":"-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n"}],"root":[5],"options":{"composite":true,"outDir":"../..","rootDir":"../../.."},"fileIdsList":[[2],[3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/solution/lib/src/subProject2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -373,52 +356,36 @@ function getVar() { "../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../src/common/types.d.ts": { "original": { "version": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", "signature": "23815050294-declare type MyNominal = T & {\n specialKey: Name;\n};", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../common/nominal.d.ts": { - "original": { - "version": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "impliedFormat": 1 - }, "version": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n", - "impliedFormat": "commonjs" + "signature": "-29966695877-/// \nexport declare type Nominal = MyNominal;\n" }, "../subproject/index.d.ts": { - "original": { - "version": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": 1 - }, "version": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": "commonjs" + "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n" }, "../../../src/subproject2/index.ts": { "original": { "version": "2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}", - "signature": "-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n", - "impliedFormat": 1 + "signature": "-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n" }, "version": "2747033208-import { MyNominal } from '../subProject/index';\nconst variable = {\n key: 'value' as MyNominal,\n};\nexport function getVar(): keyof typeof variable {\n return 'key';\n}", - "signature": "-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n", - "impliedFormat": "commonjs" + "signature": "-29417180885-import { MyNominal } from '../subProject/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n" } }, "root": [ @@ -446,6 +413,6 @@ function getVar() { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1813 + "size": 1699 } diff --git a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js index 9563ddaae45c8..abdd1abad2349 100644 --- a/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/declarationEmit/when-declaration-file-used-inferred-type-from-referenced-project.js @@ -104,7 +104,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/src/packages/pkg1/lib/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}","signature":"-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}","signature":"-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} //// [/src/packages/pkg1/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -117,23 +117,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/index.ts": { "original": { "version": "-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}", - "signature": "-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n", - "impliedFormat": 1 + "signature": "-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n" }, "version": "-2072077482-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}", - "signature": "-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n", - "impliedFormat": "commonjs" + "signature": "-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n" } }, "root": [ @@ -149,7 +145,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./src/index.d.ts" }, "version": "FakeTSVersion", - "size": 967 + "size": 931 } //// [/src/packages/pkg2/lib/src/index.d.ts] @@ -167,7 +163,7 @@ function fn4() { //// [/src/packages/pkg2/lib/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../pkg1/lib/src/index.d.ts","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n","impliedFormat":1},{"version":"8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}","signature":"-8485768540-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../pkg1/lib/src/index.d.ts","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n",{"version":"8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}","signature":"-8485768540-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} //// [/src/packages/pkg2/lib/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -186,32 +182,23 @@ function fn4() { "../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../pkg1/lib/src/index.d.ts": { - "original": { - "version": "-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n", - "impliedFormat": 1 - }, "version": "-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n", - "signature": "-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n", - "impliedFormat": "commonjs" + "signature": "-6291959392-export interface IThing {\n a: string;\n}\nexport interface IThings {\n thing1: IThing;\n}\n" }, "../src/index.ts": { "original": { "version": "8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}", - "signature": "-8485768540-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\n", - "impliedFormat": 1 + "signature": "-8485768540-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\n" }, "version": "8515046367-import { IThings } from '@fluentui/pkg1';\nexport function fn4() {\n const a: IThings = { thing1: { a: 'b' } };\n return a.thing1;\n}", - "signature": "-8485768540-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\n", - "impliedFormat": "commonjs" + "signature": "-8485768540-export declare function fn4(): import(\"@fluentui/pkg1\").IThing;\n" } }, "root": [ @@ -232,6 +219,6 @@ function fn4() { "latestChangedDtsFile": "./src/index.d.ts" }, "version": "FakeTSVersion", - "size": 1197 + "size": 1131 } diff --git a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js index 8183c79a1c587..8a5c72d9df797 100644 --- a/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js +++ b/tests/baselines/reference/tsbuild/demo/in-bad-ref-branch-reports-the-error-about-files-not-in-rootDir-at-the-import-location.js @@ -220,7 +220,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","impliedFormat":1},{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","impliedFormat":1},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","impliedFormat":1},{"version":"-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[[5,[{"start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[2,3,4,5],"emitSignatures":[2,3,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n"],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[[5,[{"start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[2,3,4,5],"emitSignatures":[2,3,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -249,49 +249,27 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../animals/animal.ts": { - "original": { - "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": 1 - }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../../animals/dog.ts": { - "original": { - "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "impliedFormat": 1 - }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "impliedFormat": "commonjs" + "signature": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n" }, "../../animals/index.ts": { - "original": { - "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": 1 - }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "signature": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "../../core/utilities.ts": { - "original": { - "version": "-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "impliedFormat": 1 - }, "version": "-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "signature": "-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "impliedFormat": "commonjs" + "signature": "-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n" } }, "root": [ @@ -367,6 +345,6 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped ] }, "version": "FakeTSVersion", - "size": 2297 + "size": 2159 } diff --git a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js index b28f2d1e3ab22..c10cf184d6853 100644 --- a/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js +++ b/tests/baselines/reference/tsbuild/demo/in-master-branch-with-everything-setup-correctly-and-reports-no-error.js @@ -217,7 +217,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","impliedFormat":1},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","impliedFormat":1},{"version":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n","impliedFormat":1},{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","impliedFormat":1}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -243,51 +243,35 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../animals/animal.ts": { - "original": { - "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": 1 - }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../../animals/index.ts": { "original": { "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": 1 + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "../core/utilities.d.ts": { - "original": { - "version": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": 1 - }, "version": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" }, "../../animals/dog.ts": { "original": { "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": 1 + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" } }, "root": [ @@ -330,11 +314,11 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () "latestChangedDtsFile": "./dog.d.ts" }, "version": "FakeTSVersion", - "size": 2294 + "size": 2180 } //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"latestChangedDtsFile":"./utilities.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"latestChangedDtsFile":"./utilities.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -347,23 +331,19 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../core/utilities.ts": { "original": { "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": 1 + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" }, "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" } }, "root": [ @@ -388,7 +368,7 @@ Object.defineProperty(exports, "createDog", { enumerable: true, get: function () "latestChangedDtsFile": "./utilities.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1270 } //// [/user/username/projects/demo/lib/core/utilities.d.ts] @@ -412,7 +392,7 @@ function lastElementOf(arr) { //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","impliedFormat":1},{"version":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","impliedFormat":1},{"version":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","impliedFormat":1},{"version":"13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"fileIdsList":[[4],[2,3]],"referencedMap":[[3,1],[4,2],[5,1]],"latestChangedDtsFile":"./zoo.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n",{"version":"13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"fileIdsList":[[4],[2,3]],"referencedMap":[[3,1],[4,2],[5,1]],"latestChangedDtsFile":"./zoo.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -437,50 +417,31 @@ function lastElementOf(arr) { "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../animals/animal.d.ts": { - "original": { - "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": 1 - }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../animals/dog.d.ts": { - "original": { - "version": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": 1 - }, "version": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" }, "../animals/index.d.ts": { - "original": { - "version": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": 1 - }, "version": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "../../zoo/zoo.ts": { "original": { "version": "13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n", - "signature": "10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n", - "impliedFormat": 1 + "signature": "10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n" }, "version": "13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n", - "signature": "10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n", - "impliedFormat": "commonjs" + "signature": "10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n" } }, "root": [ @@ -517,7 +478,7 @@ function lastElementOf(arr) { "latestChangedDtsFile": "./zoo.d.ts" }, "version": "FakeTSVersion", - "size": 1848 + "size": 1722 } //// [/user/username/projects/demo/lib/zoo/zoo.d.ts] diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js index f251e62b80fc8..e7d33bf74acc8 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly-and-declarationMap.js @@ -118,7 +118,7 @@ export { C } from "./c"; {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC"} //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","impliedFormat":1},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","impliedFormat":1},{"version":"-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n","impliedFormat":1},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","impliedFormat":1}],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"},{"version":"-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n"},"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -150,52 +150,39 @@ export { C } from "./c"; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/c.ts": { "original": { "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": 1 + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "./src/b.ts": { "original": { "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": 1 + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "./src/a.ts": { "original": { "version": "-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n", - "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "impliedFormat": 1 + "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n" }, "version": "-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n", - "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n" }, "./src/index.ts": { - "original": { - "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": 1 - }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n" } }, "root": [ @@ -245,7 +232,7 @@ export { C } from "./c"; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1734 + "size": 1632 } @@ -289,7 +276,7 @@ export interface A { //// [/src/lib/c.d.ts.map] file written with same contents //// [/src/lib/index.d.ts.map] file written with same contents //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","impliedFormat":1},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","impliedFormat":1},{"version":"-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n","impliedFormat":1},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","impliedFormat":1}],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"},{"version":"-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n"},"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/a.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -321,52 +308,39 @@ export interface A { "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/c.ts": { "original": { "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": 1 + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "./src/b.ts": { "original": { "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": 1 + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "./src/a.ts": { "original": { "version": "-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n", - "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": 1 + "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n" }, "version": "-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n", - "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": "commonjs" + "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n" }, "./src/index.ts": { - "original": { - "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": 1 - }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n" } }, "root": [ @@ -416,6 +390,6 @@ export interface A { "latestChangedDtsFile": "./lib/a.d.ts" }, "version": "FakeTSVersion", - "size": 1754 + "size": 1652 } diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js index 75cf10bdf4c58..a0ba4de15c147 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-circular-import-project-with-emitDeclarationOnly.js @@ -106,7 +106,7 @@ export { C } from "./c"; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","impliedFormat":1},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","impliedFormat":1},{"version":"-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n","impliedFormat":1},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","impliedFormat":1}],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"},{"version":"-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n","signature":"-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n"},"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -138,52 +138,39 @@ export { C } from "./c"; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/c.ts": { "original": { "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": 1 + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "./src/b.ts": { "original": { "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": 1 + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "./src/a.ts": { "original": { "version": "-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n", - "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "impliedFormat": 1 + "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n" }, "version": "-10415053661-import { B } from \"./b\";\n\nexport interface A {\n b: B;\n}\n", - "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n" }, "./src/index.ts": { - "original": { - "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": 1 - }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n" } }, "root": [ @@ -232,7 +219,7 @@ export { C } from "./c"; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1712 + "size": 1610 } @@ -270,7 +257,7 @@ export interface A { //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","impliedFormat":1},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","impliedFormat":1},{"version":"-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n","impliedFormat":1},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","impliedFormat":1}],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/c.ts","./src/b.ts","./src/a.ts","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"},{"version":"-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n"},"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]],"latestChangedDtsFile":"./lib/a.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -302,52 +289,39 @@ export interface A { "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/c.ts": { "original": { "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": 1 + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "./src/b.ts": { "original": { "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": 1 + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "./src/a.ts": { "original": { "version": "-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n", - "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": 1 + "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n" }, "version": "-4477156252-import { B } from \"./b\";\n\nexport interface A {\n b: B; foo: any;\n}\n", - "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": "commonjs" + "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n" }, "./src/index.ts": { - "original": { - "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": 1 - }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n" } }, "root": [ @@ -396,6 +370,6 @@ export interface A { "latestChangedDtsFile": "./lib/a.d.ts" }, "version": "FakeTSVersion", - "size": 1732 + "size": 1630 } diff --git a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js index adfefc83708a5..08fe5915e6830 100644 --- a/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsbuild/emitDeclarationOnly/only-dts-output-in-non-circular-imports-project-with-emitDeclarationOnly.js @@ -105,7 +105,7 @@ export interface C { {"version":3,"file":"c.d.ts","sourceRoot":"","sources":["../src/c.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,WAAW,CAAC;IACd,CAAC,EAAE,CAAC,CAAC;CACR"} //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"12550013887-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n","signature":"-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n","impliedFormat":1},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","impliedFormat":1},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"latestChangedDtsFile":"./lib/b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"12550013887-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n","signature":"-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n"},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"}],"root":[[2,4]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"latestChangedDtsFile":"./lib/b.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -128,43 +128,35 @@ export interface C { "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/a.ts": { "original": { "version": "12550013887-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n", - "signature": "-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n", - "impliedFormat": 1 + "signature": "-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n" }, "version": "12550013887-export class B { prop = \"hello\"; }\n\nexport interface A {\n b: B;\n}\n", - "signature": "-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n" }, "./src/c.ts": { "original": { "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": 1 + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "./src/b.ts": { "original": { "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": 1 + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" } }, "root": [ @@ -205,7 +197,7 @@ export interface C { "latestChangedDtsFile": "./lib/b.d.ts" }, "version": "FakeTSVersion", - "size": 1591 + "size": 1519 } @@ -239,7 +231,7 @@ exitCode:: ExitStatus.Success {"version":3,"file":"a.d.ts","sourceRoot":"","sources":["../src/a.ts"],"names":[],"mappings":"AAAA,qBAAa,CAAC;IAAG,IAAI,SAAW;CAAE;AAGlC,MAAM,WAAW,CAAC;IACd,CAAC,EAAE,CAAC,CAAC;CACR"} //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"12921437274-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B;\n}\n","signature":"-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n","impliedFormat":1},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","impliedFormat":1},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"latestChangedDtsFile":"./lib/b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"12921437274-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B;\n}\n","signature":"-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n"},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"}],"root":[[2,4]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"latestChangedDtsFile":"./lib/b.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -262,43 +254,35 @@ exitCode:: ExitStatus.Success "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/a.ts": { "original": { "version": "12921437274-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B;\n}\n", - "signature": "-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n", - "impliedFormat": 1 + "signature": "-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n" }, "version": "12921437274-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B;\n}\n", - "signature": "-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15427030283-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n}\n" }, "./src/c.ts": { "original": { "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": 1 + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "./src/b.ts": { "original": { "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": 1 + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" } }, "root": [ @@ -339,7 +323,7 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./lib/b.d.ts" }, "version": "FakeTSVersion", - "size": 1604 + "size": 1532 } @@ -385,7 +369,7 @@ export interface A { //// [/src/lib/b.d.ts.map] file written with same contents //// [/src/lib/c.d.ts.map] file written with same contents //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"17511804123-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-21227085920-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n foo: any;\n}\n","impliedFormat":1},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","impliedFormat":1},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"latestChangedDtsFile":"./lib/a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/a.ts","./src/c.ts","./src/b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"17511804123-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B; foo: any;\n}\n","signature":"-21227085920-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n foo: any;\n}\n"},{"version":"3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n","signature":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n"},{"version":"-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n","signature":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n"}],"root":[[2,4]],"options":{"alwaysStrict":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":1,"outDir":"./lib","rootDir":"./src","sourceMap":true,"strict":true,"target":1},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"latestChangedDtsFile":"./lib/a.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -408,43 +392,35 @@ export interface A { "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/a.ts": { "original": { "version": "17511804123-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B; foo: any;\n}\n", - "signature": "-21227085920-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": 1 + "signature": "-21227085920-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n foo: any;\n}\n" }, "version": "17511804123-export class B { prop = \"hello\"; }\n\nclass C { }\nexport interface A {\n b: B; foo: any;\n}\n", - "signature": "-21227085920-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": "commonjs" + "signature": "-21227085920-export declare class B {\n prop: string;\n}\nexport interface A {\n b: B;\n foo: any;\n}\n" }, "./src/c.ts": { "original": { "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": 1 + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "version": "3086446657-import { A } from \"./a\";\n\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "./src/b.ts": { "original": { "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": 1 + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "version": "-5791025721-import { C } from \"./c\";\n\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" } }, "root": [ @@ -485,6 +461,6 @@ export interface A { "latestChangedDtsFile": "./lib/a.d.ts" }, "version": "FakeTSVersion", - "size": 1629 + "size": 1557 } diff --git a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js index 97d75493044e5..fd2d9664effc8 100644 --- a/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js +++ b/tests/baselines/reference/tsbuild/emptyFiles/does-not-have-empty-files-diagnostic-when-files-is-empty-and-references-are-provided.js @@ -66,7 +66,7 @@ function multiply(a, b) { return a * b; } //// [/src/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"7987260467-export function multiply(a: number, b: number) { return a * b; }","signature":"-8675294677-export declare function multiply(a: number, b: number): number;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"7987260467-export function multiply(a: number, b: number) { return a * b; }","signature":"-8675294677-export declare function multiply(a: number, b: number): number;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -79,23 +79,19 @@ function multiply(a, b) { return a * b; } "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "7987260467-export function multiply(a: number, b: number) { return a * b; }", - "signature": "-8675294677-export declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-8675294677-export declare function multiply(a: number, b: number): number;\n" }, "version": "7987260467-export function multiply(a: number, b: number) { return a * b; }", - "signature": "-8675294677-export declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-8675294677-export declare function multiply(a: number, b: number): number;\n" } }, "root": [ @@ -113,6 +109,6 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 944 + "size": 908 } diff --git a/tests/baselines/reference/tsbuild/extends/configDir-template.js b/tests/baselines/reference/tsbuild/extends/configDir-template.js index 8c5ad3199241e..46dce9854b900 100644 --- a/tests/baselines/reference/tsbuild/extends/configDir-template.js +++ b/tests/baselines/reference/tsbuild/extends/configDir-template.js @@ -109,11 +109,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/myproject/tsconfig.json'... -File '/home/src/projects/myproject/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. @@ -123,18 +118,6 @@ Trying substitution '/home/src/projects/myproject/types/*', candidate module loc Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== -File '/home/src/projects/myproject/types/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/src/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. @@ -156,16 +139,6 @@ File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/index.d.ts', result '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== Module name 'other/sometype2' was successfully resolved to '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== -File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/root2/other/package.json' does not exist. -File '/home/src/projects/myproject/root2/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../lib/lib.d.ts Default library for target 'es5' types/sometype.ts diff --git a/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js b/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js index cdde064e63fab..fc8de172ccccd 100644 --- a/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tsbuild/extends/resolves-the-symlink-path.js @@ -56,7 +56,7 @@ export declare const x = 10; //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"6873164248-// some comment\nexport const x = 10;\n","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"removeComments":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"6873164248-// some comment\nexport const x = 10;\n","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true,"removeComments":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -69,23 +69,19 @@ export declare const x = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "6873164248-// some comment\nexport const x = 10;\n", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "6873164248-// some comment\nexport const x = 10;\n", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" } }, "root": [ @@ -101,7 +97,7 @@ export declare const x = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 769 + "size": 733 } diff --git a/tests/baselines/reference/tsbuild/fileDelete/deleted-file-with-outFile-without-composite.js b/tests/baselines/reference/tsbuild/fileDelete/deleted-file-with-outFile-without-composite.js index b95e7919ff348..b2a18b105b525 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/deleted-file-with-outFile-without-composite.js +++ b/tests/baselines/reference/tsbuild/fileDelete/deleted-file-with-outFile-without-composite.js @@ -46,18 +46,10 @@ Output:: [HH:MM:SS AM] Building project '/src/child/tsconfig.json'... -File '/src/child/package.json' does not exist. -File '/src/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '../child/child2' from '/src/child/child.ts'. ======== Module resolution kind is not specified, using 'Classic'. File '/src/child/child2.ts' exists - use it as a name resolution result. ======== Module name '../child/child2' was successfully resolved to '/src/child/child2.ts'. ======== -File '/src/child/package.json' does not exist according to earlier cached lookups. -File '/src/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts Default library for target 'es5' src/child/child2.ts diff --git a/tests/baselines/reference/tsbuild/fileDelete/deleted-file-without-composite.js b/tests/baselines/reference/tsbuild/fileDelete/deleted-file-without-composite.js index c25672d5a4093..04e8ae2c86bc1 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/deleted-file-without-composite.js +++ b/tests/baselines/reference/tsbuild/fileDelete/deleted-file-without-composite.js @@ -43,19 +43,11 @@ Output:: [HH:MM:SS AM] Building project '/src/child/tsconfig.json'... -File '/src/child/package.json' does not exist. -File '/src/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '../child/child2' from '/src/child/child.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/src/child/child2', target file types: TypeScript, Declaration. File '/src/child/child2.ts' exists - use it as a name resolution result. ======== Module name '../child/child2' was successfully resolved to '/src/child/child2.ts'. ======== -File '/src/child/package.json' does not exist according to earlier cached lookups. -File '/src/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts Default library for target 'es5' src/child/child2.ts diff --git a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-discrepancies.js b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-discrepancies.js index c8f1a8d1e7c95..814122ee7d859 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-discrepancies.js +++ b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-discrepancies.js @@ -8,12 +8,10 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./child.ts": { - "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n", - "impliedFormat": "commonjs" + "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n" } }, "root": [ @@ -51,12 +49,10 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./child.ts": { - "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n", - "impliedFormat": "commonjs" + "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n" } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-with-outFile.js b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-with-outFile.js index b08c6b2bbe64b..c183fdff46005 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-with-outFile.js +++ b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file-with-outFile.js @@ -69,18 +69,10 @@ Output:: [HH:MM:SS AM] Building project '/src/child/tsconfig.json'... -File '/src/child/package.json' does not exist. -File '/src/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '../child/child2' from '/src/child/child.ts'. ======== Module resolution kind is not specified, using 'Classic'. File '/src/child/child2.ts' exists - use it as a name resolution result. ======== Module name '../child/child2' was successfully resolved to '/src/child/child2.ts'. ======== -File '/src/child/package.json' does not exist according to earlier cached lookups. -File '/src/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts Default library for target 'es5' src/child/child2.ts @@ -92,11 +84,6 @@ src/child/child.ts [HH:MM:SS AM] Building project '/src/main/tsconfig.json'... -File '/src/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/src/main/package.json' does not exist. -File '/src/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'child' from '/src/main/main.ts'. ======== Module resolution kind is not specified, using 'Classic'. File '/src/main/child.ts' does not exist. @@ -119,8 +106,6 @@ File '/src/child.jsx' does not exist. File '/child.js' does not exist. File '/child.jsx' does not exist. ======== Module name 'child' was not resolved. ======== -File '/lib/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts Default library for target 'es5' src/childResult.d.ts @@ -158,7 +143,7 @@ define("child", ["require", "exports", "child2"], function (require, exports, ch //// [/src/childResult.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./child/child2.ts","./child/child.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"6507293504-export function child2() {\n}\n","impliedFormat":1},{"version":"-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./childResult.js"},"outSignature":"2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n","latestChangedDtsFile":"./childResult.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./child/child2.ts","./child/child.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","6507293504-export function child2() {\n}\n","-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./childResult.js"},"outSignature":"2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n","latestChangedDtsFile":"./childResult.d.ts"},"version":"FakeTSVersion"} //// [/src/childResult.tsbuildinfo.readable.baseline.txt] { @@ -169,30 +154,9 @@ define("child", ["require", "exports", "child2"], function (require, exports, ch "./child/child.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./child/child2.ts": { - "original": { - "version": "6507293504-export function child2() {\n}\n", - "impliedFormat": 1 - }, - "version": "6507293504-export function child2() {\n}\n", - "impliedFormat": "commonjs" - }, - "./child/child.ts": { - "original": { - "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n", - "impliedFormat": 1 - }, - "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./child/child2.ts": "6507293504-export function child2() {\n}\n", + "./child/child.ts": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n" }, "root": [ [ @@ -213,7 +177,7 @@ define("child", ["require", "exports", "child2"], function (require, exports, ch "latestChangedDtsFile": "./childResult.d.ts" }, "version": "FakeTSVersion", - "size": 1097 + "size": 1007 } //// [/src/mainResult.d.ts] @@ -234,7 +198,7 @@ define("main", ["require", "exports", "child"], function (require, exports, chil //// [/src/mainResult.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./childresult.d.ts","./main/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n","impliedFormat":1},{"version":"-8784613407-import { child } from \"child\";\nexport function main() {\n child();\n}\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"module":2,"outFile":"./mainResult.js"},"outSignature":"7955277823-declare module \"main\" {\n export function main(): void;\n}\n","latestChangedDtsFile":"./mainResult.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./childresult.d.ts","./main/main.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n","-8784613407-import { child } from \"child\";\nexport function main() {\n child();\n}\n"],"root":[3],"options":{"composite":true,"module":2,"outFile":"./mainResult.js"},"outSignature":"7955277823-declare module \"main\" {\n export function main(): void;\n}\n","latestChangedDtsFile":"./mainResult.d.ts"},"version":"FakeTSVersion"} //// [/src/mainResult.tsbuildinfo.readable.baseline.txt] { @@ -245,30 +209,9 @@ define("main", ["require", "exports", "child"], function (require, exports, chil "./main/main.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./childresult.d.ts": { - "original": { - "version": "2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n", - "impliedFormat": 1 - }, - "version": "2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n", - "impliedFormat": "commonjs" - }, - "./main/main.ts": { - "original": { - "version": "-8784613407-import { child } from \"child\";\nexport function main() {\n child();\n}\n", - "impliedFormat": 1 - }, - "version": "-8784613407-import { child } from \"child\";\nexport function main() {\n child();\n}\n", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./childresult.d.ts": "2074776633-declare module \"child2\" {\n export function child2(): void;\n}\ndeclare module \"child\" {\n export function child(): void;\n}\n", + "./main/main.ts": "-8784613407-import { child } from \"child\";\nexport function main() {\n child();\n}\n" }, "root": [ [ @@ -285,7 +228,7 @@ define("main", ["require", "exports", "child"], function (require, exports, chil "latestChangedDtsFile": "./mainResult.d.ts" }, "version": "FakeTSVersion", - "size": 1112 + "size": 1022 } @@ -305,9 +248,6 @@ Output:: [HH:MM:SS AM] Building project '/src/child/tsconfig.json'... -File '/src/child/package.json' does not exist. -File '/src/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '../child/child2' from '/src/child/child.ts'. ======== Module resolution kind is not specified, using 'Classic'. File '/src/child/child2.ts' does not exist. @@ -316,8 +256,6 @@ File '/src/child/child2.d.ts' does not exist. File '/src/child/child2.js' does not exist. File '/src/child/child2.jsx' does not exist. ======== Module name '../child/child2' was not resolved. ======== -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. src/child/child.ts:1:24 - error TS2792: Cannot find module '../child/child2'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? 1 import { child2 } from "../child/child2"; diff --git a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file.js b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file.js index c97a202dacaec..0b811f78c66f2 100644 --- a/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file.js +++ b/tests/baselines/reference/tsbuild/fileDelete/detects-deleted-file.js @@ -65,19 +65,11 @@ Output:: [HH:MM:SS AM] Building project '/src/child/tsconfig.json'... -File '/src/child/package.json' does not exist. -File '/src/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '../child/child2' from '/src/child/child.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/src/child/child2', target file types: TypeScript, Declaration. File '/src/child/child2.ts' exists - use it as a name resolution result. ======== Module name '../child/child2' was successfully resolved to '/src/child/child2.ts'. ======== -File '/src/child/package.json' does not exist according to earlier cached lookups. -File '/src/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts Default library for target 'es5' src/child/child2.ts @@ -89,19 +81,11 @@ src/child/child.ts [HH:MM:SS AM] Building project '/src/main/tsconfig.json'... -File '/src/main/package.json' does not exist. -File '/src/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '../child/child' from '/src/main/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/src/child/child', target file types: TypeScript, Declaration. File '/src/child/child.ts' exists - use it as a name resolution result. ======== Module name '../child/child' was successfully resolved to '/src/child/child.ts'. ======== -File '/src/child/package.json' does not exist according to earlier cached lookups. -File '/src/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts Default library for target 'es5' src/child/child.d.ts @@ -139,7 +123,7 @@ function child2() { //// [/src/child/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./child2.ts","./child.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"6507293504-export function child2() {\n}\n","signature":"-5501507595-export declare function child2(): void;\n","impliedFormat":1},{"version":"-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n","signature":"-1814288093-export declare function child(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./child.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./child2.ts","./child.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6507293504-export function child2() {\n}\n","signature":"-5501507595-export declare function child2(): void;\n"},{"version":"-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n","signature":"-1814288093-export declare function child(): void;\n"}],"root":[2,3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./child.d.ts"},"version":"FakeTSVersion"} //// [/src/child/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -158,33 +142,27 @@ function child2() { "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./child2.ts": { "original": { "version": "6507293504-export function child2() {\n}\n", - "signature": "-5501507595-export declare function child2(): void;\n", - "impliedFormat": 1 + "signature": "-5501507595-export declare function child2(): void;\n" }, "version": "6507293504-export function child2() {\n}\n", - "signature": "-5501507595-export declare function child2(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5501507595-export declare function child2(): void;\n" }, "./child.ts": { "original": { "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n", - "signature": "-1814288093-export declare function child(): void;\n", - "impliedFormat": 1 + "signature": "-1814288093-export declare function child(): void;\n" }, "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n", - "signature": "-1814288093-export declare function child(): void;\n", - "impliedFormat": "commonjs" + "signature": "-1814288093-export declare function child(): void;\n" } }, "root": [ @@ -208,7 +186,7 @@ function child2() { "latestChangedDtsFile": "./child.d.ts" }, "version": "FakeTSVersion", - "size": 1082 + "size": 1028 } //// [/src/main/main.d.ts] @@ -226,7 +204,7 @@ function main() { //// [/src/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../child/child.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1814288093-export declare function child(): void;\n","impliedFormat":1},{"version":"-8540107489-import { child } from \"../child/child\";\nexport function main() {\n child();\n}\n","signature":"-2471343004-export declare function main(): void;\n","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../child/child.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1814288093-export declare function child(): void;\n",{"version":"-8540107489-import { child } from \"../child/child\";\nexport function main() {\n child();\n}\n","signature":"-2471343004-export declare function main(): void;\n"}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/src/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -245,32 +223,23 @@ function main() { "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../child/child.d.ts": { - "original": { - "version": "-1814288093-export declare function child(): void;\n", - "impliedFormat": 1 - }, "version": "-1814288093-export declare function child(): void;\n", - "signature": "-1814288093-export declare function child(): void;\n", - "impliedFormat": "commonjs" + "signature": "-1814288093-export declare function child(): void;\n" }, "./main.ts": { "original": { "version": "-8540107489-import { child } from \"../child/child\";\nexport function main() {\n child();\n}\n", - "signature": "-2471343004-export declare function main(): void;\n", - "impliedFormat": 1 + "signature": "-2471343004-export declare function main(): void;\n" }, "version": "-8540107489-import { child } from \"../child/child\";\nexport function main() {\n child();\n}\n", - "signature": "-2471343004-export declare function main(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2471343004-export declare function main(): void;\n" } }, "root": [ @@ -290,7 +259,7 @@ function main() { "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1022 + "size": 956 } @@ -312,9 +281,6 @@ Output:: [HH:MM:SS AM] Building project '/src/child/tsconfig.json'... -File '/src/child/package.json' does not exist. -File '/src/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '../child/child2' from '/src/child/child.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/src/child/child2', target file types: TypeScript, Declaration. @@ -327,8 +293,6 @@ File '/src/child/child2.js' does not exist. File '/src/child/child2.jsx' does not exist. Directory '/src/child/child2' does not exist, skipping all lookups in it. ======== Module name '../child/child2' was not resolved. ======== -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. src/child/child.ts:1:24 - error TS2307: Cannot find module '../child/child2' or its corresponding type declarations. 1 import { child2 } from "../child/child2"; @@ -349,7 +313,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/src/child/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./child.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n","signature":"-1814288093-export declare function child(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"semanticDiagnosticsPerFile":[[2,[{"start":23,"length":17,"messageText":"Cannot find module '../child/child2' or its corresponding type declarations.","category":1,"code":2307}]]],"affectedFilesPendingEmit":[2],"latestChangedDtsFile":"./child.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./child.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n","signature":"-1814288093-export declare function child(): void;\n"}],"root":[2],"options":{"composite":true},"semanticDiagnosticsPerFile":[[2,[{"start":23,"length":17,"messageText":"Cannot find module '../child/child2' or its corresponding type declarations.","category":1,"code":2307}]]],"affectedFilesPendingEmit":[2],"latestChangedDtsFile":"./child.d.ts"},"version":"FakeTSVersion"} //// [/src/child/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -362,23 +326,19 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./child.ts": { "original": { "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n", - "signature": "-1814288093-export declare function child(): void;\n", - "impliedFormat": 1 + "signature": "-1814288093-export declare function child(): void;\n" }, "version": "-11458139532-import { child2 } from \"../child/child2\";\nexport function child() {\n child2();\n}\n", - "signature": "-1814288093-export declare function child(): void;\n", - "impliedFormat": "commonjs" + "signature": "-1814288093-export declare function child(): void;\n" } }, "root": [ @@ -413,6 +373,6 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "latestChangedDtsFile": "./child.d.ts" }, "version": "FakeTSVersion", - "size": 1090 + "size": 1054 } diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js index 72fc4b5821efc..65078fe5983c5 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module-with-isolatedModules.js @@ -156,7 +156,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n","impliedFormat":1},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n","impliedFormat":1},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6956449754-export { default as bar } from './bar';\n","impliedFormat":1},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,63 +182,48 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../bar.ts": { "original": { "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", - "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n" }, "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", - "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n" }, "../bundling.ts": { "original": { "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": 1 + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "../global.d.ts": { "original": { "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../lazyindex.ts": { - "original": { - "version": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": 1 - }, "version": "-6956449754-export { default as bar } from './bar';\n", - "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "signature": "-6956449754-export { default as bar } from './bar';\n" }, "../index.ts": { "original": { "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": 1 + "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n" }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n" } }, "root": [ @@ -272,7 +257,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret } }, "version": "FakeTSVersion", - "size": 2591 + "size": 2471 } @@ -324,7 +309,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" //// [/src/obj/lazyIndex.d.ts] file written with same contents //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n","impliedFormat":1},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n","impliedFormat":1},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6956449754-export { default as bar } from './bar';\n","impliedFormat":1},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -350,63 +335,48 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../bar.ts": { "original": { "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", - "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n" }, "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", - "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n" }, "../bundling.ts": { "original": { "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": 1 + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "../global.d.ts": { "original": { "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../lazyindex.ts": { - "original": { - "version": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": 1 - }, "version": "-6956449754-export { default as bar } from './bar';\n", - "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "signature": "-6956449754-export { default as bar } from './bar';\n" }, "../index.ts": { "original": { "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": 1 + "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n" }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n" } }, "root": [ @@ -440,7 +410,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" } }, "version": "FakeTSVersion", - "size": 2553 + "size": 2433 } @@ -492,7 +462,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( //// [/src/obj/lazyIndex.d.ts] file written with same contents //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n","impliedFormat":1},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n","impliedFormat":1},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6956449754-export { default as bar } from './bar';\n","impliedFormat":1},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -518,63 +488,48 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../bar.ts": { "original": { "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", - "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n" }, "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", - "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n" }, "../bundling.ts": { "original": { "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": 1 + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "../global.d.ts": { "original": { "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../lazyindex.ts": { - "original": { - "version": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": 1 - }, "version": "-6956449754-export { default as bar } from './bar';\n", - "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "signature": "-6956449754-export { default as bar } from './bar';\n" }, "../index.ts": { "original": { "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": 1 + "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n" }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n" } }, "root": [ @@ -608,6 +563,6 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( } }, "version": "FakeTSVersion", - "size": 2591 + "size": 2471 } diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js index 6ae4cccae9b6c..8133a97050c44 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/inferred-type-from-transitive-module.js @@ -156,7 +156,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n","impliedFormat":1},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n","impliedFormat":1},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6956449754-export { default as bar } from './bar';\n","impliedFormat":1},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,63 +182,48 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../bar.ts": { "original": { "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", - "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n" }, "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", - "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n" }, "../bundling.ts": { "original": { "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": 1 + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "../global.d.ts": { "original": { "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../lazyindex.ts": { - "original": { - "version": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": 1 - }, "version": "-6956449754-export { default as bar } from './bar';\n", - "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "signature": "-6956449754-export { default as bar } from './bar';\n" }, "../index.ts": { "original": { "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": 1 + "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n" }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n" } }, "root": [ @@ -272,7 +257,7 @@ Object.defineProperty(exports, "bar", { enumerable: true, get: function () { ret } }, "version": "FakeTSVersion", - "size": 2591 + "size": 2471 } @@ -325,7 +310,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" //// [/src/obj/lazyIndex.d.ts] file written with same contents //// [/src/obj/lazyIndex.js] file written with same contents //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n","impliedFormat":1},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n","impliedFormat":1},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6956449754-export { default as bar } from './bar';\n","impliedFormat":1},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -351,63 +336,48 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../bar.ts": { "original": { "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", - "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n" }, "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", - "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n" }, "../bundling.ts": { "original": { "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": 1 + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "../global.d.ts": { "original": { "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../lazyindex.ts": { - "original": { - "version": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": 1 - }, "version": "-6956449754-export { default as bar } from './bar';\n", - "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "signature": "-6956449754-export { default as bar } from './bar';\n" }, "../index.ts": { "original": { "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": 1 + "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n" }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n" } }, "root": [ @@ -441,7 +411,7 @@ export declare const lazyBar: LazyAction<() => void, typeof import("./lazyIndex" } }, "version": "FakeTSVersion", - "size": 2553 + "size": 2433 } @@ -494,7 +464,7 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( //// [/src/obj/lazyIndex.d.ts] file written with same contents //// [/src/obj/lazyIndex.js] file written with same contents //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n","impliedFormat":1},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n","impliedFormat":1},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6956449754-export { default as bar } from './bar';\n","impliedFormat":1},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"-6956449754-export { default as bar } from './bar';\n",{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -520,63 +490,48 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../bar.ts": { "original": { "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", - "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n" }, "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", - "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n" }, "../bundling.ts": { "original": { "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": 1 + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "../global.d.ts": { "original": { "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../lazyindex.ts": { - "original": { - "version": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": 1 - }, "version": "-6956449754-export { default as bar } from './bar';\n", - "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "signature": "-6956449754-export { default as bar } from './bar';\n" }, "../index.ts": { "original": { "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": 1 + "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n" }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n" } }, "root": [ @@ -610,6 +565,6 @@ export declare const lazyBar: LazyAction<(param: string) => void, typeof import( } }, "version": "FakeTSVersion", - "size": 2591 + "size": 2471 } diff --git a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js index a8330133fce97..8dcfc965eb905 100644 --- a/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js +++ b/tests/baselines/reference/tsbuild/inferredTypeFromTransitiveModule/reports-errors-in-files-affected-by-change-in-signature-with-isolatedModules.js @@ -160,7 +160,7 @@ var bar_2 = require("./bar"); //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n","impliedFormat":1},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n","impliedFormat":1},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6956449754-export { default as bar } from './bar';\n","impliedFormat":1},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6956449754-export { default as bar } from './bar';\n"},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -186,64 +186,52 @@ var bar_2 = require("./bar"); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../bar.ts": { "original": { "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", - "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n" }, "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", - "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n" }, "../bundling.ts": { "original": { "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": 1 + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "../global.d.ts": { "original": { "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../lazyindex.ts": { "original": { "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": 1 + "signature": "-6956449754-export { default as bar } from './bar';\n" }, "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "signature": "-6956449754-export { default as bar } from './bar';\n" }, "../index.ts": { "original": { "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": 1 + "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n" }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n" } }, "root": [ @@ -277,7 +265,7 @@ var bar_2 = require("./bar"); } }, "version": "FakeTSVersion", - "size": 2716 + "size": 2608 } @@ -319,7 +307,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n","impliedFormat":1},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n","impliedFormat":1},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","impliedFormat":1},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[5,[{"start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"affectedFilesPendingEmit":[2,[6],[5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n"],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[5,[{"start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"affectedFilesPendingEmit":[2,[6],[5]]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -345,62 +333,44 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../bar.ts": { "original": { "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", - "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n" }, "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", - "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n" }, "../bundling.ts": { "original": { "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": 1 + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "../global.d.ts": { "original": { "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../lazyindex.ts": { - "original": { - "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "impliedFormat": 1 - }, "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "signature": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "impliedFormat": "commonjs" + "signature": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");" }, "../index.ts": { - "original": { - "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "impliedFormat": 1 - }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "impliedFormat": "commonjs" + "signature": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n" } }, "root": [ @@ -466,7 +436,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped ] }, "version": "FakeTSVersion", - "size": 2628 + "size": 2496 } @@ -504,7 +474,7 @@ exitCode:: ExitStatus.Success //// [/src/obj/index.d.ts] file written with same contents //// [/src/obj/lazyIndex.d.ts] file written with same contents //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n","impliedFormat":1},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n","impliedFormat":1},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6956449754-export { default as bar } from './bar';\n","impliedFormat":1},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n","signature":"1630430607-declare const _default: (param: string) => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","signature":"-6956449754-export { default as bar } from './bar';\n"},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -530,64 +500,52 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../bar.ts": { "original": { "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", - "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n" }, "version": "9420269200-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(param: string): void {\n});\n", - "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "1630430607-declare const _default: (param: string) => void;\nexport default _default;\n" }, "../bundling.ts": { "original": { "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": 1 + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "../global.d.ts": { "original": { "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../lazyindex.ts": { "original": { "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": 1 + "signature": "-6956449754-export { default as bar } from './bar';\n" }, "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "signature": "-6956449754-export { default as bar } from './bar';\n" }, "../index.ts": { "original": { "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": 1 + "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n" }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "signature": "-13696684486-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<(param: string) => void, typeof import(\"./lazyIndex\")>;\n" } }, "root": [ @@ -621,7 +579,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 2716 + "size": 2608 } @@ -663,7 +621,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n","impliedFormat":1},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n","impliedFormat":1},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","impliedFormat":1},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[5,[{"start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"affectedFilesPendingEmit":[2,[6],[5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},"3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");","6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n"],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]],"semanticDiagnosticsPerFile":[[5,[{"start":85,"length":7,"messageText":"Expected 0 arguments, but got 1.","category":1,"code":2554}]]],"affectedFilesPendingEmit":[2,[6],[5]]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -689,62 +647,44 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../bar.ts": { "original": { "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", - "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n" }, "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", - "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n" }, "../bundling.ts": { "original": { "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": 1 + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "../global.d.ts": { "original": { "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../lazyindex.ts": { - "original": { - "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "impliedFormat": 1 - }, "version": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "signature": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");", - "impliedFormat": "commonjs" + "signature": "3017320451-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar(\"hello\");" }, "../index.ts": { - "original": { - "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "impliedFormat": 1 - }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "impliedFormat": "commonjs" + "signature": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n" } }, "root": [ @@ -810,7 +750,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped ] }, "version": "FakeTSVersion", - "size": 2628 + "size": 2496 } @@ -866,7 +806,7 @@ var bar_2 = require("./bar"); //// [/src/obj/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n","impliedFormat":1},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n","impliedFormat":1},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3721262293-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar();","signature":"-6956449754-export { default as bar } from './bar';\n","impliedFormat":1},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../bar.ts","../bundling.ts","../global.d.ts","../lazyindex.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n","signature":"-1866892563-declare const _default: () => void;\nexport default _default;\n"},{"version":"-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n","signature":"-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n"},{"version":"-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n","affectsGlobalScope":true},{"version":"-3721262293-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar();","signature":"-6956449754-export { default as bar } from './bar';\n"},{"version":"6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n","signature":"-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n"}],"root":[[2,6]],"options":{"declaration":true,"outDir":"./","target":1},"fileIdsList":[[3,5],[2]],"referencedMap":[[6,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/obj/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -892,64 +832,52 @@ var bar_2 = require("./bar"); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../bar.ts": { "original": { "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", - "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n" }, "version": "10075719182-interface RawAction {\n (...args: any[]): Promise | void;\n}\ninterface ActionFactory {\n (target: T): T;\n}\ndeclare function foo(): ActionFactory;\nexport default foo()(function foobar(): void {\n});\n", - "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "-1866892563-declare const _default: () => void;\nexport default _default;\n" }, "../bundling.ts": { "original": { "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": 1 + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "version": "-5105594088-export class LazyModule {\n constructor(private importCallback: () => Promise) {}\n}\n\nexport class LazyAction<\n TAction extends (...args: any[]) => any,\n TModule\n> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction) {\n }\n}\n", - "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n", - "impliedFormat": "commonjs" + "signature": "-23343356903-export declare class LazyModule {\n private importCallback;\n constructor(importCallback: () => Promise);\n}\nexport declare class LazyAction any, TModule> {\n constructor(_lazyModule: LazyModule, _getter: (module: TModule) => TAction);\n}\n" }, "../global.d.ts": { "original": { "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", "signature": "-20910599262-interface PromiseConstructor {\n new (): Promise;\n}\ndeclare var Promise: PromiseConstructor;\ninterface Promise {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../lazyindex.ts": { "original": { "version": "-3721262293-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar();", - "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": 1 + "signature": "-6956449754-export { default as bar } from './bar';\n" }, "version": "-3721262293-export { default as bar } from './bar';\n\nimport { default as bar } from './bar';\nbar();", - "signature": "-6956449754-export { default as bar } from './bar';\n", - "impliedFormat": "commonjs" + "signature": "-6956449754-export { default as bar } from './bar';\n" }, "../index.ts": { "original": { "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": 1 + "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n" }, "version": "6186344161-import { LazyAction, LazyModule } from './bundling';\nconst lazyModule = new LazyModule(() =>\n import('./lazyIndex')\n);\nexport const lazyBar = new LazyAction(lazyModule, m => m.bar);\n", - "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n", - "impliedFormat": "commonjs" + "signature": "-4053129224-import { LazyAction } from './bundling';\nexport declare const lazyBar: LazyAction<() => void, typeof import(\"./lazyIndex\")>;\n" } }, "root": [ @@ -983,6 +911,6 @@ var bar_2 = require("./bar"); } }, "version": "FakeTSVersion", - "size": 2670 + "size": 2562 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js index a7a7bce30e479..b608974baa424 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-and-emits-them-correctly.js @@ -142,7 +142,7 @@ module.exports = {}; //// [/lib/common/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib.d.ts","../../src/common/nominal.js"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9003723607-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\nmodule.exports = {};\n","signature":"-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n","impliedFormat":1}],"root":[2],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"latestChangedDtsFile":"./nominal.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib.d.ts","../../src/common/nominal.js"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},{"version":"-9003723607-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\nmodule.exports = {};\n","signature":"-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n"}],"root":[2],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"latestChangedDtsFile":"./nominal.d.ts"},"version":"FakeTSVersion"} //// [/lib/common/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -155,23 +155,19 @@ module.exports = {}; "../lib.d.ts": { "original": { "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", "signature": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../src/common/nominal.js": { "original": { "version": "-9003723607-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\nmodule.exports = {};\n", - "signature": "-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": 1 + "signature": "-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n" }, "version": "-9003723607-/**\n * @template T, Name\n * @typedef {T & {[Symbol.species]: Name}} Nominal\n */\nmodule.exports = {};\n", - "signature": "-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": "commonjs" + "signature": "-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n" } }, "root": [ @@ -192,11 +188,11 @@ module.exports = {}; "latestChangedDtsFile": "./nominal.d.ts" }, "version": "FakeTSVersion", - "size": 1254 + "size": 1218 } //// [/lib/sub-project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib.d.ts","../common/nominal.d.ts","../../src/sub-project/index.js"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n","impliedFormat":1},{"version":"-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n","impliedFormat":1}],"root":[3],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":9,"length":7,"messageText":"'Nominal' is a type and cannot be imported in JavaScript files. Use 'import(\"../common/nominal\").Nominal' in a JSDoc type annotation.","category":1,"code":18042}]]],"affectedFilesPendingEmit":[3],"emitSignatures":[3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib.d.ts","../common/nominal.d.ts","../../src/sub-project/index.js"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n","-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n"],"root":[3],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":9,"length":7,"messageText":"'Nominal' is a type and cannot be imported in JavaScript files. Use 'import(\"../common/nominal\").Nominal' in a JSDoc type annotation.","category":1,"code":18042}]]],"affectedFilesPendingEmit":[3],"emitSignatures":[3]},"version":"FakeTSVersion"} //// [/lib/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -215,31 +211,19 @@ module.exports = {}; "../lib.d.ts": { "original": { "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", "signature": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../common/nominal.d.ts": { - "original": { - "version": "-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": 1 - }, "version": "-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "signature": "-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": "commonjs" + "signature": "-13020584488-export type Nominal = T & {\n [Symbol.species]: Name;\n};\n" }, "../../src/sub-project/index.js": { - "original": { - "version": "-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n", - "impliedFormat": 1 - }, "version": "-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n", - "signature": "-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n", - "impliedFormat": "commonjs" + "signature": "-23375763082-import { Nominal } from '../common/nominal';\n\n/**\n * @typedef {Nominal} MyNominal\n */\n" } }, "root": [ @@ -287,6 +271,6 @@ module.exports = {}; ] }, "version": "FakeTSVersion", - "size": 1601 + "size": 1523 } diff --git a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js index da7eb42369509..3bd519f5c99e2 100644 --- a/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js +++ b/tests/baselines/reference/tsbuild/javascriptProjectEmit/loads-js-based-projects-with-non-moved-json-files-and-emits-them-correctly.js @@ -137,7 +137,7 @@ exports.m = common_1.default; //// [/out/sub-project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../../src/common/obj.json","../../src/common/index.d.ts","../../src/sub-project/index.js"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true,"impliedFormat":1},"2151907832-{\n \"val\": 42\n}",{"version":"-5032674136-import x = require(\"./obj.json\");\nexport = x;\n","impliedFormat":1},{"version":"-14684157955-import mod from '../common';\n\nexport const m = mod;\n","signature":"-12566182521-export const m: {\n val: number;\n};\n","impliedFormat":1}],"root":[4],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../../src/common/obj.json","../../src/common/index.d.ts","../../src/sub-project/index.js"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"2151907832-{\n \"val\": 42\n}","-5032674136-import x = require(\"./obj.json\");\nexport = x;\n",{"version":"-14684157955-import mod from '../common';\n\nexport const m = mod;\n","signature":"-12566182521-export const m: {\n val: number;\n};\n"}],"root":[4],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/out/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -160,36 +160,27 @@ exports.m = common_1.default; "../../lib/lib.d.ts": { "original": { "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", "signature": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../src/common/obj.json": { "version": "2151907832-{\n \"val\": 42\n}", "signature": "2151907832-{\n \"val\": 42\n}" }, "../../src/common/index.d.ts": { - "original": { - "version": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n", - "impliedFormat": 1 - }, "version": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n", - "signature": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n", - "impliedFormat": "commonjs" + "signature": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n" }, "../../src/sub-project/index.js": { "original": { "version": "-14684157955-import mod from '../common';\n\nexport const m = mod;\n", - "signature": "-12566182521-export const m: {\n val: number;\n};\n", - "impliedFormat": 1 + "signature": "-12566182521-export const m: {\n val: number;\n};\n" }, "version": "-14684157955-import mod from '../common';\n\nexport const m = mod;\n", - "signature": "-12566182521-export const m: {\n val: number;\n};\n", - "impliedFormat": "commonjs" + "signature": "-12566182521-export const m: {\n val: number;\n};\n" } }, "root": [ @@ -219,7 +210,7 @@ exports.m = common_1.default; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1447 + "size": 1381 } //// [/out/sub-project-2/index.d.ts] @@ -244,7 +235,7 @@ function getVar() { //// [/out/sub-project-2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../sub-project/index.d.ts","../../src/sub-project-2/index.js"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12566182521-export const m: {\n val: number;\n};\n","impliedFormat":1},{"version":"13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n","signature":"2403991005-export function getVar(): {\n key: {\n val: number;\n };\n};\n","impliedFormat":1}],"root":[3],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../sub-project/index.d.ts","../../src/sub-project-2/index.js"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-12566182521-export const m: {\n val: number;\n};\n",{"version":"13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n","signature":"2403991005-export function getVar(): {\n key: {\n val: number;\n };\n};\n"}],"root":[3],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"..","rootDir":"../../src","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/out/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -263,32 +254,23 @@ function getVar() { "../../lib/lib.d.ts": { "original": { "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", "signature": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../sub-project/index.d.ts": { - "original": { - "version": "-12566182521-export const m: {\n val: number;\n};\n", - "impliedFormat": 1 - }, "version": "-12566182521-export const m: {\n val: number;\n};\n", - "signature": "-12566182521-export const m: {\n val: number;\n};\n", - "impliedFormat": "commonjs" + "signature": "-12566182521-export const m: {\n val: number;\n};\n" }, "../../src/sub-project-2/index.js": { "original": { "version": "13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n", - "signature": "2403991005-export function getVar(): {\n key: {\n val: number;\n };\n};\n", - "impliedFormat": 1 + "signature": "2403991005-export function getVar(): {\n key: {\n val: number;\n };\n};\n" }, "version": "13545386800-import { m } from '../sub-project/index';\n\nconst variable = {\n key: m,\n};\n\nexport function getVar() {\n return variable;\n}\n", - "signature": "2403991005-export function getVar(): {\n key: {\n val: number;\n };\n};\n", - "impliedFormat": "commonjs" + "signature": "2403991005-export function getVar(): {\n key: {\n val: number;\n };\n};\n" } }, "root": [ @@ -315,7 +297,7 @@ function getVar() { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1479 + "size": 1413 } //// [/src/common/index.d.ts] @@ -330,7 +312,7 @@ module.exports = x; //// [/src/common/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./obj.json","./index.ts"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true,"impliedFormat":1},"2151907832-{\n \"val\": 42\n}",{"version":"-5032674136-import x = require(\"./obj.json\");\nexport = x;\n","impliedFormat":1}],"root":[2,3],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"../..","rootDir":"..","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./obj.json","./index.ts"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"2151907832-{\n \"val\": 42\n}","-5032674136-import x = require(\"./obj.json\");\nexport = x;\n"],"root":[2,3],"options":{"allowJs":true,"checkJs":true,"composite":true,"declaration":true,"esModuleInterop":true,"outDir":"../..","rootDir":"..","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/common/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -349,26 +331,19 @@ module.exports = x; "../../lib/lib.d.ts": { "original": { "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", "signature": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./obj.json": { "version": "2151907832-{\n \"val\": 42\n}", "signature": "2151907832-{\n \"val\": 42\n}" }, "./index.ts": { - "original": { - "version": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n", - "impliedFormat": 1 - }, "version": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n", - "signature": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n", - "impliedFormat": "commonjs" + "signature": "-5032674136-import x = require(\"./obj.json\");\nexport = x;\n" } }, "root": [ @@ -399,6 +374,6 @@ module.exports = x; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1200 + "size": 1152 } diff --git a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js index 692ff2996f9c1..5c99c45b37f62 100644 --- a/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js +++ b/tests/baselines/reference/tsbuild/lateBoundSymbol/interface-is-merged-and-contains-late-bound-member.js @@ -74,7 +74,7 @@ var x = 10; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/globals.d.ts","./src/hkt.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"675797797-export interface HKT { }","impliedFormat":1},{"version":"-28636726258-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\nconst x = 10;\ntype A = HKT[typeof sym];\n","impliedFormat":1}],"root":[[2,4]],"options":{"rootDir":"./src"},"fileIdsList":[[3,4]],"referencedMap":[[4,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/globals.d.ts","./src/hkt.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n","affectsGlobalScope":true},"675797797-export interface HKT { }","-28636726258-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\nconst x = 10;\ntype A = HKT[typeof sym];\n"],"root":[[2,4]],"options":{"rootDir":"./src"},"fileIdsList":[[3,4]],"referencedMap":[[4,1]]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -95,42 +95,28 @@ var x = 10; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/globals.d.ts": { "original": { "version": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", "signature": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/hkt.ts": { - "original": { - "version": "675797797-export interface HKT { }", - "impliedFormat": 1 - }, "version": "675797797-export interface HKT { }", - "signature": "675797797-export interface HKT { }", - "impliedFormat": "commonjs" + "signature": "675797797-export interface HKT { }" }, "./src/main.ts": { - "original": { - "version": "-28636726258-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\nconst x = 10;\ntype A = HKT[typeof sym];\n", - "impliedFormat": 1 - }, "version": "-28636726258-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\nconst x = 10;\ntype A = HKT[typeof sym];\n", - "signature": "-28636726258-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\nconst x = 10;\ntype A = HKT[typeof sym];\n", - "impliedFormat": "commonjs" + "signature": "-28636726258-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\nconst x = 10;\ntype A = HKT[typeof sym];\n" } }, "root": [ @@ -157,7 +143,7 @@ var x = 10; } }, "version": "FakeTSVersion", - "size": 1228 + "size": 1132 } @@ -199,7 +185,7 @@ var sym = Symbol(); //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/globals.d.ts","./src/hkt.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"675797797-export interface HKT { }","impliedFormat":1},{"version":"-13476768170-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\n","signature":"-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"rootDir":"./src"},"fileIdsList":[[3,4]],"referencedMap":[[4,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/globals.d.ts","./src/hkt.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n","affectsGlobalScope":true},"675797797-export interface HKT { }",{"version":"-13476768170-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\n","signature":"-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n"}],"root":[[2,4]],"options":{"rootDir":"./src"},"fileIdsList":[[3,4]],"referencedMap":[[4,1]]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -220,43 +206,32 @@ var sym = Symbol(); "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/globals.d.ts": { "original": { "version": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", "signature": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/hkt.ts": { - "original": { - "version": "675797797-export interface HKT { }", - "impliedFormat": 1 - }, "version": "675797797-export interface HKT { }", - "signature": "675797797-export interface HKT { }", - "impliedFormat": "commonjs" + "signature": "675797797-export interface HKT { }" }, "./src/main.ts": { "original": { "version": "-13476768170-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\n", - "signature": "-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n", - "impliedFormat": 1 + "signature": "-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n" }, "version": "-13476768170-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\n", - "signature": "-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n", - "impliedFormat": "commonjs" + "signature": "-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n" } }, "root": [ @@ -283,7 +258,7 @@ var sym = Symbol(); } }, "version": "FakeTSVersion", - "size": 1401 + "size": 1317 } @@ -326,7 +301,7 @@ var x = 10; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/globals.d.ts","./src/hkt.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"675797797-export interface HKT { }","impliedFormat":1},{"version":"-8082110290-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\nconst x = 10;","signature":"-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"rootDir":"./src"},"fileIdsList":[[3,4]],"referencedMap":[[4,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/globals.d.ts","./src/hkt.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n","affectsGlobalScope":true},"675797797-export interface HKT { }",{"version":"-8082110290-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\nconst x = 10;","signature":"-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n"}],"root":[[2,4]],"options":{"rootDir":"./src"},"fileIdsList":[[3,4]],"referencedMap":[[4,1]]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -347,43 +322,32 @@ var x = 10; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/globals.d.ts": { "original": { "version": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", "signature": "-1383980825-interface SymbolConstructor {\n (description?: string | number): symbol;\n}\ndeclare var Symbol: SymbolConstructor;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/hkt.ts": { - "original": { - "version": "675797797-export interface HKT { }", - "impliedFormat": 1 - }, "version": "675797797-export interface HKT { }", - "signature": "675797797-export interface HKT { }", - "impliedFormat": "commonjs" + "signature": "675797797-export interface HKT { }" }, "./src/main.ts": { "original": { "version": "-8082110290-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\nconst x = 10;", - "signature": "-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n", - "impliedFormat": 1 + "signature": "-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n" }, "version": "-8082110290-import { HKT } from \"./hkt\";\n\nconst sym = Symbol();\n\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: { a: T }\n }\n}\n\ntype A = HKT[typeof sym];\nconst x = 10;", - "signature": "-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n", - "impliedFormat": "commonjs" + "signature": "-13155653598-declare const sym: unique symbol;\ndeclare module \"./hkt\" {\n interface HKT {\n [sym]: {\n a: T;\n };\n }\n}\nexport {};\n" } }, "root": [ @@ -410,6 +374,6 @@ var x = 10; } }, "version": "FakeTSVersion", - "size": 1413 + "size": 1329 } diff --git a/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js index 55bbed775b060..26e84d9bc305f 100644 --- a/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsbuild/libraryResolution/with-config-with-redirection.js @@ -201,21 +201,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project1/tsconfig.json'... -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -231,13 +216,6 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist. -File '/home/src/projects/node_modules/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -253,13 +231,6 @@ File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -275,34 +246,10 @@ File '/home/src/projects/node_modules/@typescript/lib-es5/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/projects/project1/typeroot1/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. File '/home/src/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== @@ -321,13 +268,6 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-webworker/index.d.ts Library referenced via 'webworker' from file 'project1/file2.ts' node_modules/@typescript/lib-scripthost/index.d.ts @@ -354,16 +294,6 @@ project1/typeroot1/sometype/index.d.ts [HH:MM:SS AM] Building project '/home/src/projects/project2/tsconfig.json'... -File '/home/src/projects/project2/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project2/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project2/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -372,13 +302,6 @@ Directory '/home/src/projects/project2/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-es5' Resolution for module '@typescript/lib-es5' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project2/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -387,13 +310,6 @@ Directory '/home/src/projects/project2/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-es5/index.d.ts Library 'lib.es5.d.ts' specified in compilerOptions node_modules/@typescript/lib-dom/index.d.ts @@ -406,16 +322,6 @@ project2/utils.d.ts [HH:MM:SS AM] Building project '/home/src/projects/project3/tsconfig.json'... -File '/home/src/projects/project3/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project3/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project3/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -424,13 +330,6 @@ Directory '/home/src/projects/project3/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-es5' Resolution for module '@typescript/lib-es5' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project3/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -439,13 +338,6 @@ Directory '/home/src/projects/project3/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-es5/index.d.ts Library 'lib.es5.d.ts' specified in compilerOptions node_modules/@typescript/lib-dom/index.d.ts @@ -458,16 +350,6 @@ project3/utils.d.ts [HH:MM:SS AM] Building project '/home/src/projects/project4/tsconfig.json'... -File '/home/src/projects/project4/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project4/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-esnext' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -483,13 +365,6 @@ File '/home/src/projects/node_modules/@typescript/lib-esnext/index.tsx' does not File '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts'. ======== Module name '@typescript/lib-esnext' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-esnext/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -498,13 +373,6 @@ Directory '/home/src/projects/project4/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -513,13 +381,6 @@ Directory '/home/src/projects/project4/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-webworker' Resolution for module '@typescript/lib-webworker' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-esnext/index.d.ts Library 'lib.esnext.d.ts' specified in compilerOptions node_modules/@typescript/lib-dom/index.d.ts @@ -725,7 +586,7 @@ exports.x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -746,103 +607,74 @@ exports.x = "type1"; "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": 1 + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -867,7 +699,7 @@ exports.x = "type1"; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1908 + "size": 1692 } //// [/home/src/projects/project2/index.d.ts] @@ -882,7 +714,7 @@ exports.y = 10; //// [/home/src/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11999455899-export const y = 10","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-11999455899-export const y = 10","signature":"-7152472870-export declare const y = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -897,43 +729,32 @@ exports.y = 10; "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-11999455899-export const y = 10", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-11999455899-export const y = 10", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -952,7 +773,7 @@ exports.y = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1055 + "size": 971 } //// [/home/src/projects/project3/index.d.ts] @@ -967,7 +788,7 @@ exports.z = 10; //// [/home/src/projects/project3/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project3/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -982,43 +803,32 @@ exports.z = 10; "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": 1 + "signature": "-7483702853-export declare const z = 10;\n" }, "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7483702853-export declare const z = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -1037,7 +847,7 @@ exports.z = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1055 + "size": 971 } //// [/home/src/projects/project4/index.d.ts] @@ -1052,7 +862,7 @@ exports.z = 10; //// [/home/src/projects/project4/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../node_modules/@typescript/lib-esnext/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[4,5],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../node_modules/@typescript/lib-esnext/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[4,5],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project4/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1068,54 +878,41 @@ exports.z = 10; "../node_modules/@typescript/lib-esnext/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": 1 + "signature": "-7483702853-export declare const z = 10;\n" }, "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7483702853-export declare const z = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -1134,6 +931,6 @@ exports.z = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1216 + "size": 1114 } diff --git a/tests/baselines/reference/tsbuild/libraryResolution/with-config.js b/tests/baselines/reference/tsbuild/libraryResolution/with-config.js index 20f718d276f35..f580d44e26372 100644 --- a/tests/baselines/reference/tsbuild/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsbuild/libraryResolution/with-config.js @@ -162,21 +162,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project1/tsconfig.json'... -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -203,10 +188,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-webworker' was not resolved. ======== -File '/home/src/lib/package.json' does not exist. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -233,10 +214,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-scripthost' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -263,31 +240,10 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-es5' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/projects/project1/typeroot1/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. File '/home/src/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== @@ -317,10 +273,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' Library 'lib.es5.d.ts' specified in compilerOptions @@ -347,16 +299,6 @@ project1/typeroot1/sometype/index.d.ts [HH:MM:SS AM] Building project '/home/src/projects/project2/tsconfig.json'... -File '/home/src/projects/project2/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project2/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project2/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -365,10 +307,6 @@ Directory '/home/src/projects/project2/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-es5' Resolution for module '@typescript/lib-es5' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-es5' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project2/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -377,10 +315,6 @@ Directory '/home/src/projects/project2/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.es5.d.ts Library 'lib.es5.d.ts' specified in compilerOptions ../lib/lib.dom.d.ts @@ -393,16 +327,6 @@ project2/utils.d.ts [HH:MM:SS AM] Building project '/home/src/projects/project3/tsconfig.json'... -File '/home/src/projects/project3/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project3/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project3/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -411,10 +335,6 @@ Directory '/home/src/projects/project3/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-es5' Resolution for module '@typescript/lib-es5' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-es5' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project3/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -423,10 +343,6 @@ Directory '/home/src/projects/project3/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.es5.d.ts Library 'lib.es5.d.ts' specified in compilerOptions ../lib/lib.dom.d.ts @@ -439,16 +355,6 @@ project3/utils.d.ts [HH:MM:SS AM] Building project '/home/src/projects/project4/tsconfig.json'... -File '/home/src/projects/project4/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project4/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-esnext' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -475,10 +381,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-esnext' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -487,10 +389,6 @@ Directory '/home/src/projects/project4/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -499,10 +397,6 @@ Directory '/home/src/projects/project4/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-webworker' Resolution for module '@typescript/lib-webworker' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-webworker' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.esnext.d.ts Library 'lib.esnext.d.ts' specified in compilerOptions ../lib/lib.dom.d.ts @@ -708,7 +602,7 @@ exports.x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -729,103 +623,74 @@ exports.x = "type1"; "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": 1 + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -850,7 +715,7 @@ exports.x = "type1"; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1812 + "size": 1596 } //// [/home/src/projects/project2/index.d.ts] @@ -865,7 +730,7 @@ exports.y = 10; //// [/home/src/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11999455899-export const y = 10","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-11999455899-export const y = 10","signature":"-7152472870-export declare const y = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -880,43 +745,32 @@ exports.y = 10; "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-11999455899-export const y = 10", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-11999455899-export const y = 10", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -935,7 +789,7 @@ exports.y = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1007 + "size": 923 } //// [/home/src/projects/project3/index.d.ts] @@ -950,7 +804,7 @@ exports.z = 10; //// [/home/src/projects/project3/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project3/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -965,43 +819,32 @@ exports.z = 10; "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": 1 + "signature": "-7483702853-export declare const z = 10;\n" }, "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7483702853-export declare const z = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -1020,7 +863,7 @@ exports.z = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1007 + "size": 923 } //// [/home/src/projects/project4/index.d.ts] @@ -1035,7 +878,7 @@ exports.z = 10; //// [/home/src/projects/project4/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.esnext.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[4,5],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.esnext.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[4,5],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project4/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1051,54 +894,41 @@ exports.z = 10; "../../lib/lib.esnext.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": 1 + "signature": "-7483702853-export declare const z = 10;\n" }, "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7483702853-export declare const z = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -1117,6 +947,6 @@ exports.z = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1144 + "size": 1042 } diff --git a/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js b/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js index 16f08afa54b6e..937d18173c9b9 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/impliedNodeFormat-differs-between-projects-for-shared-file.js @@ -78,11 +78,6 @@ Output:: [HH:MM:SS AM] Building project '/src/projects/a/tsconfig.json'... -File '/src/projects/a/src/package.json' does not exist. -File '/src/projects/a/package.json' does not exist. -File '/src/projects/package.json' does not exist. -File '/src/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving type reference directive 'pg', containing file '/src/projects/a/__inferred type names__.ts', root directory '/src/projects/a/node_modules/@types,/src/projects/node_modules/@types,/src/node_modules/@types,/node_modules/@types'. ======== Resolving with primary search path '/src/projects/a/node_modules/@types, /src/projects/node_modules/@types, /src/node_modules/@types, /node_modules/@types'. Directory '/src/projects/a/node_modules/@types' does not exist, skipping all lookups in it. @@ -93,9 +88,6 @@ Found 'package.json' at '/src/projects/node_modules/@types/pg/package.json'. File '/src/projects/node_modules/@types/pg/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/src/projects/node_modules/@types/pg/index.d.ts', result '/src/projects/node_modules/@types/pg/index.d.ts'. ======== Type reference directive 'pg' was successfully resolved to '/src/projects/node_modules/@types/pg/index.d.ts', primary: true. ======== -File '/src/projects/node_modules/@types/pg/package.json' exists according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts Default library for target 'es5' src/projects/a/src/index.ts @@ -133,8 +125,8 @@ File '/src/projects/node_modules/@types/pg/package.json' exists according to ear File '/src/projects/node_modules/@types/pg/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/src/projects/node_modules/@types/pg/index.d.ts', result '/src/projects/node_modules/@types/pg/index.d.ts'. ======== Type reference directive 'pg' was successfully resolved to '/src/projects/node_modules/@types/pg/index.d.ts', primary: true. ======== -File '/lib/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. +File '/lib/package.json' does not exist. +File '/package.json' does not exist. lib/lib.es2022.full.d.ts Default library for target 'es2022' src/projects/node_modules/@types/pg/index.d.ts diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js index ef066a855356a..a8cb3043be8af 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-preserveSymlinks.js @@ -65,8 +65,6 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... -Found 'package.json' at '/user/username/projects/myproject/packages/pkg2/package.json'. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. ======== Resolving module 'const' from '/user/username/projects/myproject/packages/pkg2/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/user/username/projects/myproject/packages/pkg2', using this value to resolve non-relative module name 'const'. @@ -74,20 +72,10 @@ Resolving module name 'const' relative to base url '/user/username/projects/mypr Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, Declaration. File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result. ======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. [HH:MM:SS AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... -File '/user/username/projects/myproject/packages/pkg1/package.json' does not exist. -File '/user/username/projects/myproject/packages/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -108,8 +96,6 @@ File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. 'package.json' does not have a 'peerDependencies' field. ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== -File '/user/username/projects/myproject/node_modules/pkg2/build/package.json' does not exist. -File '/user/username/projects/myproject/node_modules/pkg2/package.json' exists according to earlier cached lookups. ======== Resolving module 'const' from '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. @@ -118,11 +104,6 @@ Resolving module name 'const' relative to base url '/user/username/projects/mypr Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, Declaration. File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result. ======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== -File '/user/username/projects/myproject/packages/pkg2/build/package.json' does not exist. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. //// [/user/username/projects/myproject/packages/pkg2/build/const.js] @@ -144,7 +125,7 @@ export type { TheNum } from 'const'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n","impliedFormat":1},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -163,33 +144,27 @@ export type { TheNum } from 'const'; "../../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../const.ts": { "original": { "version": "-11202312776-export type TheNum = 42;", - "signature": "-13194036030-export type TheNum = 42;\n", - "impliedFormat": 1 + "signature": "-13194036030-export type TheNum = 42;\n" }, "version": "-11202312776-export type TheNum = 42;", - "signature": "-13194036030-export type TheNum = 42;\n", - "impliedFormat": "commonjs" + "signature": "-13194036030-export type TheNum = 42;\n" }, "../index.ts": { "original": { "version": "-10837689162-export type { TheNum } from 'const';", - "signature": "-9751391360-export type { TheNum } from 'const';\n", - "impliedFormat": 1 + "signature": "-9751391360-export type { TheNum } from 'const';\n" }, "version": "-10837689162-export type { TheNum } from 'const';", - "signature": "-9751391360-export type { TheNum } from 'const';\n", - "impliedFormat": "commonjs" + "signature": "-9751391360-export type { TheNum } from 'const';\n" } }, "root": [ @@ -214,7 +189,7 @@ export type { TheNum } from 'const'; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 959 + "size": 905 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] diff --git a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js index f58c4e5053051..d33f52510073c 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly.js @@ -63,8 +63,6 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... -Found 'package.json' at '/user/username/projects/myproject/packages/pkg2/package.json'. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. ======== Resolving module 'const' from '/user/username/projects/myproject/packages/pkg2/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/user/username/projects/myproject/packages/pkg2', using this value to resolve non-relative module name 'const'. @@ -72,20 +70,10 @@ Resolving module name 'const' relative to base url '/user/username/projects/mypr Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, Declaration. File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result. ======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. [HH:MM:SS AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... -File '/user/username/projects/myproject/packages/pkg1/package.json' does not exist. -File '/user/username/projects/myproject/packages/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -107,8 +95,6 @@ File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exis 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== -File '/user/username/projects/myproject/packages/pkg2/build/package.json' does not exist. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. ======== Resolving module 'const' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. @@ -117,11 +103,6 @@ Resolving module name 'const' relative to base url '/user/username/projects/mypr Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const', target file types: TypeScript, Declaration. File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result. ======== Module name 'const' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== -File '/user/username/projects/myproject/packages/pkg2/build/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. //// [/user/username/projects/myproject/packages/pkg2/build/const.js] @@ -143,7 +124,7 @@ export type { TheNum } from 'const'; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n","impliedFormat":1},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n"},{"version":"-10837689162-export type { TheNum } from 'const';","signature":"-9751391360-export type { TheNum } from 'const';\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -162,33 +143,27 @@ export type { TheNum } from 'const'; "../../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../const.ts": { "original": { "version": "-11202312776-export type TheNum = 42;", - "signature": "-13194036030-export type TheNum = 42;\n", - "impliedFormat": 1 + "signature": "-13194036030-export type TheNum = 42;\n" }, "version": "-11202312776-export type TheNum = 42;", - "signature": "-13194036030-export type TheNum = 42;\n", - "impliedFormat": "commonjs" + "signature": "-13194036030-export type TheNum = 42;\n" }, "../index.ts": { "original": { "version": "-10837689162-export type { TheNum } from 'const';", - "signature": "-9751391360-export type { TheNum } from 'const';\n", - "impliedFormat": 1 + "signature": "-9751391360-export type { TheNum } from 'const';\n" }, "version": "-10837689162-export type { TheNum } from 'const';", - "signature": "-9751391360-export type { TheNum } from 'const';\n", - "impliedFormat": "commonjs" + "signature": "-9751391360-export type { TheNum } from 'const';\n" } }, "root": [ @@ -213,7 +188,7 @@ export type { TheNum } from 'const'; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 959 + "size": 905 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] diff --git a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js index 921c5659852eb..0c5bb1c5da457 100644 --- a/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js +++ b/tests/baselines/reference/tsbuild/moduleResolution/type-reference-resolution-uses-correct-options-for-different-resolution-options-referenced-project.js @@ -65,9 +65,6 @@ Output:: [HH:MM:SS AM] Building project '/src/packages/pkg1.tsconfig.json'... -File '/src/packages/package.json' does not exist. -File '/src/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving type reference directive 'sometype', containing file '/src/packages/__inferred type names__.ts', root directory '/src/packages/typeroot1'. ======== Resolving with primary search path '/src/packages/typeroot1'. File '/src/packages/typeroot1/sometype.d.ts' does not exist. @@ -75,20 +72,10 @@ File '/src/packages/typeroot1/sometype/package.json' does not exist. File '/src/packages/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/src/packages/typeroot1/sometype/index.d.ts', result '/src/packages/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/src/packages/typeroot1/sometype/index.d.ts', primary: true. ======== -File '/src/packages/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/src/packages/typeroot1/package.json' does not exist. -File '/src/packages/package.json' does not exist according to earlier cached lookups. -File '/src/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. [HH:MM:SS AM] Project 'src/packages/pkg2.tsconfig.json' is out of date because output file 'src/packages/pkg2.tsconfig.tsbuildinfo' does not exist [HH:MM:SS AM] Building project '/src/packages/pkg2.tsconfig.json'... -File '/src/packages/package.json' does not exist according to earlier cached lookups. -File '/src/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/src/packages/__inferred type names__.ts', root directory '/src/packages/typeroot2'. ======== Resolving with primary search path '/src/packages/typeroot2'. File '/src/packages/typeroot2/sometype.d.ts' does not exist. @@ -96,18 +83,11 @@ File '/src/packages/typeroot2/sometype/package.json' does not exist. File '/src/packages/typeroot2/sometype/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/src/packages/typeroot2/sometype/index.d.ts', result '/src/packages/typeroot2/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/src/packages/typeroot2/sometype/index.d.ts', primary: true. ======== -File '/src/packages/typeroot2/sometype/package.json' does not exist according to earlier cached lookups. -File '/src/packages/typeroot2/package.json' does not exist. -File '/src/packages/package.json' does not exist according to earlier cached lookups. -File '/src/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. exitCode:: ExitStatus.Success //// [/src/packages/pkg1.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./pkg1_index.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9601687719-export const theNum: TheNum = \"type1\";","signature":"-11475605505-export declare const theNum: TheNum;\n","impliedFormat":1},{"version":"-4557394441-declare type TheNum = \"type1\";","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./pkg1_index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./pkg1_index.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9601687719-export const theNum: TheNum = \"type1\";","signature":"-11475605505-export declare const theNum: TheNum;\n"},{"version":"-4557394441-declare type TheNum = \"type1\";","affectsGlobalScope":true}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./pkg1_index.d.ts"},"version":"FakeTSVersion"} //// [/src/packages/pkg1.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -121,34 +101,28 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./pkg1_index.ts": { "original": { "version": "-9601687719-export const theNum: TheNum = \"type1\";", - "signature": "-11475605505-export declare const theNum: TheNum;\n", - "impliedFormat": 1 + "signature": "-11475605505-export declare const theNum: TheNum;\n" }, "version": "-9601687719-export const theNum: TheNum = \"type1\";", - "signature": "-11475605505-export declare const theNum: TheNum;\n", - "impliedFormat": "commonjs" + "signature": "-11475605505-export declare const theNum: TheNum;\n" }, "./typeroot1/sometype/index.d.ts": { "original": { "version": "-4557394441-declare type TheNum = \"type1\";", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-4557394441-declare type TheNum = \"type1\";", "signature": "-4557394441-declare type TheNum = \"type1\";", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -163,7 +137,7 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./pkg1_index.d.ts" }, "version": "FakeTSVersion", - "size": 974 + "size": 920 } //// [/src/packages/pkg1_index.d.ts] @@ -178,7 +152,7 @@ exports.theNum = "type1"; //// [/src/packages/pkg2.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./pkg2_index.ts","./typeroot2/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12823281204-export const theNum: TheNum2 = \"type2\";","signature":"-13622769679-export declare const theNum: TheNum2;\n","impliedFormat":1},{"version":"-980425686-declare type TheNum2 = \"type2\";","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./pkg2_index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./pkg2_index.ts","./typeroot2/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12823281204-export const theNum: TheNum2 = \"type2\";","signature":"-13622769679-export declare const theNum: TheNum2;\n"},{"version":"-980425686-declare type TheNum2 = \"type2\";","affectsGlobalScope":true}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./pkg2_index.d.ts"},"version":"FakeTSVersion"} //// [/src/packages/pkg2.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -192,34 +166,28 @@ exports.theNum = "type1"; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./pkg2_index.ts": { "original": { "version": "-12823281204-export const theNum: TheNum2 = \"type2\";", - "signature": "-13622769679-export declare const theNum: TheNum2;\n", - "impliedFormat": 1 + "signature": "-13622769679-export declare const theNum: TheNum2;\n" }, "version": "-12823281204-export const theNum: TheNum2 = \"type2\";", - "signature": "-13622769679-export declare const theNum: TheNum2;\n", - "impliedFormat": "commonjs" + "signature": "-13622769679-export declare const theNum: TheNum2;\n" }, "./typeroot2/sometype/index.d.ts": { "original": { "version": "-980425686-declare type TheNum2 = \"type2\";", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-980425686-declare type TheNum2 = \"type2\";", "signature": "-980425686-declare type TheNum2 = \"type2\";", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -234,7 +202,7 @@ exports.theNum = "type1"; "latestChangedDtsFile": "./pkg2_index.d.ts" }, "version": "FakeTSVersion", - "size": 977 + "size": 923 } //// [/src/packages/pkg2_index.d.ts] diff --git a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js index f9f46662574ce..484dcf0f73c71 100644 --- a/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js +++ b/tests/baselines/reference/tsbuild/moduleSpecifiers/synthesized-module-specifiers-resolve-correctly.js @@ -151,7 +151,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/src/lib/solution/common/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../solution/common/nominal.ts"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"latestChangedDtsFile":"./nominal.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../solution/common/nominal.ts"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n"],"root":[2],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"latestChangedDtsFile":"./nominal.d.ts"},"version":"FakeTSVersion"} //// [/src/lib/solution/common/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -164,22 +164,15 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../../../lib/lib.d.ts": { "original": { "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", "signature": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../solution/common/nominal.ts": { - "original": { - "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": 1 - }, "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": "commonjs" + "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n" } }, "root": [ @@ -197,7 +190,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./nominal.d.ts" }, "version": "FakeTSVersion", - "size": 1118 + "size": 1070 } //// [/src/lib/solution/sub-project/index.d.ts] @@ -211,7 +204,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/src/lib/solution/sub-project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../common/nominal.d.ts","../../../solution/sub-project/index.ts"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n","impliedFormat":1},{"version":"-22894055505-import { Nominal } from '../common/nominal';\n\nexport type MyNominal = Nominal;\n","signature":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../common/nominal.d.ts","../../../solution/sub-project/index.ts"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n",{"version":"-22894055505-import { Nominal } from '../common/nominal';\n\nexport type MyNominal = Nominal;\n","signature":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n"}],"root":[3],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/lib/solution/sub-project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -230,32 +223,23 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../../../lib/lib.d.ts": { "original": { "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", "signature": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../common/nominal.d.ts": { - "original": { - "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": 1 - }, "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": "commonjs" + "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n" }, "../../../solution/sub-project/index.ts": { "original": { "version": "-22894055505-import { Nominal } from '../common/nominal';\n\nexport type MyNominal = Nominal;\n", - "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": 1 + "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n" }, "version": "-22894055505-import { Nominal } from '../common/nominal';\n\nexport type MyNominal = Nominal;\n", - "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": "commonjs" + "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n" } }, "root": [ @@ -278,7 +262,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1466 + "size": 1400 } //// [/src/lib/solution/sub-project-2/index.d.ts] @@ -303,7 +287,7 @@ function getVar() { //// [/src/lib/solution/sub-project-2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../../solution/sub-project-2/index.ts"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n","impliedFormat":1},{"version":"-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n","impliedFormat":1},{"version":"-13939373533-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: 'value' as MyNominal,\n};\n\nexport function getVar(): keyof typeof variable {\n return 'key';\n}\n","signature":"-20490736360-import { MyNominal } from '../sub-project/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../common/nominal.d.ts","../sub-project/index.d.ts","../../../solution/sub-project-2/index.ts"],"fileInfos":[{"version":"-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n","affectsGlobalScope":true},"-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n","-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n",{"version":"-13939373533-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: 'value' as MyNominal,\n};\n\nexport function getVar(): keyof typeof variable {\n return 'key';\n}\n","signature":"-20490736360-import { MyNominal } from '../sub-project/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n"}],"root":[4],"options":{"composite":true,"outDir":"../..","rootDir":"../../..","skipLibCheck":true},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/lib/solution/sub-project-2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -326,41 +310,27 @@ function getVar() { "../../../../lib/lib.d.ts": { "original": { "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", "signature": "-32082413277-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface SymbolConstructor {\n readonly species: symbol;\n readonly toStringTag: symbol;\n}\ndeclare var Symbol: SymbolConstructor;\ninterface Symbol {\n readonly [Symbol.toStringTag]: string;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../common/nominal.d.ts": { - "original": { - "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": 1 - }, "version": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n", - "impliedFormat": "commonjs" + "signature": "-24498031910-export declare type Nominal = T & {\n [Symbol.species]: Name;\n};\n" }, "../sub-project/index.d.ts": { - "original": { - "version": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": 1 - }, "version": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n", - "impliedFormat": "commonjs" + "signature": "-25703752603-import { Nominal } from '../common/nominal';\nexport type MyNominal = Nominal;\n" }, "../../../solution/sub-project-2/index.ts": { "original": { "version": "-13939373533-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: 'value' as MyNominal,\n};\n\nexport function getVar(): keyof typeof variable {\n return 'key';\n}\n", - "signature": "-20490736360-import { MyNominal } from '../sub-project/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n", - "impliedFormat": 1 + "signature": "-20490736360-import { MyNominal } from '../sub-project/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n" }, "version": "-13939373533-import { MyNominal } from '../sub-project/index';\n\nconst variable = {\n key: 'value' as MyNominal,\n};\n\nexport function getVar(): keyof typeof variable {\n return 'key';\n}\n", - "signature": "-20490736360-import { MyNominal } from '../sub-project/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n", - "impliedFormat": "commonjs" + "signature": "-20490736360-import { MyNominal } from '../sub-project/index';\ndeclare const variable: {\n key: MyNominal;\n};\nexport declare function getVar(): keyof typeof variable;\nexport {};\n" } }, "root": [ @@ -386,6 +356,6 @@ function getVar() { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1806 + "size": 1710 } diff --git a/tests/baselines/reference/tsbuild/noCheck-errors/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck-errors/semantic-errors-with-incremental.js index 418366e76fb92..ed4c12ea5ffb7 100644 --- a/tests/baselines/reference/tsbuild/noCheck-errors/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck-errors/semantic-errors-with-incremental.js @@ -68,7 +68,7 @@ No shapes updated in the builder:: //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"9312413704-const err: number = \"error\";\nconst a: number = \"hello\"","signature":false,"affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true},"changeFileSet":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"9312413704-const err: number = \"error\";\nconst a: number = \"hello\"","signature":false,"affectsGlobalScope":true}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true},"changeFileSet":[1,2]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -82,23 +82,19 @@ No shapes updated in the builder:: "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "9312413704-const err: number = \"error\";\nconst a: number = \"hello\"", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "9312413704-const err: number = \"error\";\nconst a: number = \"hello\"", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -117,7 +113,7 @@ No shapes updated in the builder:: ] }, "version": "FakeTSVersion", - "size": 847 + "size": 811 } @@ -211,7 +207,7 @@ No shapes updated in the builder:: //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"6909448549-const err: number = \"error\";\nconst a = \"hello\"","signature":false,"affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true},"changeFileSet":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"6909448549-const err: number = \"error\";\nconst a = \"hello\"","signature":false,"affectsGlobalScope":true}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true},"changeFileSet":[1,2]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -225,23 +221,19 @@ No shapes updated in the builder:: "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -260,7 +252,7 @@ No shapes updated in the builder:: ] }, "version": "FakeTSVersion", - "size": 839 + "size": 803 } @@ -362,7 +354,7 @@ Shape signatures in builder refreshed for:: //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"6909448549-const err: number = \"error\";\nconst a = \"hello\"","signature":"-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":3,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6909448549-const err: number = \"error\";\nconst a = \"hello\"","signature":"-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":3,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -375,25 +367,21 @@ Shape signatures in builder refreshed for:: "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": "-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": "-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -428,7 +416,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 1049 + "size": 1013 } diff --git a/tests/baselines/reference/tsbuild/noCheck-errors/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck-errors/syntax-errors-with-incremental.js index 9dbf64ac4652d..f7b5a6bf82fa8 100644 --- a/tests/baselines/reference/tsbuild/noCheck-errors/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck-errors/syntax-errors-with-incremental.js @@ -73,7 +73,7 @@ No shapes updated in the builder:: //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"8018408675-const err: number = \"error\";\nconst a = \"hello","signature":false,"affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true},"changeFileSet":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"8018408675-const err: number = \"error\";\nconst a = \"hello","signature":false,"affectsGlobalScope":true}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true},"changeFileSet":[1,2]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -87,23 +87,19 @@ No shapes updated in the builder:: "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "8018408675-const err: number = \"error\";\nconst a = \"hello", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "8018408675-const err: number = \"error\";\nconst a = \"hello", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -122,7 +118,7 @@ No shapes updated in the builder:: ] }, "version": "FakeTSVersion", - "size": 837 + "size": 801 } @@ -221,7 +217,7 @@ No shapes updated in the builder:: //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"6909448549-const err: number = \"error\";\nconst a = \"hello\"","signature":false,"affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true},"changeFileSet":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"6909448549-const err: number = \"error\";\nconst a = \"hello\"","signature":false,"affectsGlobalScope":true}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true},"changeFileSet":[1,2]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -235,23 +231,19 @@ No shapes updated in the builder:: "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -270,7 +262,7 @@ No shapes updated in the builder:: ] }, "version": "FakeTSVersion", - "size": 839 + "size": 803 } @@ -372,7 +364,7 @@ Shape signatures in builder refreshed for:: //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"6909448549-const err: number = \"error\";\nconst a = \"hello\"","signature":"-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":3,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6909448549-const err: number = \"error\";\nconst a = \"hello\"","signature":"-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":3,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -385,25 +377,21 @@ Shape signatures in builder refreshed for:: "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": "-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": "-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -438,7 +426,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 1049 + "size": 1013 } diff --git a/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental-discrepancies.js index 0d6fc4a41f105..1fc13d91e0f23 100644 --- a/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental-discrepancies.js @@ -7,13 +7,11 @@ CleanBuild: "fileInfos": { "../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -49,13 +47,11 @@ IncrementalBuild: "fileInfos": { "../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -81,13 +77,11 @@ CleanBuild: "fileInfos": { "../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -123,13 +117,11 @@ IncrementalBuild: "fileInfos": { "../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental.js index 01e9dd138939b..59feee20ff3f4 100644 --- a/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck/semantic-errors-with-incremental.js @@ -70,7 +70,7 @@ declare const a: number; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"9312413704-const err: number = \"error\";\nconst a: number = \"hello\"","signature":"-22763377875-declare const err: number;\ndeclare const a: number;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true,"noCheck":true}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"9312413704-const err: number = \"error\";\nconst a: number = \"hello\"","signature":"-22763377875-declare const err: number;\ndeclare const a: number;\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true,"noCheck":true}},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -83,25 +83,21 @@ declare const a: number; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "9312413704-const err: number = \"error\";\nconst a: number = \"hello\"", "signature": "-22763377875-declare const err: number;\ndeclare const a: number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "9312413704-const err: number = \"error\";\nconst a: number = \"hello\"", "signature": "-22763377875-declare const err: number;\ndeclare const a: number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -117,7 +113,7 @@ declare const a: number; } }, "version": "FakeTSVersion", - "size": 886 + "size": 850 } @@ -184,7 +180,7 @@ declare const a = "hello"; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"6909448549-const err: number = \"error\";\nconst a = \"hello\"","signature":"-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true,"noCheck":true}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6909448549-const err: number = \"error\";\nconst a = \"hello\"","signature":"-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true,"noCheck":true}},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -197,25 +193,21 @@ declare const a = "hello"; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": "-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": "-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -231,7 +223,7 @@ declare const a = "hello"; } }, "version": "FakeTSVersion", - "size": 882 + "size": 846 } diff --git a/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental-discrepancies.js b/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental-discrepancies.js index 0d6fc4a41f105..1fc13d91e0f23 100644 --- a/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental-discrepancies.js @@ -7,13 +7,11 @@ CleanBuild: "fileInfos": { "../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -49,13 +47,11 @@ IncrementalBuild: "fileInfos": { "../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -81,13 +77,11 @@ CleanBuild: "fileInfos": { "../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -123,13 +117,11 @@ IncrementalBuild: "fileInfos": { "../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ diff --git a/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental.js index 40a8358b589e6..7298d082dcc9e 100644 --- a/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noCheck/syntax-errors-with-incremental.js @@ -69,7 +69,7 @@ No shapes updated in the builder:: //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"8018408675-const err: number = \"error\";\nconst a = \"hello","signature":false,"affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true,"noCheck":true},"changeFileSet":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"8018408675-const err: number = \"error\";\nconst a = \"hello","signature":false,"affectsGlobalScope":true}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true,"noCheck":true},"changeFileSet":[1,2]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -83,23 +83,19 @@ No shapes updated in the builder:: "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "8018408675-const err: number = \"error\";\nconst a = \"hello", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "8018408675-const err: number = \"error\";\nconst a = \"hello", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -119,7 +115,7 @@ No shapes updated in the builder:: ] }, "version": "FakeTSVersion", - "size": 852 + "size": 816 } @@ -216,7 +212,7 @@ declare const a = "hello"; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"6909448549-const err: number = \"error\";\nconst a = \"hello\"","signature":"-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true,"noCheck":true}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"6909448549-const err: number = \"error\";\nconst a = \"hello\"","signature":"-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"options":{"declaration":true,"emitDeclarationOnly":true,"noCheck":true}},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -229,25 +225,21 @@ declare const a = "hello"; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": "-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "6909448549-const err: number = \"error\";\nconst a = \"hello\"", "signature": "-22441876417-declare const err: number;\ndeclare const a = \"hello\";\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -263,7 +255,7 @@ declare const a = "hello"; } }, "version": "FakeTSVersion", - "size": 882 + "size": 846 } diff --git a/tests/baselines/reference/tsbuild/noEmit/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/semantic-errors-with-incremental.js index cc403e3ef0632..c066273afd259 100644 --- a/tests/baselines/reference/tsbuild/noEmit/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/semantic-errors-with-incremental.js @@ -68,7 +68,7 @@ Shape signatures in builder refreshed for:: //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1311033573-const a: number = \"hello\"","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1311033573-const a: number = \"hello\"","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]]],"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -81,24 +81,20 @@ Shape signatures in builder refreshed for:: "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "1311033573-const a: number = \"hello\"", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "1311033573-const a: number = \"hello\"", "signature": "1311033573-const a: number = \"hello\"", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -129,7 +125,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 881 + "size": 845 } @@ -215,7 +211,7 @@ Shape signatures in builder refreshed for:: //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"4011451714-const a = \"hello\"","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4011451714-const a = \"hello\"","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -228,25 +224,21 @@ Shape signatures in builder refreshed for:: "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "4011451714-const a = \"hello\"", "signature": "-5460434953-declare const a = \"hello\";\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "4011451714-const a = \"hello\"", "signature": "-5460434953-declare const a = \"hello\";\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -263,7 +255,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 779 + "size": 743 } diff --git a/tests/baselines/reference/tsbuild/noEmit/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmit/syntax-errors-with-incremental.js index bd52e5bef957c..9cb7ca25c9c59 100644 --- a/tests/baselines/reference/tsbuild/noEmit/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmit/syntax-errors-with-incremental.js @@ -64,7 +64,7 @@ No shapes updated in the builder:: //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"2464268576-const a = \"hello","signature":false,"affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"changeFileSet":[1,2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"2464268576-const a = \"hello","signature":false,"affectsGlobalScope":true}],"root":[2],"changeFileSet":[1,2]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -78,23 +78,19 @@ No shapes updated in the builder:: "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "2464268576-const a = \"hello", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2464268576-const a = \"hello", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -109,7 +105,7 @@ No shapes updated in the builder:: ] }, "version": "FakeTSVersion", - "size": 747 + "size": 711 } @@ -196,7 +192,7 @@ Shape signatures in builder refreshed for:: //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"4011451714-const a = \"hello\"","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4011451714-const a = \"hello\"","signature":"-5460434953-declare const a = \"hello\";\n","affectsGlobalScope":true}],"root":[2],"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -209,25 +205,21 @@ Shape signatures in builder refreshed for:: "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "4011451714-const a = \"hello\"", "signature": "-5460434953-declare const a = \"hello\";\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "4011451714-const a = \"hello\"", "signature": "-5460434953-declare const a = \"hello\";\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -244,7 +236,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 779 + "size": 743 } diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js index 0eb3478d76987..e21cbfbb85605 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js @@ -210,7 +210,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -222,38 +222,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": 1 - }, - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -276,7 +248,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1050 + "size": 930 } diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-incremental.js index 4d3ca740028bf..59315f7adf114 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-outFile-with-incremental.js @@ -194,7 +194,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -206,38 +206,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": 1 - }, - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -259,7 +231,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1031 + "size": 911 } diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-declaration-with-incremental.js index a9c31e02fa421..64e5225d0fcb8 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-declaration-with-incremental.js @@ -93,7 +93,7 @@ Shape signatures in builder refreshed for:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -113,40 +113,23 @@ Shape signatures in builder refreshed for:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { - "original": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "impliedFormat": 1 - }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "impliedFormat": "commonjs" + "signature": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -202,7 +185,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 1244 + "size": 1136 } @@ -331,7 +314,7 @@ console.log("hi"); //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -351,42 +334,31 @@ console.log("hi"); "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -414,7 +386,7 @@ console.log("hi"); } }, "version": "FakeTSVersion", - "size": 1141 + "size": 1057 } diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js index 890ffe49477e3..de61fd607976d 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/semantic-errors-with-incremental.js @@ -91,7 +91,7 @@ Shape signatures in builder refreshed for:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -111,40 +111,23 @@ Shape signatures in builder refreshed for:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { - "original": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "impliedFormat": 1 - }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "impliedFormat": "commonjs" + "signature": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -199,7 +182,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 1225 + "size": 1117 } @@ -312,7 +295,7 @@ console.log("hi"); //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -332,41 +315,27 @@ console.log("hi"); "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -393,7 +362,7 @@ console.log("hi"); } }, "version": "FakeTSVersion", - "size": 1083 + "size": 987 } diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js index 636d73d659dfd..18d7713b399e2 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js @@ -217,7 +217,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -229,38 +229,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": 1 - }, - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -283,7 +255,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1059 + "size": 939 } diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-incremental.js index 5063c94896556..d4320005c3d59 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-outFile-with-incremental.js @@ -201,7 +201,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -213,38 +213,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": 1 - }, - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -266,7 +238,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1040 + "size": 920 } diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-declaration-with-incremental.js index a2ede3fe79c9c..23c984a3e4334 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-declaration-with-incremental.js @@ -88,7 +88,7 @@ No shapes updated in the builder:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","signature":false,"impliedFormat":1},{"version":"-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","signature":false,"impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":false,"impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"changeFileSet":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-5014788164-export interface A {\n name: string;\n}\n","signature":false},{"version":"-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","signature":false},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":false}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"changeFileSet":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -109,39 +109,31 @@ No shapes updated in the builder:: "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { "original": { "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "version": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "version": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -175,7 +167,7 @@ No shapes updated in the builder:: ] }, "version": "FakeTSVersion", - "size": 1171 + "size": 1099 } @@ -314,7 +306,7 @@ console.log("hi"); //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -334,42 +326,31 @@ console.log("hi"); "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -397,7 +378,7 @@ console.log("hi"); } }, "version": "FakeTSVersion", - "size": 1150 + "size": 1066 } diff --git a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js index a61a7faa7da46..1958008113af7 100644 --- a/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsbuild/noEmitOnError/syntax-errors-with-incremental.js @@ -86,7 +86,7 @@ No shapes updated in the builder:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","signature":false,"impliedFormat":1},{"version":"-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","signature":false,"impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":false,"impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"changeFileSet":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-5014788164-export interface A {\n name: string;\n}\n","signature":false},{"version":"-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","signature":false},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":false}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"changeFileSet":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,39 +107,31 @@ No shapes updated in the builder:: "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { "original": { "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "version": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "version": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -172,7 +164,7 @@ No shapes updated in the builder:: ] }, "version": "FakeTSVersion", - "size": 1152 + "size": 1080 } @@ -295,7 +287,7 @@ console.log("hi"); //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -315,42 +307,31 @@ console.log("hi"); "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -377,7 +358,7 @@ console.log("hi"); } }, "version": "FakeTSVersion", - "size": 1131 + "size": 1047 } diff --git a/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js b/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js index 4c5dcfd966209..5ca90f10a4b26 100644 --- a/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js +++ b/tests/baselines/reference/tsbuild/outFile/baseline-sectioned-sourcemaps.js @@ -572,7 +572,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -583,30 +583,9 @@ sourceFile:../second/second_part2.ts "../second/second_part2.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../second/second_part1.ts": { - "original": { - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": 1 - }, - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" - }, - "../second/second_part2.ts": { - "original": { - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": 1 - }, - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../second/second_part1.ts": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", + "../second/second_part2.ts": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n" }, "root": [ [ @@ -633,7 +612,7 @@ sourceFile:../second/second_part2.ts "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1216 } //// [/src/first/bin/first-output.d.ts] @@ -937,7 +916,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -949,38 +928,10 @@ sourceFile:../first_part3.ts "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": 1 - }, - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -1009,7 +960,7 @@ sourceFile:../first_part3.ts "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1392 + "size": 1272 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1123,7 +1074,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","impliedFormat":1},{"version":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","impliedFormat":1},{"version":"7305100057-var c = new C();\nc.doSomething();\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -1135,38 +1086,10 @@ sourceFile:../../third_part1.ts "../../third_part1.ts" ], "fileInfos": { - "../../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../../../first/bin/first-output.d.ts": { - "original": { - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": 1 - }, - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" - }, - "../../../2/second-output.d.ts": { - "original": { - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": 1 - }, - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" - }, - "../../third_part1.ts": { - "original": { - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": 1 - }, - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" - } + "../../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" }, "root": [ [ @@ -1189,7 +1112,7 @@ sourceFile:../../third_part1.ts "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 1385 + "size": 1265 } @@ -1562,7 +1485,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-21189362626-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-21189362626-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -1574,38 +1497,10 @@ sourceFile:../first_part3.ts "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-21189362626-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": 1 - }, - "version": "-21189362626-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-21189362626-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -1634,7 +1529,7 @@ sourceFile:../first_part3.ts "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1390 + "size": 1270 } //// [/src/third/thirdjs/output/third-output.d.ts.map] file written with same contents @@ -1643,7 +1538,7 @@ sourceFile:../first_part3.ts //// [/src/third/thirdjs/output/third-output.js.map] file written with same contents //// [/src/third/thirdjs/output/third-output.js.map.baseline.txt] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","impliedFormat":1},{"version":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","impliedFormat":1},{"version":"7305100057-var c = new C();\nc.doSomething();\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -1655,38 +1550,10 @@ sourceFile:../first_part3.ts "../../third_part1.ts" ], "fileInfos": { - "../../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../../../first/bin/first-output.d.ts": { - "original": { - "version": "-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": 1 - }, - "version": "-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" - }, - "../../../2/second-output.d.ts": { - "original": { - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": 1 - }, - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" - }, - "../../third_part1.ts": { - "original": { - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": 1 - }, - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" - } + "../../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" }, "root": [ [ @@ -1709,7 +1576,7 @@ sourceFile:../first_part3.ts "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1264 } @@ -1957,7 +1824,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-21292400928-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-21292400928-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-14566027737-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hola, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -1969,38 +1836,10 @@ sourceFile:../first_part3.ts "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-21292400928-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);", - "impliedFormat": 1 - }, - "version": "-21292400928-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-21292400928-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hola, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -2029,7 +1868,7 @@ sourceFile:../first_part3.ts "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1405 + "size": 1285 } //// [/src/third/thirdjs/output/third-output.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js index 2b22c60a3654c..e23cb13bf1d94 100644 --- a/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/builds-till-project-specified.js @@ -169,7 +169,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -180,30 +180,9 @@ var C = (function () { "../second/second_part2.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../second/second_part1.ts": { - "original": { - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": 1 - }, - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" - }, - "../second/second_part2.ts": { - "original": { - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": 1 - }, - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../second/second_part1.ts": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", + "../second/second_part2.ts": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n" }, "root": [ [ @@ -230,6 +209,6 @@ var C = (function () { "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1216 } diff --git a/tests/baselines/reference/tsbuild/outFile/clean-projects.js b/tests/baselines/reference/tsbuild/outFile/clean-projects.js index 4c3515cccb89c..37b14ba24cac8 100644 --- a/tests/baselines/reference/tsbuild/outFile/clean-projects.js +++ b/tests/baselines/reference/tsbuild/outFile/clean-projects.js @@ -50,7 +50,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -61,30 +61,9 @@ var C = (function () { "../second/second_part2.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../second/second_part1.ts": { - "original": { - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": 1 - }, - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" - }, - "../second/second_part2.ts": { - "original": { - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": 1 - }, - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../second/second_part1.ts": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", + "../second/second_part2.ts": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n" }, "root": [ [ @@ -111,7 +90,7 @@ var C = (function () { "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1216 } //// [/src/first/bin/first-output.d.ts] @@ -141,7 +120,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -153,38 +132,10 @@ function f() { "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": 1 - }, - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -213,7 +164,7 @@ function f() { "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1392 + "size": 1272 } //// [/src/first/first_PART1.ts] @@ -314,7 +265,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","impliedFormat":1},{"version":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","impliedFormat":1},{"version":"7305100057-var c = new C();\nc.doSomething();\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -326,38 +277,10 @@ c.doSomething(); "../../third_part1.ts" ], "fileInfos": { - "../../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../../../first/bin/first-output.d.ts": { - "original": { - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": 1 - }, - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" - }, - "../../../2/second-output.d.ts": { - "original": { - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": 1 - }, - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" - }, - "../../third_part1.ts": { - "original": { - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": 1 - }, - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" - } + "../../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" }, "root": [ [ @@ -380,7 +303,7 @@ c.doSomething(); "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 1385 + "size": 1265 } //// [/src/third/third_part1.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js index 43363ac987f3d..17de0e161b806 100644 --- a/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/outFile/cleans-till-project-specified.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -60,30 +60,9 @@ var C = (function () { "../second/second_part2.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../second/second_part1.ts": { - "original": { - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": 1 - }, - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" - }, - "../second/second_part2.ts": { - "original": { - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": 1 - }, - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../second/second_part1.ts": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", + "../second/second_part2.ts": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n" }, "root": [ [ @@ -110,7 +89,7 @@ var C = (function () { "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1216 } //// [/src/first/bin/first-output.d.ts] @@ -140,7 +119,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -152,38 +131,10 @@ function f() { "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": 1 - }, - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -212,7 +163,7 @@ function f() { "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1392 + "size": 1272 } //// [/src/first/first_PART1.ts] @@ -313,7 +264,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","impliedFormat":1},{"version":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","impliedFormat":1},{"version":"7305100057-var c = new C();\nc.doSomething();\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -325,38 +276,10 @@ c.doSomething(); "../../third_part1.ts" ], "fileInfos": { - "../../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../../../first/bin/first-output.d.ts": { - "original": { - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": 1 - }, - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" - }, - "../../../2/second-output.d.ts": { - "original": { - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": 1 - }, - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" - }, - "../../third_part1.ts": { - "original": { - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": 1 - }, - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" - } + "../../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" }, "root": [ [ @@ -379,7 +302,7 @@ c.doSomething(); "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 1385 + "size": 1265 } //// [/src/third/third_part1.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js index 1a5cd8e28418a..5f2a2f2452f55 100644 --- a/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js +++ b/tests/baselines/reference/tsbuild/outFile/non-module-projects-without-prepend.js @@ -203,7 +203,7 @@ function f() { {"version":3,"file":"first_part3.js","sourceRoot":"","sources":["first_part3.ts"],"names":[],"mappings":"AAAA,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./first_part1.ts","./first_part2.ts","./first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","signature":"-14851202444-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"6007494133-console.log(f());\n","signature":"5381-","affectsGlobalScope":true,"impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","signature":"-6420944280-declare function f(): string;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"latestChangedDtsFile":"./first_part3.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./first_part1.ts","./first_part2.ts","./first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","signature":"-14851202444-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\n","affectsGlobalScope":true},{"version":"6007494133-console.log(f());\n","signature":"5381-","affectsGlobalScope":true},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","signature":"-6420944280-declare function f(): string;\n","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"latestChangedDtsFile":"./first_part3.d.ts"},"version":"FakeTSVersion"} //// [/src/first/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -218,49 +218,41 @@ function f() { "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./first_part1.ts": { "original": { "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", "signature": "-14851202444-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", "signature": "-14851202444-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./first_part2.ts": { "original": { "version": "6007494133-console.log(f());\n", "signature": "5381-", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "6007494133-console.log(f());\n", "signature": "5381-", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./first_part3.ts": { "original": { "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", "signature": "-6420944280-declare function f(): string;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", "signature": "-6420944280-declare function f(): string;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -289,7 +281,7 @@ function f() { "latestChangedDtsFile": "./first_part3.d.ts" }, "version": "FakeTSVersion", - "size": 1514 + "size": 1442 } //// [/src/second/second_part1.d.ts] @@ -339,7 +331,7 @@ var C = (function () { {"version":3,"file":"second_part2.js","sourceRoot":"","sources":["second_part2.ts"],"names":[],"mappings":"AAAA;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/second/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./second_part1.ts","./second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","signature":"-12385043917-declare namespace N {\n}\ndeclare namespace N {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","signature":"-4226833059-declare class C {\n doSomething(): void;\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"latestChangedDtsFile":"./second_part2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./second_part1.ts","./second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","signature":"-12385043917-declare namespace N {\n}\ndeclare namespace N {\n}\n","affectsGlobalScope":true},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","signature":"-4226833059-declare class C {\n doSomething(): void;\n}\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"latestChangedDtsFile":"./second_part2.d.ts"},"version":"FakeTSVersion"} //// [/src/second/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -353,37 +345,31 @@ var C = (function () { "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./second_part1.ts": { "original": { "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", "signature": "-12385043917-declare namespace N {\n}\ndeclare namespace N {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", "signature": "-12385043917-declare namespace N {\n}\ndeclare namespace N {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./second_part2.ts": { "original": { "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", "signature": "-4226833059-declare class C {\n doSomething(): void;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", "signature": "-4226833059-declare class C {\n doSomething(): void;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -410,7 +396,7 @@ var C = (function () { "latestChangedDtsFile": "./second_part2.d.ts" }, "version": "FakeTSVersion", - "size": 1372 + "size": 1318 } //// [/src/third/third_part1.d.ts] @@ -429,7 +415,7 @@ c.doSomething(); {"version":3,"file":"third_part1.js","sourceRoot":"","sources":["third_part1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../first/first_part1.d.ts","../first/first_part2.d.ts","../first/first_part3.d.ts","../second/second_part1.d.ts","../second/second_part2.d.ts","./third_part1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14851202444-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2054710634-//# sourceMappingURL=first_part2.d.ts.map","impliedFormat":1},{"version":"-6420944280-declare function f(): string;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12385043917-declare namespace N {\n}\ndeclare namespace N {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4226833059-declare class C {\n doSomething(): void;\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"7305100057-var c = new C();\nc.doSomething();\n","signature":"1894672131-declare var c: C;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[7],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"latestChangedDtsFile":"./third_part1.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../first/first_part1.d.ts","../first/first_part2.d.ts","../first/first_part3.d.ts","../second/second_part1.d.ts","../second/second_part2.d.ts","./third_part1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14851202444-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\n","affectsGlobalScope":true},"-2054710634-//# sourceMappingURL=first_part2.d.ts.map",{"version":"-6420944280-declare function f(): string;\n","affectsGlobalScope":true},{"version":"-12385043917-declare namespace N {\n}\ndeclare namespace N {\n}\n","affectsGlobalScope":true},{"version":"-4226833059-declare class C {\n doSomething(): void;\n}\n","affectsGlobalScope":true},{"version":"7305100057-var c = new C();\nc.doSomething();\n","signature":"1894672131-declare var c: C;\n","affectsGlobalScope":true}],"root":[7],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":0,"removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"latestChangedDtsFile":"./third_part1.d.ts"},"version":"FakeTSVersion"} //// [/src/third/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -447,78 +433,61 @@ c.doSomething(); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../first/first_part1.d.ts": { "original": { "version": "-14851202444-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-14851202444-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\n", "signature": "-14851202444-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../first/first_part2.d.ts": { - "original": { - "version": "-2054710634-//# sourceMappingURL=first_part2.d.ts.map", - "impliedFormat": 1 - }, "version": "-2054710634-//# sourceMappingURL=first_part2.d.ts.map", - "signature": "-2054710634-//# sourceMappingURL=first_part2.d.ts.map", - "impliedFormat": "commonjs" + "signature": "-2054710634-//# sourceMappingURL=first_part2.d.ts.map" }, "../first/first_part3.d.ts": { "original": { "version": "-6420944280-declare function f(): string;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-6420944280-declare function f(): string;\n", "signature": "-6420944280-declare function f(): string;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../second/second_part1.d.ts": { "original": { "version": "-12385043917-declare namespace N {\n}\ndeclare namespace N {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-12385043917-declare namespace N {\n}\ndeclare namespace N {\n}\n", "signature": "-12385043917-declare namespace N {\n}\ndeclare namespace N {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../second/second_part2.d.ts": { "original": { "version": "-4226833059-declare class C {\n doSomething(): void;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-4226833059-declare class C {\n doSomething(): void;\n}\n", "signature": "-4226833059-declare class C {\n doSomething(): void;\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./third_part1.ts": { "original": { "version": "7305100057-var c = new C();\nc.doSomething();\n", "signature": "1894672131-declare var c: C;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "7305100057-var c = new C();\nc.doSomething();\n", "signature": "1894672131-declare var c: C;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -541,6 +510,6 @@ c.doSomething(); "latestChangedDtsFile": "./third_part1.d.ts" }, "version": "FakeTSVersion", - "size": 1758 + "size": 1620 } diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js index 39303ef3fa773..8964a29c57875 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-command-line-incremental-flag-changes-between-non-dts-changes.js @@ -187,7 +187,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -198,30 +198,9 @@ var C = (function () { "../second/second_part2.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../second/second_part1.ts": { - "original": { - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": 1 - }, - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" - }, - "../second/second_part2.ts": { - "original": { - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": 1 - }, - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../second/second_part1.ts": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", + "../second/second_part2.ts": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n" }, "root": [ [ @@ -248,7 +227,7 @@ var C = (function () { "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1216 } //// [/src/first/bin/first-output.d.ts] @@ -278,7 +257,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -290,38 +269,10 @@ function f() { "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": 1 - }, - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -350,7 +301,7 @@ function f() { "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1392 + "size": 1272 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -369,7 +320,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","impliedFormat":1},{"version":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","impliedFormat":1},{"version":"7305100057-var c = new C();\nc.doSomething();\n","impliedFormat":1}],"root":[4],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -381,38 +332,10 @@ c.doSomething(); "../../third_part1.ts" ], "fileInfos": { - "../../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../../../first/bin/first-output.d.ts": { - "original": { - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": 1 - }, - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" - }, - "../../../2/second-output.d.ts": { - "original": { - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": 1 - }, - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" - }, - "../../third_part1.ts": { - "original": { - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": 1 - }, - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" - } + "../../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" }, "root": [ [ @@ -432,7 +355,7 @@ c.doSomething(); } }, "version": "FakeTSVersion", - "size": 1275 + "size": 1155 } @@ -490,7 +413,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-20304251376-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-20304251376-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -502,38 +425,10 @@ function f() { "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-20304251376-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);", - "impliedFormat": 1 - }, - "version": "-20304251376-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-20304251376-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -562,7 +457,7 @@ function f() { "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1407 + "size": 1287 } //// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time @@ -625,7 +520,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAAA,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACX9B,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-22658061710-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);console.log(s);","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22658061710-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);console.log(s);","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -637,38 +532,10 @@ function f() { "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-22658061710-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);console.log(s);", - "impliedFormat": 1 - }, - "version": "-22658061710-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);console.log(s);", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-22658061710-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);console.log(s);", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -697,7 +564,7 @@ function f() { "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1422 + "size": 1302 } //// [/src/third/thirdjs/output/third-output.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 116e74458daf4..7c55d4cb1126e 100644 --- a/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/outFile/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -49,7 +49,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -60,30 +60,9 @@ var C = (function () { "../second/second_part2.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../second/second_part1.ts": { - "original": { - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": 1 - }, - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" - }, - "../second/second_part2.ts": { - "original": { - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": 1 - }, - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../second/second_part1.ts": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", + "../second/second_part2.ts": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n" }, "root": [ [ @@ -110,7 +89,7 @@ var C = (function () { "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1216 } //// [/src/first/bin/first-output.d.ts] @@ -140,7 +119,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -152,38 +131,10 @@ function f() { "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": 1 - }, - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -212,7 +163,7 @@ function f() { "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1392 + "size": 1272 } //// [/src/first/first_PART1.ts] @@ -313,7 +264,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","impliedFormat":1},{"version":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","impliedFormat":1},{"version":"7305100057-var c = new C();\nc.doSomething();\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -325,38 +276,10 @@ c.doSomething(); "../../third_part1.ts" ], "fileInfos": { - "../../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../../../first/bin/first-output.d.ts": { - "original": { - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": 1 - }, - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" - }, - "../../../2/second-output.d.ts": { - "original": { - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": 1 - }, - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" - }, - "../../third_part1.ts": { - "original": { - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": 1 - }, - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" - } + "../../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" }, "root": [ [ @@ -379,7 +302,7 @@ c.doSomething(); "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 1385 + "size": 1265 } //// [/src/third/third_part1.ts] @@ -442,7 +365,7 @@ exitCode:: ExitStatus.Success //// [/src/2/second-output.js] file written with same contents //// [/src/2/second-output.js.map] file written with same contents //// [/src/2/second-output.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSCurrentVersion"} //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -453,30 +376,9 @@ exitCode:: ExitStatus.Success "../second/second_part2.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../second/second_part1.ts": { - "original": { - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": 1 - }, - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" - }, - "../second/second_part2.ts": { - "original": { - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": 1 - }, - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../second/second_part1.ts": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", + "../second/second_part2.ts": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n" }, "root": [ [ @@ -503,7 +405,7 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 1313 + "size": 1223 } //// [/src/first/bin/first-output.d.ts] file written with same contents @@ -511,7 +413,7 @@ exitCode:: ExitStatus.Success //// [/src/first/bin/first-output.js] file written with same contents //// [/src/first/bin/first-output.js.map] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSCurrentVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -523,38 +425,10 @@ exitCode:: ExitStatus.Success "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": 1 - }, - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -583,7 +457,7 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 1399 + "size": 1279 } //// [/src/third/thirdjs/output/third-output.d.ts] file written with same contents @@ -591,7 +465,7 @@ exitCode:: ExitStatus.Success //// [/src/third/thirdjs/output/third-output.js] file written with same contents //// [/src/third/thirdjs/output/third-output.js.map] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","impliedFormat":1},{"version":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","impliedFormat":1},{"version":"7305100057-var c = new C();\nc.doSomething();\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSCurrentVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -603,38 +477,10 @@ exitCode:: ExitStatus.Success "../../third_part1.ts" ], "fileInfos": { - "../../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../../../first/bin/first-output.d.ts": { - "original": { - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": 1 - }, - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" - }, - "../../../2/second-output.d.ts": { - "original": { - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": 1 - }, - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" - }, - "../../third_part1.ts": { - "original": { - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": 1 - }, - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" - } + "../../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" }, "root": [ [ @@ -657,6 +503,6 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 1392 + "size": 1272 } diff --git a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js index 0a2a6af07b7f1..0c5f121068df5 100644 --- a/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js +++ b/tests/baselines/reference/tsbuild/outFile/tsbuildinfo-is-not-generated-when-incremental-is-set-to-false.js @@ -187,7 +187,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -198,30 +198,9 @@ var C = (function () { "../second/second_part2.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../second/second_part1.ts": { - "original": { - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": 1 - }, - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" - }, - "../second/second_part2.ts": { - "original": { - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": 1 - }, - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../second/second_part1.ts": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", + "../second/second_part2.ts": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n" }, "root": [ [ @@ -248,7 +227,7 @@ var C = (function () { "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1216 } //// [/src/first/bin/first-output.d.ts] @@ -278,7 +257,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -290,38 +269,10 @@ function f() { "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": 1 - }, - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -350,7 +301,7 @@ function f() { "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1392 + "size": 1272 } //// [/src/third/thirdjs/output/third-output.d.ts] diff --git a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js index 5fb7ce5b81abb..8cf25af04320f 100644 --- a/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js +++ b/tests/baselines/reference/tsbuild/outFile/verify-buildInfo-absence-results-in-new-build.js @@ -50,7 +50,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -61,30 +61,9 @@ var C = (function () { "../second/second_part2.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../second/second_part1.ts": { - "original": { - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": 1 - }, - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" - }, - "../second/second_part2.ts": { - "original": { - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": 1 - }, - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../second/second_part1.ts": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", + "../second/second_part2.ts": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n" }, "root": [ [ @@ -111,7 +90,7 @@ var C = (function () { "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1216 } //// [/src/first/bin/first-output.d.ts] @@ -150,38 +129,10 @@ function f() { "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": 1 - }, - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -210,7 +161,7 @@ function f() { "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1392 + "size": 1272 } //// [/src/first/first_PART1.ts] @@ -311,7 +262,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","impliedFormat":1},{"version":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","impliedFormat":1},{"version":"7305100057-var c = new C();\nc.doSomething();\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -323,38 +274,10 @@ c.doSomething(); "../../third_part1.ts" ], "fileInfos": { - "../../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../../../first/bin/first-output.d.ts": { - "original": { - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": 1 - }, - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" - }, - "../../../2/second-output.d.ts": { - "original": { - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": 1 - }, - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" - }, - "../../third_part1.ts": { - "original": { - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": 1 - }, - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" - } + "../../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" }, "root": [ [ @@ -377,7 +300,7 @@ c.doSomething(); "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 1385 + "size": 1265 } //// [/src/third/third_part1.ts] @@ -440,7 +363,7 @@ exitCode:: ExitStatus.Success //// [/src/first/bin/first-output.js] file written with same contents //// [/src/first/bin/first-output.js.map] file written with same contents //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] file written with same contents //// [/src/third/thirdjs/output/third-output.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-incremental.js b/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-incremental.js index 7ae1ed988c161..46e3b142fb01d 100644 --- a/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-incremental.js +++ b/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-incremental.js @@ -538,7 +538,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -549,30 +549,9 @@ sourceFile:../second/second_part2.ts "../second/second_part2.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../second/second_part1.ts": { - "original": { - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": 1 - }, - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" - }, - "../second/second_part2.ts": { - "original": { - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": 1 - }, - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../second/second_part1.ts": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", + "../second/second_part2.ts": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n" }, "root": [ [ @@ -599,7 +578,7 @@ sourceFile:../second/second_part2.ts "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1216 } //// [/src/first/bin/first-output.d.ts] @@ -903,7 +882,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -915,38 +894,10 @@ sourceFile:../first_part3.ts "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": 1 - }, - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -975,7 +926,7 @@ sourceFile:../first_part3.ts "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1392 + "size": 1272 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1089,7 +1040,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","impliedFormat":1},{"version":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","impliedFormat":1},{"version":"7305100057-var c = new C();\nc.doSomething();\n","impliedFormat":1}],"root":[4],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1}},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -1101,38 +1052,10 @@ sourceFile:../../third_part1.ts "../../third_part1.ts" ], "fileInfos": { - "../../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../../../first/bin/first-output.d.ts": { - "original": { - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": 1 - }, - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" - }, - "../../../2/second-output.d.ts": { - "original": { - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": 1 - }, - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" - }, - "../../third_part1.ts": { - "original": { - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": 1 - }, - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" - } + "../../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" }, "root": [ [ @@ -1152,6 +1075,6 @@ sourceFile:../../third_part1.ts } }, "version": "FakeTSVersion", - "size": 1275 + "size": 1155 } diff --git a/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-uses-project-references.js b/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-uses-project-references.js index 8631118aaf228..4a8ac589cd048 100644 --- a/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-uses-project-references.js +++ b/tests/baselines/reference/tsbuild/outFile/when-final-project-is-not-composite-but-uses-project-references.js @@ -538,7 +538,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -549,30 +549,9 @@ sourceFile:../second/second_part2.ts "../second/second_part2.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../second/second_part1.ts": { - "original": { - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": 1 - }, - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" - }, - "../second/second_part2.ts": { - "original": { - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": 1 - }, - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../second/second_part1.ts": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", + "../second/second_part2.ts": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n" }, "root": [ [ @@ -599,7 +578,7 @@ sourceFile:../second/second_part2.ts "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1216 } //// [/src/first/bin/first-output.d.ts] @@ -903,7 +882,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -915,38 +894,10 @@ sourceFile:../first_part3.ts "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": 1 - }, - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -975,7 +926,7 @@ sourceFile:../first_part3.ts "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1392 + "size": 1272 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1315,7 +1266,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-20304251376-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-20304251376-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -1327,38 +1278,10 @@ sourceFile:../first_part3.ts "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-20304251376-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);", - "impliedFormat": 1 - }, - "version": "-20304251376-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-20304251376-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\nconsole.log(s);", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -1387,7 +1310,7 @@ sourceFile:../first_part3.ts "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1407 + "size": 1287 } //// [/src/third/thirdjs/output/third-output.d.ts] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/outFile/when-final-project-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/outFile/when-final-project-specifies-tsBuildInfoFile.js index 1ef3e0483eac9..a6fe4ad083731 100644 --- a/tests/baselines/reference/tsbuild/outFile/when-final-project-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/outFile/when-final-project-specifies-tsBuildInfoFile.js @@ -539,7 +539,7 @@ sourceFile:../second/second_part2.ts >>>//# sourceMappingURL=second-output.js.map //// [/src/2/second-output.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -550,30 +550,9 @@ sourceFile:../second/second_part2.ts "../second/second_part2.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../second/second_part1.ts": { - "original": { - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": 1 - }, - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" - }, - "../second/second_part2.ts": { - "original": { - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": 1 - }, - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../second/second_part1.ts": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", + "../second/second_part2.ts": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n" }, "root": [ [ @@ -600,7 +579,7 @@ sourceFile:../second/second_part2.ts "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1216 } //// [/src/first/bin/first-output.d.ts] @@ -904,7 +883,7 @@ sourceFile:../first_part3.ts >>>//# sourceMappingURL=first-output.js.map //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -916,38 +895,10 @@ sourceFile:../first_part3.ts "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": 1 - }, - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -976,7 +927,7 @@ sourceFile:../first_part3.ts "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1392 + "size": 1272 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -1090,7 +1041,7 @@ sourceFile:../../third_part1.ts >>>//# sourceMappingURL=third-output.js.map //// [/src/third/thirdjs/output/third.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","impliedFormat":1},{"version":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","impliedFormat":1},{"version":"7305100057-var c = new C();\nc.doSomething();\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1,"tsBuildInfoFile":"./third.tsbuildinfo"},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1,"tsBuildInfoFile":"./third.tsbuildinfo"},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third.tsbuildinfo.readable.baseline.txt] { @@ -1102,38 +1053,10 @@ sourceFile:../../third_part1.ts "../../third_part1.ts" ], "fileInfos": { - "../../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../../../first/bin/first-output.d.ts": { - "original": { - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": 1 - }, - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" - }, - "../../../2/second-output.d.ts": { - "original": { - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": 1 - }, - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" - }, - "../../third_part1.ts": { - "original": { - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": 1 - }, - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" - } + "../../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" }, "root": [ [ @@ -1157,6 +1080,6 @@ sourceFile:../../third_part1.ts "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 1425 + "size": 1305 } diff --git a/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js b/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js index 680265edc2153..729dbfa0ab1e3 100644 --- a/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js +++ b/tests/baselines/reference/tsbuild/outFile/when-input-file-text-does-not-change-but-its-modified-time-changes.js @@ -187,7 +187,7 @@ var C = (function () { {"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"} //// [/src/2/second-output.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","impliedFormat":1},{"version":"3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../second/second_part1.ts","../second/second_part2.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n","3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./second-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","latestChangedDtsFile":"./second-output.d.ts"},"version":"FakeTSVersion"} //// [/src/2/second-output.tsbuildinfo.readable.baseline.txt] { @@ -198,30 +198,9 @@ var C = (function () { "../second/second_part2.ts" ], "fileInfos": { - "../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../second/second_part1.ts": { - "original": { - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": 1 - }, - "version": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", - "impliedFormat": "commonjs" - }, - "../second/second_part2.ts": { - "original": { - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": 1 - }, - "version": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../second/second_part1.ts": "-12195290447-namespace N {\n // Comment text\n}\n\nnamespace N {\n function f() {\n console.log('testing');\n }\n\n f();\n}\n", + "../second/second_part2.ts": "3642692259-class C {\n doSomething() {\n console.log(\"something got done\");\n }\n}\n" }, "root": [ [ @@ -248,7 +227,7 @@ var C = (function () { "latestChangedDtsFile": "./second-output.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1216 } //// [/src/first/bin/first-output.d.ts] @@ -278,7 +257,7 @@ function f() { {"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"} //// [/src/first/bin/first-output.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","impliedFormat":1},{"version":"6007494133-console.log(f());\n","impliedFormat":1},{"version":"4357625305-function f() {\n return \"JS does hoists\";\n}\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../first_part1.ts","../first_part2.ts","../first_part3.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n","6007494133-console.log(f());\n","4357625305-function f() {\n return \"JS does hoists\";\n}\n"],"root":[[2,4]],"options":{"composite":true,"declarationMap":true,"outFile":"./first-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","latestChangedDtsFile":"./first-output.d.ts"},"version":"FakeTSVersion"} //// [/src/first/bin/first-output.tsbuildinfo.readable.baseline.txt] { @@ -290,38 +269,10 @@ function f() { "../first_part3.ts" ], "fileInfos": { - "../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../first_part1.ts": { - "original": { - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": 1 - }, - "version": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", - "impliedFormat": "commonjs" - }, - "../first_part2.ts": { - "original": { - "version": "6007494133-console.log(f());\n", - "impliedFormat": 1 - }, - "version": "6007494133-console.log(f());\n", - "impliedFormat": "commonjs" - }, - "../first_part3.ts": { - "original": { - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": 1 - }, - "version": "4357625305-function f() {\n return \"JS does hoists\";\n}\n", - "impliedFormat": "commonjs" - } + "../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../first_part1.ts": "-22071182994-interface TheFirst {\n none: any;\n}\n\nconst s = \"Hello, world\";\n\ninterface NoJsForHereEither {\n none: any;\n}\n\nconsole.log(s);\n", + "../first_part2.ts": "6007494133-console.log(f());\n", + "../first_part3.ts": "4357625305-function f() {\n return \"JS does hoists\";\n}\n" }, "root": [ [ @@ -350,7 +301,7 @@ function f() { "latestChangedDtsFile": "./first-output.d.ts" }, "version": "FakeTSVersion", - "size": 1392 + "size": 1272 } //// [/src/third/thirdjs/output/third-output.d.ts] @@ -369,7 +320,7 @@ c.doSomething(); {"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo] -{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","impliedFormat":1},{"version":"-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","impliedFormat":1},{"version":"7305100057-var c = new C();\nc.doSomething();\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../lib/lib.d.ts","../../../first/bin/first-output.d.ts","../../../2/second-output.d.ts","../../third_part1.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n","-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n","7305100057-var c = new C();\nc.doSomething();\n"],"root":[4],"options":{"composite":true,"declaration":true,"declarationMap":true,"outFile":"./third-output.js","removeComments":true,"skipDefaultLibCheck":true,"sourceMap":true,"strict":false,"target":1},"outSignature":"1894672131-declare var c: C;\n","latestChangedDtsFile":"./third-output.d.ts"},"version":"FakeTSVersion"} //// [/src/third/thirdjs/output/third-output.tsbuildinfo.readable.baseline.txt] { @@ -381,38 +332,10 @@ c.doSomething(); "../../third_part1.ts" ], "fileInfos": { - "../../../../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "../../../first/bin/first-output.d.ts": { - "original": { - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": 1 - }, - "version": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", - "impliedFormat": "commonjs" - }, - "../../../2/second-output.d.ts": { - "original": { - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": 1 - }, - "version": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", - "impliedFormat": "commonjs" - }, - "../../third_part1.ts": { - "original": { - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": 1 - }, - "version": "7305100057-var c = new C();\nc.doSomething();\n", - "impliedFormat": "commonjs" - } + "../../../../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "../../../first/bin/first-output.d.ts": "-15957783529-interface TheFirst {\n none: any;\n}\ndeclare const s = \"Hello, world\";\ninterface NoJsForHereEither {\n none: any;\n}\ndeclare function f(): string;\n", + "../../../2/second-output.d.ts": "-2513601205-declare namespace N {\n}\ndeclare namespace N {\n}\ndeclare class C {\n doSomething(): void;\n}\n", + "../../third_part1.ts": "7305100057-var c = new C();\nc.doSomething();\n" }, "root": [ [ @@ -435,7 +358,7 @@ c.doSomething(); "latestChangedDtsFile": "./third-output.d.ts" }, "version": "FakeTSVersion", - "size": 1385 + "size": 1265 } diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js index 2de8bb7069cbd..e07696af159e8 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-not-specified-and-is-composite.js @@ -52,7 +52,7 @@ exports.x = 10; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -65,23 +65,19 @@ exports.x = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/index.ts": { "original": { "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" } }, "root": [ @@ -97,7 +93,7 @@ exports.x = 10; "latestChangedDtsFile": "./src/index.d.ts" }, "version": "FakeTSVersion", - "size": 822 + "size": 786 } diff --git a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js index 17453193f378c..dd4ffb1486221 100644 --- a/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js +++ b/tests/baselines/reference/tsbuild/outputPaths/when-rootDir-is-specified-but-not-all-files-belong-to-rootDir-and-is-composite.js @@ -52,7 +52,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/index.ts","./types/type.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","signature":false,"impliedFormat":1},{"version":"-4885977236-export type t = string;","signature":false,"impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./dist","rootDir":"./src"},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/index.ts","./types/type.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":false},{"version":"-4885977236-export type t = string;","signature":false}],"root":[2,3],"options":{"composite":true,"outDir":"./dist","rootDir":"./src"},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -67,30 +67,24 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/index.ts": { "original": { "version": "-10726455937-export const x = 10;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "version": "-10726455937-export const x = 10;" }, "./types/type.ts": { "original": { "version": "-4885977236-export type t = string;", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-4885977236-export type t = string;", - "impliedFormat": "commonjs" + "version": "-4885977236-export type t = string;" } }, "root": [ @@ -115,7 +109,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped ] }, "version": "FakeTSVersion", - "size": 907 + "size": 853 } @@ -173,7 +167,7 @@ exports.x = 10; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/index.ts","./types/type.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-4885977236-export type t = string;","signature":"-6618426122-export type t = string;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./dist","rootDir":"./src"},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./types/type.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/index.ts","./types/type.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-4885977236-export type t = string;","signature":"-6618426122-export type t = string;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./dist","rootDir":"./src"},"semanticDiagnosticsPerFile":[1,2,3],"latestChangedDtsFile":"./types/type.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -187,33 +181,27 @@ exports.x = 10; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/index.ts": { "original": { "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./types/type.ts": { "original": { "version": "-4885977236-export type t = string;", - "signature": "-6618426122-export type t = string;\n", - "impliedFormat": 1 + "signature": "-6618426122-export type t = string;\n" }, "version": "-4885977236-export type t = string;", - "signature": "-6618426122-export type t = string;\n", - "impliedFormat": "commonjs" + "signature": "-6618426122-export type t = string;\n" } }, "root": [ @@ -248,7 +236,7 @@ exports.x = 10; "latestChangedDtsFile": "./types/type.d.ts" }, "version": "FakeTSVersion", - "size": 1018 + "size": 964 } //// [/src/types/type.d.ts] diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js index 1c77710f782b4..0864c711aea22 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/builds-correctly.js @@ -87,7 +87,7 @@ exports.b = 0; //// [/src/dist/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../src/main/b.ts","../../src/main/a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13368948254-export const b = 0;\n","signature":"-5842658702-export declare const b = 0;\n","impliedFormat":1},{"version":"-18592354388-import { b } from './b';\nconst a = b;\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../src/main/b.ts","../../src/main/a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13368948254-export const b = 0;\n","signature":"-5842658702-export declare const b = 0;\n"},{"version":"-18592354388-import { b } from './b';\nconst a = b;\n","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/src/dist/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,33 +106,27 @@ exports.b = 0; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../src/main/b.ts": { "original": { "version": "-13368948254-export const b = 0;\n", - "signature": "-5842658702-export declare const b = 0;\n", - "impliedFormat": 1 + "signature": "-5842658702-export declare const b = 0;\n" }, "version": "-13368948254-export const b = 0;\n", - "signature": "-5842658702-export declare const b = 0;\n", - "impliedFormat": "commonjs" + "signature": "-5842658702-export declare const b = 0;\n" }, "../../src/main/a.ts": { "original": { "version": "-18592354388-import { b } from './b';\nconst a = b;\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-18592354388-import { b } from './b';\nconst a = b;\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -160,7 +154,7 @@ exports.b = 0; "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 1082 + "size": 1028 } //// [/src/dist/other/other.d.ts] @@ -175,7 +169,7 @@ exports.Other = 0; //// [/src/dist/other/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../../src/other/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../../src/other/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"outDir":"..","rootDir":"../../src","skipDefaultLibCheck":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/src/dist/other/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -188,23 +182,19 @@ exports.Other = 0; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../src/other/other.ts": { "original": { "version": "-4254247902-export const Other = 0;\n", - "signature": "-10003600206-export declare const Other = 0;\n", - "impliedFormat": 1 + "signature": "-10003600206-export declare const Other = 0;\n" }, "version": "-4254247902-export const Other = 0;\n", - "signature": "-10003600206-export declare const Other = 0;\n", - "impliedFormat": "commonjs" + "signature": "-10003600206-export declare const Other = 0;\n" } }, "root": [ @@ -223,6 +213,6 @@ exports.Other = 0; "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 906 + "size": 870 } diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js index e36ad96bab3f3..2f446eec36874 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file-because-no-rootDir-in-the-base.js @@ -100,7 +100,7 @@ exports.Other = 0; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declaration":true,"outDir":"./","skipDefaultLibCheck":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"outDir":"./","skipDefaultLibCheck":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -113,23 +113,19 @@ exports.Other = 0; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/other/other.ts": { "original": { "version": "-4254247902-export const Other = 0;\n", - "signature": "-10003600206-export declare const Other = 0;\n", - "impliedFormat": 1 + "signature": "-10003600206-export declare const Other = 0;\n" }, "version": "-4254247902-export const Other = 0;\n", - "signature": "-10003600206-export declare const Other = 0;\n", - "impliedFormat": "commonjs" + "signature": "-10003600206-export declare const Other = 0;\n" } }, "root": [ @@ -147,6 +143,6 @@ exports.Other = 0; "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 878 + "size": 842 } diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js index cde260e8aa7ce..62de3e83f0245 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-error-for-same-tsbuildinfo-file.js @@ -106,7 +106,7 @@ exports.Other = 0; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -119,23 +119,19 @@ exports.Other = 0; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/other/other.ts": { "original": { "version": "-4254247902-export const Other = 0;\n", - "signature": "-10003600206-export declare const Other = 0;\n", - "impliedFormat": 1 + "signature": "-10003600206-export declare const Other = 0;\n" }, "version": "-4254247902-export const Other = 0;\n", - "signature": "-10003600206-export declare const Other = 0;\n", - "impliedFormat": "commonjs" + "signature": "-10003600206-export declare const Other = 0;\n" } }, "root": [ @@ -151,7 +147,7 @@ exports.Other = 0; "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 832 + "size": 796 } diff --git a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js index 8edc48f0ee6ac..083ccd1b1d490 100644 --- a/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js +++ b/tests/baselines/reference/tsbuild/projectReferenceWithRootDirInParent/reports-no-error-when-tsbuildinfo-differ.js @@ -116,7 +116,7 @@ exports.Other = 0; //// [/src/dist/tsconfig.main.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/main/b.ts","../src/main/a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13368948254-export const b = 0;\n","signature":"-5842658702-export declare const b = 0;\n","impliedFormat":1},{"version":"-18592354388-import { b } from './b';\nconst a = b;\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/main/b.ts","../src/main/a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-13368948254-export const b = 0;\n","signature":"-5842658702-export declare const b = 0;\n"},{"version":"-18592354388-import { b } from './b';\nconst a = b;\n","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.main.tsbuildinfo.readable.baseline.txt] { @@ -135,33 +135,27 @@ exports.Other = 0; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/main/b.ts": { "original": { "version": "-13368948254-export const b = 0;\n", - "signature": "-5842658702-export declare const b = 0;\n", - "impliedFormat": 1 + "signature": "-5842658702-export declare const b = 0;\n" }, "version": "-13368948254-export const b = 0;\n", - "signature": "-5842658702-export declare const b = 0;\n", - "impliedFormat": "commonjs" + "signature": "-5842658702-export declare const b = 0;\n" }, "../src/main/a.ts": { "original": { "version": "-18592354388-import { b } from './b';\nconst a = b;\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-18592354388-import { b } from './b';\nconst a = b;\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -186,11 +180,11 @@ exports.Other = 0; "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 1005 + "size": 951 } //// [/src/dist/tsconfig.other.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/other/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4254247902-export const Other = 0;\n","signature":"-10003600206-export declare const Other = 0;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.other.tsbuildinfo.readable.baseline.txt] { @@ -203,23 +197,19 @@ exports.Other = 0; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/other/other.ts": { "original": { "version": "-4254247902-export const Other = 0;\n", - "signature": "-10003600206-export declare const Other = 0;\n", - "impliedFormat": 1 + "signature": "-10003600206-export declare const Other = 0;\n" }, "version": "-4254247902-export const Other = 0;\n", - "signature": "-10003600206-export declare const Other = 0;\n", - "impliedFormat": "commonjs" + "signature": "-10003600206-export declare const Other = 0;\n" } }, "root": [ @@ -235,7 +225,7 @@ exports.Other = 0; "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 832 + "size": 796 } diff --git a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js index 49ed7f3a02eac..9ad50b1b6386c 100644 --- a/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js +++ b/tests/baselines/reference/tsbuild/publicAPI/build-with-custom-transformers.js @@ -153,7 +153,7 @@ function f2() { } // trailing //// [/src/shared/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing","impliedFormat":1}],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-9393727241-export declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing"],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-9393727241-export declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -166,22 +166,15 @@ function f2() { } // trailing "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { - "original": { - "version": "8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing", - "impliedFormat": 1 - }, "version": "8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing", - "signature": "8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing", - "impliedFormat": "commonjs" + "signature": "8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing" } }, "root": [ @@ -202,7 +195,7 @@ function f2() { } // trailing "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1002 + "size": 954 } //// [/src/webpack/index.d.ts] @@ -239,7 +232,7 @@ function f22() { } // trailing //// [/src/webpack/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing","impliedFormat":1}],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-2037002130-export declare function f2(): void;\nexport declare class c2 {\n}\nexport declare enum e2 {\n}\nexport declare function f22(): void;\n"]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing"],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-2037002130-export declare function f2(): void;\nexport declare class c2 {\n}\nexport declare enum e2 {\n}\nexport declare function f22(): void;\n"]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -252,22 +245,15 @@ function f22() { } // trailing "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { - "original": { - "version": "20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing", - "impliedFormat": 1 - }, "version": "20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing", - "signature": "20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing", - "impliedFormat": "commonjs" + "signature": "20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing" } }, "root": [ @@ -288,6 +274,6 @@ function f22() { } // trailing "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1009 + "size": 961 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js index c84d6812d9cdd..988eaec17645d 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/files-containing-json-file.js @@ -90,7 +90,7 @@ exports.default = hello_json_1.default.hello; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n","impliedFormat":1}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -109,13 +109,11 @@ exports.default = hello_json_1.default.hello; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -124,12 +122,10 @@ exports.default = hello_json_1.default.hello; "../src/index.ts": { "original": { "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" } }, "root": [ @@ -158,6 +154,6 @@ exports.default = hello_json_1.default.hello; "latestChangedDtsFile": "./src/index.d.ts" }, "version": "FakeTSVersion", - "size": 1098 + "size": 1062 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js index 7ea5769188c4f..75ed68dd73bac 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/importing-json-module-from-project-reference.js @@ -111,7 +111,7 @@ console.log(foo_json_1.foo); //// [/src/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../strings/foo.json","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"-6280880055-{\n \"foo\": \"bar baz\"\n}",{"version":"-6647471184-import { foo } from '../strings/foo.json';\nconsole.log(foo);\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"esModuleInterop":true,"module":1,"rootDir":"..","strict":true,"target":1},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../strings/foo.json","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-6280880055-{\n \"foo\": \"bar baz\"\n}",{"version":"-6647471184-import { foo } from '../strings/foo.json';\nconsole.log(foo);\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"esModuleInterop":true,"module":1,"rootDir":"..","strict":true,"target":1},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/src/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -130,13 +130,11 @@ console.log(foo_json_1.foo); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../strings/foo.json": { "version": "-6280880055-{\n \"foo\": \"bar baz\"\n}", @@ -145,12 +143,10 @@ console.log(foo_json_1.foo); "./index.ts": { "original": { "version": "-6647471184-import { foo } from '../strings/foo.json';\nconsole.log(foo);\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-6647471184-import { foo } from '../strings/foo.json';\nconsole.log(foo);\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -175,11 +171,11 @@ console.log(foo_json_1.foo); "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1006 + "size": 970 } //// [/src/strings/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./foo.json"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"-6280880055-{\n \"foo\": \"bar baz\"\n}"],"root":[2],"options":{"composite":true,"esModuleInterop":true,"module":1,"rootDir":"..","strict":true,"target":1}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./foo.json"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-6280880055-{\n \"foo\": \"bar baz\"\n}"],"root":[2],"options":{"composite":true,"esModuleInterop":true,"module":1,"rootDir":"..","strict":true,"target":1}},"version":"FakeTSVersion"} //// [/src/strings/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -192,13 +188,11 @@ console.log(foo_json_1.foo); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./foo.json": { "version": "-6280880055-{\n \"foo\": \"bar baz\"\n}", @@ -221,7 +215,7 @@ console.log(foo_json_1.foo); } }, "version": "FakeTSVersion", - "size": 755 + "size": 737 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js index f60736ef72757..7029ae2fc3ef3 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-and-files.js @@ -92,7 +92,7 @@ exports.default = hello_json_1.default.hello; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n","impliedFormat":1}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -111,13 +111,11 @@ exports.default = hello_json_1.default.hello; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -126,12 +124,10 @@ exports.default = hello_json_1.default.hello; "../src/index.ts": { "original": { "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" } }, "root": [ @@ -160,6 +156,6 @@ exports.default = hello_json_1.default.hello; "latestChangedDtsFile": "./src/index.d.ts" }, "version": "FakeTSVersion", - "size": 1098 + "size": 1062 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js index 7e36d85c2ff22..31f5a236757f3 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include-and-file-name-matches-ts-file.js @@ -90,7 +90,7 @@ exports.default = index_json_1.default.hello; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/index.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-19435552038-import hello from \"./index.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n","impliedFormat":1}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/index.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-19435552038-import hello from \"./index.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -109,13 +109,11 @@ exports.default = index_json_1.default.hello; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/index.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -124,12 +122,10 @@ exports.default = index_json_1.default.hello; "../src/index.ts": { "original": { "version": "-19435552038-import hello from \"./index.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" }, "version": "-19435552038-import hello from \"./index.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" } }, "root": [ @@ -158,6 +154,6 @@ exports.default = index_json_1.default.hello; "latestChangedDtsFile": "./src/index.d.ts" }, "version": "FakeTSVersion", - "size": 1099 + "size": 1063 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js index 7f9529af1f4cd..0cc728281a0a4 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-of-json-along-with-other-include.js @@ -90,7 +90,7 @@ exports.default = hello_json_1.default.hello; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n","impliedFormat":1}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -109,13 +109,11 @@ exports.default = hello_json_1.default.hello; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -124,12 +122,10 @@ exports.default = hello_json_1.default.hello; "../src/index.ts": { "original": { "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" } }, "root": [ @@ -158,6 +154,6 @@ exports.default = hello_json_1.default.hello; "latestChangedDtsFile": "./src/index.d.ts" }, "version": "FakeTSVersion", - "size": 1098 + "size": 1062 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js index 13abfae92f80e..bbf593934ba84 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-not-in-rootDir.js @@ -82,7 +82,7 @@ exports.default = hello_json_1.default.hello; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./hello.json","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-17927595516-import hello from \"../hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n","impliedFormat":1}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./dist","rootDir":"./src","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./hello.json","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-17927595516-import hello from \"../hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./dist","rootDir":"./src","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,13 +101,11 @@ exports.default = hello_json_1.default.hello; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -116,12 +114,10 @@ exports.default = hello_json_1.default.hello; "./src/index.ts": { "original": { "version": "-17927595516-import hello from \"../hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" }, "version": "-17927595516-import hello from \"../hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" } }, "root": [ @@ -147,6 +143,6 @@ exports.default = hello_json_1.default.hello; "latestChangedDtsFile": "./dist/index.d.ts" }, "version": "FakeTSVersion", - "size": 1112 + "size": 1076 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js index d5aea511f8358..444b0a73d3878 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-with-json-without-rootDir-but-outside-configDirectory.js @@ -81,7 +81,7 @@ exports.default = hello_json_1.default.hello; //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../../hello.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-19695506097-import hello from \"../../hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n","impliedFormat":1}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../../hello.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-19695506097-import hello from \"../../hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -100,13 +100,11 @@ exports.default = hello_json_1.default.hello; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -115,12 +113,10 @@ exports.default = hello_json_1.default.hello; "../src/index.ts": { "original": { "version": "-19695506097-import hello from \"../../hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" }, "version": "-19695506097-import hello from \"../../hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" } }, "root": [ @@ -145,6 +141,6 @@ exports.default = hello_json_1.default.hello; "latestChangedDtsFile": "./src/index.d.ts" }, "version": "FakeTSVersion", - "size": 1100 + "size": 1064 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js index 6e1ba95345899..b365483859adc 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only-without-outDir.js @@ -80,7 +80,7 @@ exports.default = hello_json_1.default.hello; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/hello.json","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n","impliedFormat":1}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/hello.json","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -99,13 +99,11 @@ exports.default = hello_json_1.default.hello; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -114,12 +112,10 @@ exports.default = hello_json_1.default.hello; "./src/index.ts": { "original": { "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" } }, "root": [ @@ -143,6 +139,6 @@ exports.default = hello_json_1.default.hello; "latestChangedDtsFile": "./src/index.d.ts" }, "version": "FakeTSVersion", - "size": 1077 + "size": 1041 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js index b67b65b8a7664..960e457f24664 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/include-only.js @@ -72,7 +72,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","impliedFormat":1}],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}","-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n"],"root":[3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[3]},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -91,26 +91,19 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", "signature": "6651571919-{\n \"hello\": \"world\"\n}" }, "../src/index.ts": { - "original": { - "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "impliedFormat": 1 - }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "signature": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "impliedFormat": "commonjs" + "signature": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n" } }, "root": [ @@ -147,6 +140,6 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped ] }, "version": "FakeTSVersion", - "size": 1023 + "size": 975 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js index 26620a5762bab..ddcfbf9a48457 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/sourcemap.js @@ -95,7 +95,7 @@ exports.default = hello_json_1.default.hello; {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;AAAA,4DAAgC;AAChC,kBAAe,oBAAK,CAAC,KAAK,CAAA"} //// [/src/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n","impliedFormat":1}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/hello.json","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"outDir":"./","skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} //// [/src/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -114,13 +114,11 @@ exports.default = hello_json_1.default.hello; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -129,12 +127,10 @@ exports.default = hello_json_1.default.hello; "../src/index.ts": { "original": { "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" } }, "root": [ @@ -164,7 +160,7 @@ exports.default = hello_json_1.default.hello; "latestChangedDtsFile": "./src/index.d.ts" }, "version": "FakeTSVersion", - "size": 1115 + "size": 1079 } diff --git a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js index 04a9d4f296a5d..17ee11d546235 100644 --- a/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js +++ b/tests/baselines/reference/tsbuild/resolveJsonModule/without-outDir.js @@ -82,7 +82,7 @@ exports.default = hello_json_1.default.hello; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./src/hello.json","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n","impliedFormat":1}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./src/hello.json","./src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"6651571919-{\n \"hello\": \"world\"\n}",{"version":"-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n","signature":"6785192742-declare const _default: string;\nexport default _default;\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"esModuleInterop":true,"module":1,"skipDefaultLibCheck":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/index.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,13 +101,11 @@ exports.default = hello_json_1.default.hello; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/hello.json": { "version": "6651571919-{\n \"hello\": \"world\"\n}", @@ -116,12 +114,10 @@ exports.default = hello_json_1.default.hello; "./src/index.ts": { "original": { "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" }, "version": "-6443385642-import hello from \"./hello.json\"\nexport default hello.hello\n", - "signature": "6785192742-declare const _default: string;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "6785192742-declare const _default: string;\nexport default _default;\n" } }, "root": [ @@ -149,7 +145,7 @@ exports.default = hello_json_1.default.hello; "latestChangedDtsFile": "./src/index.d.ts" }, "version": "FakeTSVersion", - "size": 1079 + "size": 1043 } diff --git a/tests/baselines/reference/tsbuild/roots/when-consecutive-and-non-consecutive-are-mixed.js b/tests/baselines/reference/tsbuild/roots/when-consecutive-and-non-consecutive-are-mixed.js index ffe0658d2cc55..074f494a305c0 100644 --- a/tests/baselines/reference/tsbuild/roots/when-consecutive-and-non-consecutive-are-mixed.js +++ b/tests/baselines/reference/tsbuild/roots/when-consecutive-and-non-consecutive-are-mixed.js @@ -156,7 +156,7 @@ exports.nonConsecutive = "hello"; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./file1.ts","./file2.ts","./random.d.ts","./nonconsecutive.ts","./random1.d.ts","./asarray1.ts","./asarray2.ts","./asarray3.ts","./random2.d.ts","./anothernonconsecutive.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n","impliedFormat":1},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n","impliedFormat":1},{"version":"-10812219521-export const random = \"hello\";","impliedFormat":1},{"version":"-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n","impliedFormat":1},{"version":"-10812219521-export const random = \"hello\";","impliedFormat":1},{"version":"-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n","signature":"-6425002032-export declare const x = \"hello\";\n","impliedFormat":1},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n","impliedFormat":1},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n","impliedFormat":1},{"version":"-10812219521-export const random = \"hello\";","impliedFormat":1},{"version":"-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n","impliedFormat":1}],"root":[2,3,5,[7,9],11],"options":{"composite":true},"fileIdsList":[[10],[6],[4]],"referencedMap":[[11,1],[7,2],[5,3]],"latestChangedDtsFile":"./anotherNonConsecutive.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./file1.ts","./file2.ts","./random.d.ts","./nonconsecutive.ts","./random1.d.ts","./asarray1.ts","./asarray2.ts","./asarray3.ts","./random2.d.ts","./anothernonconsecutive.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n"}],"root":[2,3,5,[7,9],11],"options":{"composite":true},"fileIdsList":[[10],[6],[4]],"referencedMap":[[11,1],[7,2],[5,3]],"latestChangedDtsFile":"./anotherNonConsecutive.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -189,110 +189,79 @@ exports.nonConsecutive = "hello"; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": 1 + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "./file2.ts": { "original": { "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": 1 + "signature": "-5502661211-export declare const y = \"world\";\n" }, "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "signature": "-5502661211-export declare const y = \"world\";\n" }, "./random.d.ts": { - "original": { - "version": "-10812219521-export const random = \"hello\";", - "impliedFormat": 1 - }, "version": "-10812219521-export const random = \"hello\";", - "signature": "-10812219521-export const random = \"hello\";", - "impliedFormat": "commonjs" + "signature": "-10812219521-export const random = \"hello\";" }, "./nonconsecutive.ts": { "original": { "version": "-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n", - "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n", - "impliedFormat": 1 + "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n" }, "version": "-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n", - "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n" }, "./random1.d.ts": { - "original": { - "version": "-10812219521-export const random = \"hello\";", - "impliedFormat": 1 - }, "version": "-10812219521-export const random = \"hello\";", - "signature": "-10812219521-export const random = \"hello\";", - "impliedFormat": "commonjs" + "signature": "-10812219521-export const random = \"hello\";" }, "./asarray1.ts": { "original": { "version": "-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": 1 + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "version": "-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "./asarray2.ts": { "original": { "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": 1 + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "./asarray3.ts": { "original": { "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": 1 + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "./random2.d.ts": { - "original": { - "version": "-10812219521-export const random = \"hello\";", - "impliedFormat": 1 - }, "version": "-10812219521-export const random = \"hello\";", - "signature": "-10812219521-export const random = \"hello\";", - "impliedFormat": "commonjs" + "signature": "-10812219521-export const random = \"hello\";" }, "./anothernonconsecutive.ts": { "original": { "version": "-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n", - "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n", - "impliedFormat": 1 + "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n" }, "version": "-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n", - "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n" } }, "root": [ @@ -341,7 +310,7 @@ exports.nonConsecutive = "hello"; "latestChangedDtsFile": "./anotherNonConsecutive.d.ts" }, "version": "FakeTSVersion", - "size": 2296 + "size": 2062 } @@ -366,7 +335,7 @@ exitCode:: ExitStatus.Success //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./file2.ts","./random.d.ts","./nonconsecutive.ts","./random1.d.ts","./asarray1.ts","./asarray2.ts","./asarray3.ts","./random2.d.ts","./anothernonconsecutive.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n","impliedFormat":1},{"version":"-10812219521-export const random = \"hello\";","impliedFormat":1},{"version":"-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n","impliedFormat":1},{"version":"-10812219521-export const random = \"hello\";","impliedFormat":1},{"version":"-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n","signature":"-6425002032-export declare const x = \"hello\";\n","impliedFormat":1},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n","impliedFormat":1},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n","impliedFormat":1},{"version":"-10812219521-export const random = \"hello\";","impliedFormat":1},{"version":"-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n","impliedFormat":1}],"root":[2,4,[6,8],10],"options":{"composite":true},"fileIdsList":[[9],[5],[3]],"referencedMap":[[10,1],[6,2],[4,3]],"latestChangedDtsFile":"./anotherNonConsecutive.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./file2.ts","./random.d.ts","./nonconsecutive.ts","./random1.d.ts","./asarray1.ts","./asarray2.ts","./asarray3.ts","./random2.d.ts","./anothernonconsecutive.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},"-10812219521-export const random = \"hello\";",{"version":"-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n","signature":"-7909998901-export declare const nonConsecutive = \"hello\";\n"}],"root":[2,4,[6,8],10],"options":{"composite":true},"fileIdsList":[[9],[5],[3]],"referencedMap":[[10,1],[6,2],[4,3]],"latestChangedDtsFile":"./anotherNonConsecutive.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -398,100 +367,71 @@ exitCode:: ExitStatus.Success "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": 1 + "signature": "-5502661211-export declare const y = \"world\";\n" }, "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "signature": "-5502661211-export declare const y = \"world\";\n" }, "./random.d.ts": { - "original": { - "version": "-10812219521-export const random = \"hello\";", - "impliedFormat": 1 - }, "version": "-10812219521-export const random = \"hello\";", - "signature": "-10812219521-export const random = \"hello\";", - "impliedFormat": "commonjs" + "signature": "-10812219521-export const random = \"hello\";" }, "./nonconsecutive.ts": { "original": { "version": "-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n", - "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n", - "impliedFormat": 1 + "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n" }, "version": "-4807644630-import { random } from \"./random\";\nexport const nonConsecutive = \"hello\";\n", - "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n" }, "./random1.d.ts": { - "original": { - "version": "-10812219521-export const random = \"hello\";", - "impliedFormat": 1 - }, "version": "-10812219521-export const random = \"hello\";", - "signature": "-10812219521-export const random = \"hello\";", - "impliedFormat": "commonjs" + "signature": "-10812219521-export const random = \"hello\";" }, "./asarray1.ts": { "original": { "version": "-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": 1 + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "version": "-21033449408-import { random } from \"./random1\";\nexport const x = \"hello\";\n", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "./asarray2.ts": { "original": { "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": 1 + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "./asarray3.ts": { "original": { "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": 1 + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "./random2.d.ts": { - "original": { - "version": "-10812219521-export const random = \"hello\";", - "impliedFormat": 1 - }, "version": "-10812219521-export const random = \"hello\";", - "signature": "-10812219521-export const random = \"hello\";", - "impliedFormat": "commonjs" + "signature": "-10812219521-export const random = \"hello\";" }, "./anothernonconsecutive.ts": { "original": { "version": "-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n", - "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n", - "impliedFormat": 1 + "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n" }, "version": "-23429155204-import { random } from \"./random2\";\nexport const nonConsecutive = \"hello\";\n", - "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-7909998901-export declare const nonConsecutive = \"hello\";\n" } }, "root": [ @@ -536,6 +476,6 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./anotherNonConsecutive.d.ts" }, "version": "FakeTSVersion", - "size": 2143 + "size": 1927 } diff --git a/tests/baselines/reference/tsbuild/roots/when-files-are-not-consecutive.js b/tests/baselines/reference/tsbuild/roots/when-files-are-not-consecutive.js index 176bf4091f8fe..b282fafb4948a 100644 --- a/tests/baselines/reference/tsbuild/roots/when-files-are-not-consecutive.js +++ b/tests/baselines/reference/tsbuild/roots/when-files-are-not-consecutive.js @@ -73,7 +73,7 @@ exports.y = "world"; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./file1.ts","./random.d.ts","./file2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n","impliedFormat":1},{"version":"-12516578989-export const random = \"world\";","impliedFormat":1},{"version":"-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n","signature":"-5502661211-export declare const y = \"world\";\n","impliedFormat":1}],"root":[2,4],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./file2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./file1.ts","./random.d.ts","./file2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},"-12516578989-export const random = \"world\";",{"version":"-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[2,4],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./file2.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -93,42 +93,31 @@ exports.y = "world"; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": 1 + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "./random.d.ts": { - "original": { - "version": "-12516578989-export const random = \"world\";", - "impliedFormat": 1 - }, "version": "-12516578989-export const random = \"world\";", - "signature": "-12516578989-export const random = \"world\";", - "impliedFormat": "commonjs" + "signature": "-12516578989-export const random = \"world\";" }, "./file2.ts": { "original": { "version": "-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": 1 + "signature": "-5502661211-export declare const y = \"world\";\n" }, "version": "-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "signature": "-5502661211-export declare const y = \"world\";\n" } }, "root": [ @@ -152,7 +141,7 @@ exports.y = "world"; "latestChangedDtsFile": "./file2.d.ts" }, "version": "FakeTSVersion", - "size": 1140 + "size": 1056 } @@ -177,7 +166,7 @@ exitCode:: ExitStatus.Success //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./random.d.ts","./file2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12516578989-export const random = \"world\";","impliedFormat":1},{"version":"-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n","signature":"-5502661211-export declare const y = \"world\";\n","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./file2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./random.d.ts","./file2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-12516578989-export const random = \"world\";",{"version":"-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./file2.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -196,32 +185,23 @@ exitCode:: ExitStatus.Success "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./random.d.ts": { - "original": { - "version": "-12516578989-export const random = \"world\";", - "impliedFormat": 1 - }, "version": "-12516578989-export const random = \"world\";", - "signature": "-12516578989-export const random = \"world\";", - "impliedFormat": "commonjs" + "signature": "-12516578989-export const random = \"world\";" }, "./file2.ts": { "original": { "version": "-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": 1 + "signature": "-5502661211-export declare const y = \"world\";\n" }, "version": "-12123221340-import { random } from \"./random\";\nexport const y = \"world\";\n", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "signature": "-5502661211-export declare const y = \"world\";\n" } }, "root": [ @@ -241,6 +221,6 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./file2.d.ts" }, "version": "FakeTSVersion", - "size": 988 + "size": 922 } diff --git a/tests/baselines/reference/tsbuild/roots/when-multiple-root-files-are-consecutive.js b/tests/baselines/reference/tsbuild/roots/when-multiple-root-files-are-consecutive.js index 8ab91ae2513d0..70749d33c95b1 100644 --- a/tests/baselines/reference/tsbuild/roots/when-multiple-root-files-are-consecutive.js +++ b/tests/baselines/reference/tsbuild/roots/when-multiple-root-files-are-consecutive.js @@ -96,7 +96,7 @@ exports.y = "world"; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./file1.ts","./file2.ts","./file3.ts","./file4.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n","impliedFormat":1},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n","impliedFormat":1},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n","impliedFormat":1},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"latestChangedDtsFile":"./file4.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./file1.ts","./file2.ts","./file3.ts","./file4.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[[2,5]],"options":{"composite":true},"latestChangedDtsFile":"./file4.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -112,53 +112,43 @@ exports.y = "world"; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": 1 + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "./file2.ts": { "original": { "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": 1 + "signature": "-5502661211-export declare const y = \"world\";\n" }, "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "signature": "-5502661211-export declare const y = \"world\";\n" }, "./file3.ts": { "original": { "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": 1 + "signature": "-5502661211-export declare const y = \"world\";\n" }, "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "signature": "-5502661211-export declare const y = \"world\";\n" }, "./file4.ts": { "original": { "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": 1 + "signature": "-5502661211-export declare const y = \"world\";\n" }, "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "signature": "-5502661211-export declare const y = \"world\";\n" } }, "root": [ @@ -181,7 +171,7 @@ exports.y = "world"; "latestChangedDtsFile": "./file4.d.ts" }, "version": "FakeTSVersion", - "size": 1264 + "size": 1174 } @@ -206,7 +196,7 @@ exitCode:: ExitStatus.Success //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./file2.ts","./file3.ts","./file4.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n","impliedFormat":1},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n","impliedFormat":1},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true},"latestChangedDtsFile":"./file4.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./file2.ts","./file3.ts","./file4.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[[2,4]],"options":{"composite":true},"latestChangedDtsFile":"./file4.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -221,43 +211,35 @@ exitCode:: ExitStatus.Success "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": 1 + "signature": "-5502661211-export declare const y = \"world\";\n" }, "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "signature": "-5502661211-export declare const y = \"world\";\n" }, "./file3.ts": { "original": { "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": 1 + "signature": "-5502661211-export declare const y = \"world\";\n" }, "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "signature": "-5502661211-export declare const y = \"world\";\n" }, "./file4.ts": { "original": { "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": 1 + "signature": "-5502661211-export declare const y = \"world\";\n" }, "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "signature": "-5502661211-export declare const y = \"world\";\n" } }, "root": [ @@ -279,6 +261,6 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./file4.d.ts" }, "version": "FakeTSVersion", - "size": 1114 + "size": 1042 } diff --git a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js index 5e48d47a21503..3e7ee301339b5 100644 --- a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js +++ b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js @@ -112,29 +112,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/shared/tsconfig.json'... -File '/home/src/workspaces/projects/shared/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist. -File '/home/src/workspaces/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts Default library for target 'es5' projects/shared/src/logging.ts @@ -147,37 +124,6 @@ projects/shared/src/random.ts [HH:MM:SS AM] Building project '/home/src/workspaces/projects/server/tsconfig.json'... -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/server/src/package.json' does not exist. -File '/home/src/workspaces/projects/server/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/workspaces/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. @@ -188,8 +134,6 @@ Loading module as file / folder, candidate module location '/home/src/workspaces File name '/home/src/workspaces/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/projects/shared/src/myClass.ts'. ======== -File '/lib/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts Default library for target 'es5' projects/shared/dist/src/logging.d.ts @@ -218,7 +162,7 @@ console.log('Hello, world!'); //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"2292560907-export declare function log(str: string): void;\n","impliedFormat":1},{"version":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1},{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[3]],"referencedMap":[[5,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"2292560907-export declare function log(str: string): void;\n","-7943199723-export declare class MyClass {\n}\n","-1751303682-export declare function randomFn(str: string): void;\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[3]],"referencedMap":[[5,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -242,50 +186,31 @@ console.log('Hello, world!'); "../../../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/dist/src/logging.d.ts": { - "original": { - "version": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": 1 - }, "version": "2292560907-export declare function log(str: string): void;\n", - "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "2292560907-export declare function log(str: string): void;\n" }, "../../../shared/dist/src/myclass.d.ts": { - "original": { - "version": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 - }, "version": "-7943199723-export declare class MyClass {\n}\n", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../../../shared/dist/src/random.d.ts": { - "original": { - "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 - }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" }, "../../src/server.ts": { "original": { "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -347,7 +272,7 @@ console.log('Hello, world!'); "latestChangedDtsFile": "./src/server.d.ts" }, "version": "FakeTSVersion", - "size": 1475 + "size": 1349 } //// [/home/src/workspaces/projects/shared/dist/src/logging.d.ts] @@ -394,7 +319,7 @@ function randomFn(str) { //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n","impliedFormat":1},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -409,43 +334,35 @@ function randomFn(str) { "../../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/logging.ts": { "original": { "version": "-1222780632-export function log(str: string) {\n console.log(str);\n}\n", - "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": 1 + "signature": "2292560907-export declare function log(str: string): void;\n" }, "version": "-1222780632-export function log(str: string) {\n console.log(str);\n}\n", - "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "2292560907-export declare function log(str: string): void;\n" }, "../src/myclass.ts": { "original": { "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../src/random.ts": { "original": { "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" } }, "root": [ @@ -468,7 +385,7 @@ function randomFn(str) { "latestChangedDtsFile": "./src/random.d.ts" }, "version": "FakeTSVersion", - "size": 1263 + "size": 1191 } @@ -512,29 +429,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/shared/tsconfig.json'... -File '/home/src/workspaces/projects/shared/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist. -File '/home/src/workspaces/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts Default library for target 'es5' projects/shared/src/logging.ts @@ -547,37 +441,6 @@ projects/shared/src/random.ts [HH:MM:SS AM] Building project '/home/src/workspaces/projects/server/tsconfig.json'... -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/server/src/package.json' does not exist. -File '/home/src/workspaces/projects/server/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/workspaces/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. @@ -588,8 +451,6 @@ Loading module as file / folder, candidate module location '/home/src/workspaces File name '/home/src/workspaces/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/projects/shared/src/myClass.ts'. ======== -File '/lib/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts Default library for target 'es5' projects/shared/dist/src/logging.d.ts @@ -608,7 +469,7 @@ exitCode:: ExitStatus.Success //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1},{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[3]],"referencedMap":[[5,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-7943199723-export declare class MyClass {\n}\n","-1751303682-export declare function randomFn(str: string): void;\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[3]],"referencedMap":[[5,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -632,50 +493,31 @@ exitCode:: ExitStatus.Success "../../../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/dist/src/logging.d.ts": { - "original": { - "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 - }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../../../shared/dist/src/myclass.d.ts": { - "original": { - "version": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 - }, "version": "-7943199723-export declare class MyClass {\n}\n", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../../../shared/dist/src/random.d.ts": { - "original": { - "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 - }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" }, "../../src/server.ts": { "original": { "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -737,7 +579,7 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./src/server.d.ts" }, "version": "FakeTSVersion", - "size": 1506 + "size": 1380 } //// [/home/src/workspaces/projects/shared/dist/src/logging.d.ts] @@ -757,7 +599,7 @@ exports.x = 10; //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -772,43 +614,35 @@ exports.x = 10; "../../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/logging.ts": { "original": { "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../src/myclass.ts": { "original": { "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../src/random.ts": { "original": { "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" } }, "root": [ @@ -831,7 +665,7 @@ exports.x = 10; "latestChangedDtsFile": "./src/logging.d.ts" }, "version": "FakeTSVersion", - "size": 1313 + "size": 1241 } @@ -870,22 +704,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/shared/tsconfig.json'... -File '/home/src/workspaces/projects/shared/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist. -File '/home/src/workspaces/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts Default library for target 'es5' projects/shared/src/logging.ts @@ -896,29 +714,6 @@ projects/shared/src/myClass.ts [HH:MM:SS AM] Building project '/home/src/workspaces/projects/server/tsconfig.json'... -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/server/src/package.json' does not exist. -File '/home/src/workspaces/projects/server/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/workspaces/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. @@ -929,8 +724,6 @@ Loading module as file / folder, candidate module location '/home/src/workspaces File name '/home/src/workspaces/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/projects/shared/src/myClass.ts'. ======== -File '/lib/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts Default library for target 'es5' projects/shared/dist/src/logging.d.ts @@ -946,7 +739,7 @@ exitCode:: ExitStatus.Success //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"resolvedRoot":[[2,5],[3,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"resolvedRoot":[[2,5],[3,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -968,41 +761,27 @@ exitCode:: ExitStatus.Success "../../../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/dist/src/logging.d.ts": { - "original": { - "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 - }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../../../shared/dist/src/myclass.d.ts": { - "original": { - "version": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 - }, "version": "-7943199723-export declare class MyClass {\n}\n", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../../src/server.ts": { "original": { "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -1053,11 +832,11 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./src/server.d.ts" }, "version": "FakeTSVersion", - "size": 1330 + "size": 1234 } //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../lib/lib.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../lib/lib.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1071,33 +850,27 @@ exitCode:: ExitStatus.Success "../../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/logging.ts": { "original": { "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../src/myclass.ts": { "original": { "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" } }, "root": [ @@ -1117,7 +890,7 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./src/logging.d.ts" }, "version": "FakeTSVersion", - "size": 1100 + "size": 1046 } diff --git a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js index f6cb9c4ef6db5..7e1a48a75398c 100644 --- a/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js +++ b/tests/baselines/reference/tsbuild/roots/when-root-file-is-from-referenced-project.js @@ -112,29 +112,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/shared/tsconfig.json'... -File '/home/src/workspaces/projects/shared/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist. -File '/home/src/workspaces/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts Default library for target 'es5' projects/shared/src/logging.ts @@ -147,13 +124,6 @@ projects/shared/src/random.ts [HH:MM:SS AM] Building project '/home/src/workspaces/projects/server/tsconfig.json'... -File '/home/src/workspaces/projects/server/src/package.json' does not exist. -File '/home/src/workspaces/projects/server/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/workspaces/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. @@ -164,32 +134,6 @@ Loading module as file / folder, candidate module location '/home/src/workspaces File name '/home/src/workspaces/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/projects/shared/src/myClass.ts'. ======== -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts Default library for target 'es5' projects/shared/dist/src/myClass.d.ts @@ -218,7 +162,7 @@ console.log('Hello, world!'); //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"2292560907-export declare function log(str: string): void;\n","impliedFormat":1},{"version":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1}],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"2292560907-export declare function log(str: string): void;\n","-1751303682-export declare function randomFn(str: string): void;\n"],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -242,50 +186,31 @@ console.log('Hello, world!'); "../../../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/dist/src/myclass.d.ts": { - "original": { - "version": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 - }, "version": "-7943199723-export declare class MyClass {\n}\n", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../../src/server.ts": { "original": { "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../../../shared/dist/src/logging.d.ts": { - "original": { - "version": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": 1 - }, "version": "2292560907-export declare function log(str: string): void;\n", - "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "2292560907-export declare function log(str: string): void;\n" }, "../../../shared/dist/src/random.d.ts": { - "original": { - "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 - }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" } }, "root": [ @@ -347,7 +272,7 @@ console.log('Hello, world!'); "latestChangedDtsFile": "./src/server.d.ts" }, "version": "FakeTSVersion", - "size": 1475 + "size": 1349 } //// [/home/src/workspaces/projects/shared/dist/src/logging.d.ts] @@ -394,7 +319,7 @@ function randomFn(str) { //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n","impliedFormat":1},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -409,43 +334,35 @@ function randomFn(str) { "../../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/logging.ts": { "original": { "version": "-1222780632-export function log(str: string) {\n console.log(str);\n}\n", - "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": 1 + "signature": "2292560907-export declare function log(str: string): void;\n" }, "version": "-1222780632-export function log(str: string) {\n console.log(str);\n}\n", - "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "2292560907-export declare function log(str: string): void;\n" }, "../src/myclass.ts": { "original": { "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../src/random.ts": { "original": { "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" } }, "root": [ @@ -468,7 +385,7 @@ function randomFn(str) { "latestChangedDtsFile": "./src/random.d.ts" }, "version": "FakeTSVersion", - "size": 1263 + "size": 1191 } @@ -512,29 +429,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/shared/tsconfig.json'... -File '/home/src/workspaces/projects/shared/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist. -File '/home/src/workspaces/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts Default library for target 'es5' projects/shared/src/logging.ts @@ -547,13 +441,6 @@ projects/shared/src/random.ts [HH:MM:SS AM] Building project '/home/src/workspaces/projects/server/tsconfig.json'... -File '/home/src/workspaces/projects/server/src/package.json' does not exist. -File '/home/src/workspaces/projects/server/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/workspaces/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. @@ -564,32 +451,6 @@ Loading module as file / folder, candidate module location '/home/src/workspaces File name '/home/src/workspaces/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/projects/shared/src/myClass.ts'. ======== -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts Default library for target 'es5' projects/shared/dist/src/myClass.d.ts @@ -608,7 +469,7 @@ exitCode:: ExitStatus.Success //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1}],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-1751303682-export declare function randomFn(str: string): void;\n"],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -632,50 +493,31 @@ exitCode:: ExitStatus.Success "../../../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/dist/src/myclass.d.ts": { - "original": { - "version": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 - }, "version": "-7943199723-export declare class MyClass {\n}\n", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../../src/server.ts": { "original": { "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../../../shared/dist/src/logging.d.ts": { - "original": { - "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 - }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../../../shared/dist/src/random.d.ts": { - "original": { - "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 - }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" } }, "root": [ @@ -737,7 +579,7 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./src/server.d.ts" }, "version": "FakeTSVersion", - "size": 1506 + "size": 1380 } //// [/home/src/workspaces/projects/shared/dist/src/logging.d.ts] @@ -757,7 +599,7 @@ exports.x = 10; //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -772,43 +614,35 @@ exports.x = 10; "../../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/logging.ts": { "original": { "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../src/myclass.ts": { "original": { "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../src/random.ts": { "original": { "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" } }, "root": [ @@ -831,7 +665,7 @@ exports.x = 10; "latestChangedDtsFile": "./src/logging.d.ts" }, "version": "FakeTSVersion", - "size": 1313 + "size": 1241 } @@ -870,22 +704,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/shared/tsconfig.json'... -File '/home/src/workspaces/projects/shared/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist. -File '/home/src/workspaces/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts Default library for target 'es5' projects/shared/src/logging.ts @@ -896,13 +714,6 @@ projects/shared/src/myClass.ts [HH:MM:SS AM] Building project '/home/src/workspaces/projects/server/tsconfig.json'... -File '/home/src/workspaces/projects/server/src/package.json' does not exist. -File '/home/src/workspaces/projects/server/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/workspaces/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. @@ -913,24 +724,6 @@ Loading module as file / folder, candidate module location '/home/src/workspaces File name '/home/src/workspaces/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/projects/shared/src/myClass.ts'. ======== -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../lib/lib.d.ts Default library for target 'es5' projects/shared/dist/src/myClass.d.ts @@ -946,7 +739,7 @@ exitCode:: ExitStatus.Success //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1}],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -968,41 +761,27 @@ exitCode:: ExitStatus.Success "../../../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/dist/src/myclass.d.ts": { - "original": { - "version": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 - }, "version": "-7943199723-export declare class MyClass {\n}\n", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../../src/server.ts": { "original": { "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../../../shared/dist/src/logging.d.ts": { - "original": { - "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 - }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" } }, "root": [ @@ -1053,11 +832,11 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./src/server.d.ts" }, "version": "FakeTSVersion", - "size": 1330 + "size": 1234 } //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../lib/lib.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../lib/lib.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1071,33 +850,27 @@ exitCode:: ExitStatus.Success "../../../../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/logging.ts": { "original": { "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../src/myclass.ts": { "original": { "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" } }, "root": [ @@ -1117,7 +890,7 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./src/logging.d.ts" }, "version": "FakeTSVersion", - "size": 1100 + "size": 1046 } diff --git a/tests/baselines/reference/tsbuild/roots/when-two-root-files-are-consecutive.js b/tests/baselines/reference/tsbuild/roots/when-two-root-files-are-consecutive.js index b98bc4236d9d1..788cee38b25b2 100644 --- a/tests/baselines/reference/tsbuild/roots/when-two-root-files-are-consecutive.js +++ b/tests/baselines/reference/tsbuild/roots/when-two-root-files-are-consecutive.js @@ -68,7 +68,7 @@ exports.y = "world"; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n","impliedFormat":1},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./file2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-10637577098-export const x = \"hello\";","signature":"-6425002032-export declare const x = \"hello\";\n"},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./file2.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -82,33 +82,27 @@ exports.y = "world"; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": 1 + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "version": "-10637577098-export const x = \"hello\";", - "signature": "-6425002032-export declare const x = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-6425002032-export declare const x = \"hello\";\n" }, "./file2.ts": { "original": { "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": 1 + "signature": "-5502661211-export declare const y = \"world\";\n" }, "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "signature": "-5502661211-export declare const y = \"world\";\n" } }, "root": [ @@ -127,7 +121,7 @@ exports.y = "world"; "latestChangedDtsFile": "./file2.d.ts" }, "version": "FakeTSVersion", - "size": 962 + "size": 908 } @@ -152,7 +146,7 @@ exitCode:: ExitStatus.Success //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./file2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./file2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./file2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11520681045-export const y = \"world\";","signature":"-5502661211-export declare const y = \"world\";\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./file2.d.ts"},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -165,23 +159,19 @@ exitCode:: ExitStatus.Success "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": 1 + "signature": "-5502661211-export declare const y = \"world\";\n" }, "version": "-11520681045-export const y = \"world\";", - "signature": "-5502661211-export declare const y = \"world\";\n", - "impliedFormat": "commonjs" + "signature": "-5502661211-export declare const y = \"world\";\n" } }, "root": [ @@ -196,6 +186,6 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./file2.d.ts" }, "version": "FakeTSVersion", - "size": 810 + "size": 774 } diff --git a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js index 8450d188bcd37..3305d26c6cd48 100644 --- a/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js +++ b/tests/baselines/reference/tsbuild/sample1/always-builds-under-with-force-option.js @@ -136,7 +136,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -151,44 +151,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -213,7 +205,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -239,7 +231,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -260,41 +252,27 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -318,7 +296,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -339,7 +317,7 @@ exports.m = mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -365,50 +343,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -435,7 +394,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js index d1d02f7cefb6b..84e4982706d8c 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-buildReferencedProject.js @@ -147,7 +147,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -162,44 +162,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -224,7 +216,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -250,7 +242,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -271,41 +263,27 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -329,6 +307,6 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } diff --git a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js index b7dfb99fc099b..0ac8afed7840d 100644 --- a/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js +++ b/tests/baselines/reference/tsbuild/sample1/building-using-getNextInvalidatedProject.js @@ -131,7 +131,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -146,44 +146,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -208,7 +200,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } @@ -239,7 +231,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -260,41 +252,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -318,7 +296,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } @@ -344,7 +322,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -370,50 +348,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -440,7 +399,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js index 17006c3daf635..7bc44938fdb7b 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-declarationDir-is-specified.js @@ -135,7 +135,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -150,44 +150,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -212,7 +204,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.js] @@ -238,7 +230,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./out/decls","sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./out/decls/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./out/decls","sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./out/decls/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -259,41 +251,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -317,7 +295,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./out/decls/index.d.ts" }, "version": "FakeTSVersion", - "size": 1549 + "size": 1453 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -338,7 +316,7 @@ exports.m = mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/out/decls/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/out/decls/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -364,50 +342,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/out/decls/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -434,6 +393,6 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1713 + "size": 1587 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js index ed752ff05c3e8..28a850507d1a9 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-correctly-when-outDir-is-specified.js @@ -135,7 +135,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -150,44 +150,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -212,7 +204,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/outDir/index.d.ts] @@ -238,7 +230,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/index.d.ts","../../core/anothermodule.d.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"outDir":"./","sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/index.d.ts","../../core/anothermodule.d.ts","../index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"outDir":"./","sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -259,41 +251,27 @@ exports.m = mod; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -317,7 +295,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1532 + "size": 1436 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -338,7 +316,7 @@ exports.m = mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/outdir/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/outdir/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -364,50 +342,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/outdir/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -434,6 +393,6 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1710 + "size": 1584 } diff --git a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js index dc1ed4372ce28..c86dea36a0208 100644 --- a/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/builds-till-project-specified.js @@ -135,7 +135,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -150,44 +150,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -212,7 +204,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -238,7 +230,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -259,41 +251,27 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -317,6 +295,6 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } diff --git a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js index 9bfdc4303d801..b56b45d49421b 100644 --- a/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js +++ b/tests/baselines/reference/tsbuild/sample1/can-detect-when-and-what-to-rebuild.js @@ -72,7 +72,7 @@ declare const dts: any; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -87,44 +87,36 @@ declare const dts: any; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -149,7 +141,7 @@ declare const dts: any; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -200,7 +192,7 @@ export const m = mod; } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -221,41 +213,27 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -279,7 +257,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -332,7 +310,7 @@ export const m = mod; } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -358,50 +336,31 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -428,7 +387,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } @@ -485,7 +444,7 @@ var m = 10; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"3708260210-const m = 10;","signature":"-357908916-declare const m = 10;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3708260210-const m = 10;","signature":"-357908916-declare const m = 10;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -498,25 +457,21 @@ var m = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "3708260210-const m = 10;", "signature": "-357908916-declare const m = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3708260210-const m = 10;", "signature": "-357908916-declare const m = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -533,7 +488,7 @@ var m = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 865 + "size": 829 } @@ -585,7 +540,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-17153345957-export const someString: string = \"WELCOME PLANET\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-17153345957-export const someString: string = \"WELCOME PLANET\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -600,44 +555,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-17153345957-export const someString: string = \"WELCOME PLANET\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-17153345957-export const someString: string = \"WELCOME PLANET\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -662,7 +609,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1467 + "size": 1395 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -732,7 +679,7 @@ const m = 10; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.es2020.full.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"3708260210-const m = 10;","signature":"-357908916-declare const m = 10;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":7},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.es2020.full.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"3708260210-const m = 10;","signature":"-357908916-declare const m = 10;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":7},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -745,25 +692,21 @@ const m = 10; "../../../../../a/lib/lib.es2020.full.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "3708260210-const m = 10;", "signature": "-357908916-declare const m = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3708260210-const m = 10;", "signature": "-357908916-declare const m = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -781,6 +724,6 @@ const m = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 888 + "size": 852 } diff --git a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js index 993367bda97b7..18bb7d4b79ec1 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js +++ b/tests/baselines/reference/tsbuild/sample1/cleaning-project-in-not-build-order-doesnt-throw-error.js @@ -71,7 +71,7 @@ declare const dts: any; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -86,44 +86,36 @@ declare const dts: any; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -148,7 +140,7 @@ declare const dts: any; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -199,7 +191,7 @@ export const m = mod; } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -220,41 +212,27 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -278,7 +256,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -331,7 +309,7 @@ export const m = mod; } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -357,50 +335,31 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -427,7 +386,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js index 10143cfa6af8d..270b6eb400e93 100644 --- a/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js +++ b/tests/baselines/reference/tsbuild/sample1/cleans-till-project-specified.js @@ -71,7 +71,7 @@ declare const dts: any; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -86,44 +86,36 @@ declare const dts: any; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -148,7 +140,7 @@ declare const dts: any; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -199,7 +191,7 @@ export const m = mod; } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -220,41 +212,27 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -278,7 +256,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -331,7 +309,7 @@ export const m = mod; } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -357,50 +335,31 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -427,7 +386,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js index 8b74f6fed7aef..5e9e5e0b63c4b 100644 --- a/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js +++ b/tests/baselines/reference/tsbuild/sample1/does-not-build-downstream-projects-if-upstream-projects-have-errors.js @@ -161,7 +161,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,44 +176,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -238,11 +230,11 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-11192027815-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.muitply();\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":85,"length":7,"code":2339,"category":1,"messageText":"Property 'muitply' does not exist on type 'typeof import(\"/user/username/projects/sample1/core/index\")'."}]]],"affectedFilesPendingEmit":[4],"emitSignatures":[4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-11192027815-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.muitply();\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n"],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":85,"length":7,"code":2339,"category":1,"messageText":"Property 'muitply' does not exist on type 'typeof import(\"/user/username/projects/sample1/core/index\")'."}]]],"affectedFilesPendingEmit":[4],"emitSignatures":[4]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -263,40 +255,23 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { - "original": { - "version": "-11192027815-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.muitply();\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "impliedFormat": 1 - }, "version": "-11192027815-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.muitply();\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-11192027815-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.muitply();\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "impliedFormat": "commonjs" + "signature": "-11192027815-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.muitply();\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n" } }, "root": [ @@ -342,7 +317,7 @@ function multiply(a, b) { return a * b; } ] }, "version": "FakeTSVersion", - "size": 1589 + "size": 1481 } diff --git a/tests/baselines/reference/tsbuild/sample1/explainFiles.js b/tests/baselines/reference/tsbuild/sample1/explainFiles.js index d334176cff0bf..75e27f82e3f5e 100644 --- a/tests/baselines/reference/tsbuild/sample1/explainFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/explainFiles.js @@ -185,7 +185,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -200,44 +200,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -262,7 +254,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -288,7 +280,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -309,41 +301,27 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -367,7 +345,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -388,7 +366,7 @@ exports.m = mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -414,50 +392,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -484,7 +443,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } @@ -583,7 +542,7 @@ exports.someClass = someClass; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -598,44 +557,36 @@ exports.someClass = someClass; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -660,13 +611,13 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1529 + "size": 1457 } //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -687,41 +638,27 @@ exports.someClass = someClass; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -745,12 +682,12 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1572 + "size": 1476 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -776,50 +713,31 @@ exports.someClass = someClass; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -846,7 +764,7 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1614 } @@ -917,7 +835,7 @@ var someClass2 = /** @class */ (function () { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -932,44 +850,36 @@ var someClass2 = /** @class */ (function () { "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "version": "-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -994,7 +904,7 @@ var someClass2 = /** @class */ (function () { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1551 + "size": 1479 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js index 0547b46cf261c..85226adb5fddb 100644 --- a/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js +++ b/tests/baselines/reference/tsbuild/sample1/indicates-that-it-would-skip-builds-during-a-dry-build.js @@ -72,7 +72,7 @@ declare const dts: any; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -87,44 +87,36 @@ declare const dts: any; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -149,7 +141,7 @@ declare const dts: any; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -200,7 +192,7 @@ export const m = mod; } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -221,41 +213,27 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -279,7 +257,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -332,7 +310,7 @@ export const m = mod; } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -358,50 +336,31 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -428,7 +387,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js index c9ba1134bc518..addb153edb730 100644 --- a/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js +++ b/tests/baselines/reference/tsbuild/sample1/invalidates-projects-correctly.js @@ -126,7 +126,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -141,44 +141,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -203,7 +195,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -229,7 +221,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -250,41 +242,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -308,7 +286,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] @@ -329,7 +307,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -355,50 +333,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -425,7 +384,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } @@ -458,7 +417,7 @@ function foo() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-6834574773-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-6834574773-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -479,41 +438,27 @@ function foo() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-6834574773-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-6834574773-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -537,7 +482,7 @@ function foo() { } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1472 + "size": 1376 } @@ -586,7 +531,7 @@ export declare class cNew { //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-6419466200-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}export class cNew {}","signature":"-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-6419466200-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}export class cNew {}","signature":"-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -607,41 +552,27 @@ export declare class cNew { "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-6419466200-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}export class cNew {}", - "signature": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n", - "impliedFormat": 1 + "signature": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n" }, "version": "-6419466200-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() {}export class cNew {}", - "signature": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n", - "impliedFormat": "commonjs" + "signature": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n" } }, "root": [ @@ -665,14 +596,14 @@ export declare class cNew { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1525 + "size": 1429 } Dts change to Logic:: After building next project //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -698,50 +629,31 @@ Dts change to Logic:: After building next project "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n", - "impliedFormat": 1 - }, "version": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n", - "signature": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n", - "impliedFormat": "commonjs" + "signature": "-10890883855-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare class cNew {\n}\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -768,6 +680,6 @@ Dts change to Logic:: After building next project "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1656 + "size": 1530 } diff --git a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js index 1279c3301ac0a..11e2d5c82d955 100644 --- a/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listEmittedFiles.js @@ -150,7 +150,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -165,44 +165,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -227,7 +219,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -253,7 +245,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -274,41 +266,27 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -332,7 +310,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -353,7 +331,7 @@ exports.m = mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -379,50 +357,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -449,7 +408,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } @@ -508,7 +467,7 @@ exports.someClass = someClass; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -523,44 +482,36 @@ exports.someClass = someClass; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -585,13 +536,13 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1529 + "size": 1457 } //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -612,41 +563,27 @@ exports.someClass = someClass; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -670,12 +607,12 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1572 + "size": 1476 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -701,50 +638,31 @@ exports.someClass = someClass; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -771,7 +689,7 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1614 } @@ -820,7 +738,7 @@ var someClass2 = /** @class */ (function () { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -835,44 +753,36 @@ var someClass2 = /** @class */ (function () { "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "version": "-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -897,7 +807,7 @@ var someClass2 = /** @class */ (function () { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1551 + "size": 1479 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/listFiles.js b/tests/baselines/reference/tsbuild/sample1/listFiles.js index 6511b709b81e1..a4725e3447d9a 100644 --- a/tests/baselines/reference/tsbuild/sample1/listFiles.js +++ b/tests/baselines/reference/tsbuild/sample1/listFiles.js @@ -149,7 +149,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -164,44 +164,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -226,7 +218,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -252,7 +244,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -273,41 +265,27 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -331,7 +309,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -352,7 +330,7 @@ exports.m = mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -378,50 +356,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -448,7 +407,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } @@ -511,7 +470,7 @@ exports.someClass = someClass; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -526,44 +485,36 @@ exports.someClass = someClass; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -588,13 +539,13 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1529 + "size": 1457 } //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -615,41 +566,27 @@ exports.someClass = someClass; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -673,12 +610,12 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1572 + "size": 1476 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -704,50 +641,31 @@ exports.someClass = someClass; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -774,7 +692,7 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1614 } @@ -824,7 +742,7 @@ var someClass2 = /** @class */ (function () { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -839,44 +757,36 @@ var someClass2 = /** @class */ (function () { "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "version": "-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -901,7 +811,7 @@ var someClass2 = /** @class */ (function () { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1551 + "size": 1479 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js index 7e32385fb3e2b..b0c6c9f1cd91b 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-completely-when-version-in-tsbuildinfo-doesnt-match-ts-version.js @@ -71,7 +71,7 @@ declare const dts: any; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -86,44 +86,36 @@ declare const dts: any; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -148,7 +140,7 @@ declare const dts: any; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -199,7 +191,7 @@ export const m = mod; } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -220,41 +212,27 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -278,7 +256,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -331,7 +309,7 @@ export const m = mod; } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -357,50 +335,31 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -427,7 +386,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } @@ -461,7 +420,7 @@ exitCode:: ExitStatus.Success //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/index.js] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSCurrentVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -476,44 +435,36 @@ exitCode:: ExitStatus.Success "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -538,14 +489,14 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 1471 + "size": 1399 } //// [/user/username/projects/sample1/logic/index.d.ts] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSCurrentVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -566,41 +517,27 @@ exitCode:: ExitStatus.Success "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -624,13 +561,13 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 1542 + "size": 1446 } //// [/user/username/projects/sample1/tests/index.d.ts] file written with same contents //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSCurrentVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSCurrentVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -656,50 +593,31 @@ exitCode:: ExitStatus.Success "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -726,6 +644,6 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSCurrentVersion", - "size": 1710 + "size": 1584 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js index d1b84f1e59dec..492b916df939f 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-from-start-if-force-option-is-set.js @@ -72,7 +72,7 @@ declare const dts: any; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -87,44 +87,36 @@ declare const dts: any; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -149,7 +141,7 @@ declare const dts: any; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -200,7 +192,7 @@ export const m = mod; } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -221,41 +213,27 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -279,7 +257,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -332,7 +310,7 @@ export const m = mod; } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -358,50 +336,31 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -428,7 +387,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js index 17001fcddcb4a..2727cafa2dfce 100644 --- a/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/rebuilds-when-extended-config-file-changes.js @@ -160,7 +160,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,44 +175,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -237,7 +229,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -263,7 +255,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -284,41 +276,27 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -342,7 +320,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -363,7 +341,7 @@ exports.m = mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":1},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"target":1},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -389,50 +367,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -460,7 +419,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1714 + "size": 1588 } @@ -494,7 +453,7 @@ exitCode:: ExitStatus.Success //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -520,50 +479,31 @@ exitCode:: ExitStatus.Success "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -590,6 +530,6 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js index 218fea389dbb7..31131733726dd 100644 --- a/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js +++ b/tests/baselines/reference/tsbuild/sample1/removes-all-files-it-built.js @@ -72,7 +72,7 @@ declare const dts: any; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -87,44 +87,36 @@ declare const dts: any; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -149,7 +141,7 @@ declare const dts: any; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -200,7 +192,7 @@ export const m = mod; } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -221,41 +213,27 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -279,7 +257,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -332,7 +310,7 @@ export const m = mod; } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -358,50 +336,31 @@ export const m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -428,7 +387,7 @@ export const m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js index 82e360544e129..11a00f52f0e65 100644 --- a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing-with-force.js @@ -130,7 +130,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":false,"impliedFormat":1},{"version":"-7959511260-declare const dts: any;","signature":false,"affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":false},{"version":"-7959511260-declare const dts: any;","signature":false,"affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -145,32 +145,26 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -193,6 +187,6 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped ] }, "version": "FakeTSVersion", - "size": 1071 + "size": 1017 } diff --git a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js index b55355e4f43c0..42b70cefdc195 100644 --- a/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js +++ b/tests/baselines/reference/tsbuild/sample1/reports-error-if-input-file-is-missing.js @@ -130,7 +130,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":false,"impliedFormat":1},{"version":"-7959511260-declare const dts: any;","signature":false,"affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":false},{"version":"-7959511260-declare const dts: any;","signature":false,"affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -145,32 +145,26 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -193,6 +187,6 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped ] }, "version": "FakeTSVersion", - "size": 1071 + "size": 1017 } diff --git a/tests/baselines/reference/tsbuild/sample1/sample.js b/tests/baselines/reference/tsbuild/sample1/sample.js index 13cb1fb6e4408..932926ea58d9f 100644 --- a/tests/baselines/reference/tsbuild/sample1/sample.js +++ b/tests/baselines/reference/tsbuild/sample1/sample.js @@ -315,7 +315,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -330,44 +330,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -392,7 +384,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -543,7 +535,7 @@ sourceFile:index.ts >>>//# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -564,41 +556,27 @@ sourceFile:index.ts "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -622,7 +600,7 @@ sourceFile:index.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -643,7 +621,7 @@ exports.m = mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -669,50 +647,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -739,7 +698,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } @@ -956,7 +915,7 @@ exports.someClass = someClass; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -971,44 +930,36 @@ exports.someClass = someClass; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1033,14 +984,14 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1529 + "size": 1457 } //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js.map.baseline.txt] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1061,41 +1012,27 @@ exports.someClass = someClass; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1119,12 +1056,12 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1572 + "size": 1476 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1150,50 +1087,31 @@ exports.someClass = someClass; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1220,7 +1138,7 @@ exports.someClass = someClass; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1740 + "size": 1614 } @@ -1294,7 +1212,7 @@ var someClass2 = /** @class */ (function () { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1309,44 +1227,36 @@ var someClass2 = /** @class */ (function () { "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "version": "-18382817761-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nclass someClass2 { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1371,7 +1281,7 @@ var someClass2 = /** @class */ (function () { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1551 + "size": 1479 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -1470,7 +1380,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js.map.baseline.txt] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./decls","skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./decls/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./decls","skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./decls/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1491,41 +1401,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1550,12 +1446,12 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./decls/index.d.ts" }, "version": "FakeTSVersion", - "size": 1605 + "size": 1509 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1581,50 +1477,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/decls/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1651,7 +1528,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1746 + "size": 1620 } diff --git a/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js b/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js index 85e537a24fabd..23978a8d8f8ad 100644 --- a/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tsbuild/sample1/tsbuildinfo-has-error.js @@ -46,7 +46,7 @@ exports.x = 10; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1}],"root":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -59,22 +59,15 @@ exports.x = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" } }, "root": [ @@ -85,7 +78,7 @@ exports.x = 10; ] }, "version": "FakeTSVersion", - "size": 674 + "size": 626 } @@ -93,7 +86,7 @@ exports.x = 10; Change:: tsbuildinfo written has error Input:: //// [/src/project/tsconfig.tsbuildinfo] -Some random string{"program":{"fileNames":["../../lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1}],"root":[2]},"version":"FakeTSVersion"} +Some random string{"program":{"fileNames":["../../lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2]},"version":"FakeTSVersion"} @@ -111,6 +104,6 @@ exitCode:: ExitStatus.Success //// [/src/project/main.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1}],"root":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js index 8d0a691d44e83..4a1d565f12054 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declaration-option-changes.js @@ -125,7 +125,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"skipDefaultLibCheck":true}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3090574810-export const World = \"hello\";","-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"skipDefaultLibCheck":true}},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -140,42 +140,28 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { - "original": { - "version": "-3090574810-export const World = \"hello\";", - "impliedFormat": 1 - }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-3090574810-export const World = \"hello\";", - "impliedFormat": "commonjs" + "signature": "-3090574810-export const World = \"hello\";" }, "./index.ts": { - "original": { - "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": 1 - }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -196,7 +182,7 @@ function multiply(a, b) { return a * b; } } }, "version": "FakeTSVersion", - "size": 1102 + "size": 1006 } @@ -236,7 +222,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"skipDefaultLibCheck":true}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"declaration":true,"skipDefaultLibCheck":true}},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -251,44 +237,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -310,6 +288,6 @@ export declare function multiply(a: number, b: number): number; } }, "version": "FakeTSVersion", - "size": 1387 + "size": 1315 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js index 1b4ed6ce885d4..1f2b74528fed9 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-declarationMap-changes.js @@ -153,7 +153,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,44 +168,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -230,7 +222,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -256,7 +248,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -277,41 +269,27 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -335,7 +313,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -356,7 +334,7 @@ exports.m = mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -382,50 +360,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -452,7 +411,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } @@ -504,7 +463,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":false,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":false,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -519,44 +478,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -581,7 +532,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1465 + "size": 1393 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time @@ -637,7 +588,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -652,44 +603,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -714,7 +657,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js index d709388b2735c..42d5cf102ca5e 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-esModuleInterop-option-changes.js @@ -154,7 +154,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -169,44 +169,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -231,7 +223,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -257,7 +249,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -278,41 +270,27 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -336,7 +314,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -357,7 +335,7 @@ exports.m = mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"esModuleInterop":false,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"esModuleInterop":false,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -383,50 +361,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -454,7 +413,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1727 + "size": 1601 } @@ -539,7 +498,7 @@ exports.m = mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -565,50 +524,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -636,6 +576,6 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1726 + "size": 1600 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js b/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js index b2d55682eb774..63deaa2a9051f 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-input-file-text-does-not-change-but-its-modified-time-changes.js @@ -153,7 +153,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,44 +168,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -230,7 +222,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -256,7 +248,7 @@ exports.m = mod; {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AACA,0CAEC;AAHD,iCAAmC;AACnC,SAAgB,eAAe;IAC3B,OAAO,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAC9B,CAAC;AACD,2CAA6C;AAChC,QAAA,CAAC,GAAG,GAAG,CAAC"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -277,41 +269,27 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -335,7 +313,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1535 + "size": 1439 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -356,7 +334,7 @@ exports.m = mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -382,50 +360,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -452,7 +411,7 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js index 5156103385e16..50d15d5608d42 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js +++ b/tests/baselines/reference/tsbuild/sample1/when-logic-specifies-tsBuildInfoFile.js @@ -316,7 +316,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -331,44 +331,36 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -393,7 +385,7 @@ function multiply(a, b) { return a * b; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1464 + "size": 1392 } //// [/user/username/projects/sample1/logic/index.d.ts] @@ -544,7 +536,7 @@ sourceFile:index.ts >>>//# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/ownFile.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true,"tsBuildInfoFile":"./ownFile.tsbuildinfo"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true,"tsBuildInfoFile":"./ownFile.tsbuildinfo"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/ownFile.tsbuildinfo.readable.baseline.txt] { @@ -565,41 +557,27 @@ sourceFile:index.ts "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -624,7 +602,7 @@ sourceFile:index.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1577 + "size": 1481 } //// [/user/username/projects/sample1/tests/index.d.ts] @@ -645,7 +623,7 @@ exports.m = mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -671,50 +649,31 @@ exports.m = mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -741,6 +700,6 @@ exports.m = mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1577 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js index 3097e3a471edb..b86c2d484004d 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-module-option-changes.js @@ -125,7 +125,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"module":1}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3090574810-export const World = \"hello\";","-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"module":1}},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -140,42 +140,28 @@ function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { - "original": { - "version": "-3090574810-export const World = \"hello\";", - "impliedFormat": 1 - }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-3090574810-export const World = \"hello\";", - "impliedFormat": "commonjs" + "signature": "-3090574810-export const World = \"hello\";" }, "./index.ts": { - "original": { - "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": 1 - }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -196,7 +182,7 @@ function multiply(a, b) { return a * b; } } }, "version": "FakeTSVersion", - "size": 1086 + "size": 990 } @@ -248,7 +234,7 @@ define(["require", "exports"], function (require, exports) { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"module":2}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3090574810-export const World = \"hello\";","-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"module":2}},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -263,42 +249,28 @@ define(["require", "exports"], function (require, exports) { "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { - "original": { - "version": "-3090574810-export const World = \"hello\";", - "impliedFormat": 1 - }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-3090574810-export const World = \"hello\";", - "impliedFormat": "commonjs" + "signature": "-3090574810-export const World = \"hello\";" }, "./index.ts": { - "original": { - "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": 1 - }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -319,6 +291,6 @@ define(["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1086 + "size": 990 } diff --git a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js index 1707ad95a2939..ef3b64187f2c9 100644 --- a/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js +++ b/tests/baselines/reference/tsbuild/sample1/when-target-option-changes.js @@ -135,7 +135,7 @@ export function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.esnext.d.ts","../../../../../a/lib/lib.esnext.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"8926001564-/// \n/// ","impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[3,5]],"options":{"target":99}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.esnext.d.ts","../../../../../a/lib/lib.esnext.full.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"8926001564-/// \n/// ","-3090574810-export const World = \"hello\";","-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[3,5]],"options":{"target":99}},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -151,51 +151,32 @@ export function multiply(a, b) { return a * b; } "../../../../../a/lib/lib.esnext.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../../../a/lib/lib.esnext.full.d.ts": { - "original": { - "version": "8926001564-/// \n/// ", - "impliedFormat": 1 - }, "version": "8926001564-/// \n/// ", - "signature": "8926001564-/// \n/// ", - "impliedFormat": "commonjs" + "signature": "8926001564-/// \n/// " }, "./anothermodule.ts": { - "original": { - "version": "-3090574810-export const World = \"hello\";", - "impliedFormat": 1 - }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-3090574810-export const World = \"hello\";", - "impliedFormat": "commonjs" + "signature": "-3090574810-export const World = \"hello\";" }, "./index.ts": { - "original": { - "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": 1 - }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -216,7 +197,7 @@ export function multiply(a, b) { return a * b; } } }, "version": "FakeTSVersion", - "size": 1256 + "size": 1130 } @@ -274,7 +255,7 @@ function multiply(a, b) { return a * b; } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../../../../../a/lib/lib.esnext.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"8926001564-/// \n/// ","impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[3,5]],"options":{"target":1}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../../../../../a/lib/lib.esnext.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":["8926001564-/// \n/// ",{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3090574810-export const World = \"hello\";","-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n",{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[3,5]],"options":{"target":1}},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -288,53 +269,34 @@ function multiply(a, b) { return a * b; } ], "fileInfos": { "../../../../../a/lib/lib.d.ts": { - "original": { - "version": "8926001564-/// \n/// ", - "impliedFormat": 1 - }, "version": "8926001564-/// \n/// ", - "signature": "8926001564-/// \n/// ", - "impliedFormat": "commonjs" + "signature": "8926001564-/// \n/// " }, "../../../../../a/lib/lib.esnext.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { - "original": { - "version": "-3090574810-export const World = \"hello\";", - "impliedFormat": 1 - }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-3090574810-export const World = \"hello\";", - "impliedFormat": "commonjs" + "signature": "-3090574810-export const World = \"hello\";" }, "./index.ts": { - "original": { - "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": 1 - }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "impliedFormat": "commonjs" + "signature": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -355,6 +317,6 @@ function multiply(a, b) { return a * b; } } }, "version": "FakeTSVersion", - "size": 1243 + "size": 1117 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js index 22e3de23a82f7..fc626619f1593 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly-when-the-referenced-project-uses-different-module-resolution.js @@ -138,7 +138,7 @@ a_1.X; //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -151,23 +151,19 @@ a_1.X; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-7808316224-export class A {}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 + "signature": "-8728835846-export declare class A {\n}\n" }, "version": "-7808316224-export class A {}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" } }, "root": [ @@ -182,11 +178,11 @@ a_1.X; "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 796 + "size": 760 } //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8728835846-export declare class A {\n}\n","impliedFormat":1},{"version":"-17186364832-import {A} from 'a';\nexport const b = new A();","signature":"6078874460-import { A } from 'a';\nexport declare const b: A;\n","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-17186364832-import {A} from 'a';\nexport const b = new A();","signature":"6078874460-import { A } from 'a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -205,32 +201,23 @@ a_1.X; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.d.ts": { - "original": { - "version": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 - }, "version": "-8728835846-export declare class A {\n}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" }, "./b.ts": { "original": { "version": "-17186364832-import {A} from 'a';\nexport const b = new A();", - "signature": "6078874460-import { A } from 'a';\nexport declare const b: A;\n", - "impliedFormat": 1 + "signature": "6078874460-import { A } from 'a';\nexport declare const b: A;\n" }, "version": "-17186364832-import {A} from 'a';\nexport const b = new A();", - "signature": "6078874460-import { A } from 'a';\nexport declare const b: A;\n", - "impliedFormat": "commonjs" + "signature": "6078874460-import { A } from 'a';\nexport declare const b: A;\n" } }, "root": [ @@ -250,6 +237,6 @@ a_1.X; "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 976 + "size": 910 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js index 101c8cc204027..14ea590712e27 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/builds-correctly.js @@ -144,7 +144,7 @@ a_1.X; //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -157,23 +157,19 @@ a_1.X; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-7808316224-export class A {}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 + "signature": "-8728835846-export declare class A {\n}\n" }, "version": "-7808316224-export class A {}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" } }, "root": [ @@ -188,11 +184,11 @@ a_1.X; "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 796 + "size": 760 } //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8728835846-export declare class A {\n}\n","impliedFormat":1},{"version":"-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -211,32 +207,23 @@ a_1.X; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.d.ts": { - "original": { - "version": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 - }, "version": "-8728835846-export declare class A {\n}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" }, "./b.ts": { "original": { "version": "-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n", - "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n", - "impliedFormat": 1 + "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n" }, "version": "-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n", - "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n", - "impliedFormat": "commonjs" + "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n" } }, "root": [ @@ -256,6 +243,6 @@ a_1.X; "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 988 + "size": 922 } diff --git a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js index 08dca3a4529cd..8060bf2bf6e8a 100644 --- a/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js +++ b/tests/baselines/reference/tsbuild/transitiveReferences/reports-error-about-module-not-found-with-node-resolution-with-external-module-name.js @@ -118,7 +118,7 @@ exports.A = A; //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -131,23 +131,19 @@ exports.A = A; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-7808316224-export class A {}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 + "signature": "-8728835846-export declare class A {\n}\n" }, "version": "-7808316224-export class A {}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" } }, "root": [ @@ -162,11 +158,11 @@ exports.A = A; "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 796 + "size": 760 } //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17186364832-import {A} from 'a';\nexport const b = new A();","impliedFormat":1}],"root":[2],"options":{"composite":true},"semanticDiagnosticsPerFile":[[2,[{"start":16,"length":3,"messageText":"Cannot find module 'a' or its corresponding type declarations.","category":1,"code":2307}]]],"affectedFilesPendingEmit":[2],"emitSignatures":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-17186364832-import {A} from 'a';\nexport const b = new A();"],"root":[2],"options":{"composite":true},"semanticDiagnosticsPerFile":[[2,[{"start":16,"length":3,"messageText":"Cannot find module 'a' or its corresponding type declarations.","category":1,"code":2307}]]],"affectedFilesPendingEmit":[2],"emitSignatures":[2]},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -179,22 +175,15 @@ exports.A = A; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.ts": { - "original": { - "version": "-17186364832-import {A} from 'a';\nexport const b = new A();", - "impliedFormat": 1 - }, "version": "-17186364832-import {A} from 'a';\nexport const b = new A();", - "signature": "-17186364832-import {A} from 'a';\nexport const b = new A();", - "impliedFormat": "commonjs" + "signature": "-17186364832-import {A} from 'a';\nexport const b = new A();" } }, "root": [ @@ -231,6 +220,6 @@ exports.A = A; ] }, "version": "FakeTSVersion", - "size": 952 + "size": 904 } diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js index c761cfb2d6f06..305e4f0de23a8 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file-with-outFile.js @@ -49,22 +49,6 @@ Output:: -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/a.ts: *new* {} @@ -327,7 +311,7 @@ declare module "b" { //// [/user/username/projects/outFile.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/a.ts","./myproject/b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-3260843409-export function fooBar() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"module":2,"outFile":"./outFile.js"},"outSignature":"771185302-declare module \"a\" {\n export function fooBar(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/a.ts","./myproject/b.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-3260843409-export function fooBar() { }","1045484683-export function bar() { }"],"root":[2,3],"options":{"composite":true,"declaration":true,"module":2,"outFile":"./outFile.js"},"outSignature":"771185302-declare module \"a\" {\n export function fooBar(): void;\n}\ndeclare module \"b\" {\n export function bar(): void;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -338,30 +322,9 @@ declare module "b" { "./myproject/b.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./myproject/a.ts": { - "original": { - "version": "-3260843409-export function fooBar() { }", - "impliedFormat": 1 - }, - "version": "-3260843409-export function fooBar() { }", - "impliedFormat": "commonjs" - }, - "./myproject/b.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, - "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./myproject/a.ts": "-3260843409-export function fooBar() { }", + "./myproject/b.ts": "1045484683-export function bar() { }" }, "root": [ [ @@ -383,7 +346,7 @@ declare module "b" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 954 + "size": 864 } diff --git a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js index 893f63a81d648..33df32c120eff 100644 --- a/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js +++ b/tests/baselines/reference/tsbuildWatch/configFileErrors/reports-syntax-errors-in-config-file.js @@ -46,7 +46,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":false,"impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":false,"impliedFormat":1}],"root":[2,3],"options":{"composite":true},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","signature":false,"affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":false},{"version":"1045484683-export function bar() { }","signature":false}],"root":[2,3],"options":{"composite":true},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -61,30 +61,24 @@ Output:: "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "version": "4646078106-export function foo() { }" }, "./b.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "version": "1045484683-export function bar() { }" } }, "root": [ @@ -107,26 +101,10 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 789 + "size": 735 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/a.ts: *new* {} @@ -246,7 +224,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-3260843409-export function fooBar() { }","signature":false,"impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":false,"impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","signature":false,"affectsGlobalScope":true},{"version":"-3260843409-export function fooBar() { }","signature":false},{"version":"1045484683-export function bar() { }","signature":false}],"root":[2,3],"options":{"composite":true,"declaration":true},"changeFileSet":[1,2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -261,30 +239,24 @@ Output:: "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-3260843409-export function fooBar() { }", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-3260843409-export function fooBar() { }", - "impliedFormat": "commonjs" + "version": "-3260843409-export function fooBar() { }" }, "./b.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "version": "1045484683-export function bar() { }" } }, "root": [ @@ -308,7 +280,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 812 + "size": 758 } @@ -418,7 +390,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3260843409-export function fooBar() { }","signature":"-6611919720-export declare function fooBar(): void;\n","impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3260843409-export function fooBar() { }","signature":"-6611919720-export declare function fooBar(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -432,33 +404,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-3260843409-export function fooBar() { }", - "signature": "-6611919720-export declare function fooBar(): void;\n", - "impliedFormat": 1 + "signature": "-6611919720-export declare function fooBar(): void;\n" }, "version": "-3260843409-export function fooBar() { }", - "signature": "-6611919720-export declare function fooBar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-6611919720-export declare function fooBar(): void;\n" }, "./b.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "root": [ @@ -478,7 +444,7 @@ Output:: "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 901 + "size": 847 } //// [/user/username/projects/myproject/a.js] diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index c48da97479e87..bff84008d1170 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -220,7 +220,7 @@ Output:: //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","impliedFormat":1},{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","impliedFormat":1},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","impliedFormat":1},{"version":"-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[[5,[{"start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[2,3,4,5],"emitSignatures":[2,3,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n"],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[[5,[{"start":0,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[2,3,4,5],"emitSignatures":[2,3,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -249,49 +249,27 @@ Output:: "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../animals/animal.ts": { - "original": { - "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": 1 - }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../../animals/dog.ts": { - "original": { - "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "impliedFormat": 1 - }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "impliedFormat": "commonjs" + "signature": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n" }, "../../animals/index.ts": { - "original": { - "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": 1 - }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "signature": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "../../core/utilities.ts": { - "original": { - "version": "-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "impliedFormat": 1 - }, "version": "-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "signature": "-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "impliedFormat": "commonjs" + "signature": "-22163106409-import * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n" } }, "root": [ @@ -367,29 +345,13 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 2297 + "size": 2159 } PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} /user/username/projects/demo/animals/package.json: *new* {"pollingInterval":2000} -/user/username/projects/demo/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/demo/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/demo/animals/animal.ts: *new* @@ -552,7 +514,7 @@ Output:: //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","impliedFormat":1},{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","impliedFormat":1},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","impliedFormat":1},{"version":"-11321611519-\nimport * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[[5,[{"start":1,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[2,3,4,5],"emitSignatures":[2,3,4,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/dog.ts","../../animals/index.ts","../../core/utilities.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"-11321611519-\nimport * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"fileIdsList":[[4,5],[2,3],[4]],"referencedMap":[[3,1],[4,2],[5,3]],"semanticDiagnosticsPerFile":[[5,[{"start":1,"length":32,"messageText":"'A' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]]],"affectedFilesPendingEmit":[2,3,4,5],"emitSignatures":[2,3,4,5]},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -581,52 +543,39 @@ Output:: "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../animals/animal.ts": { - "original": { - "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": 1 - }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../../animals/dog.ts": { "original": { "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": 1 + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" }, "../../animals/index.ts": { "original": { "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": 1 + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "../../core/utilities.ts": { "original": { "version": "-11321611519-\nimport * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": 1 + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" }, "version": "-11321611519-\nimport * as A from '../animals';\nexport function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" } }, "root": [ @@ -702,7 +651,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 2771 + "size": 2669 } diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js index 6a76abde12540..1ec6e7b797d2f 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js @@ -250,7 +250,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"latestChangedDtsFile":"./utilities.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"latestChangedDtsFile":"./utilities.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -263,23 +263,19 @@ export declare function lastElementOf(arr: T[]): T | undefined; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../core/utilities.ts": { "original": { "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": 1 + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" }, "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" } }, "root": [ @@ -304,7 +300,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; "latestChangedDtsFile": "./utilities.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1270 } @@ -382,7 +378,7 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","impliedFormat":1},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","impliedFormat":1},{"version":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n","impliedFormat":1},{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","impliedFormat":1}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -408,51 +404,35 @@ export declare function createDog(): Dog; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../animals/animal.ts": { - "original": { - "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": 1 - }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../../animals/index.ts": { "original": { "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": 1 + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "../core/utilities.d.ts": { - "original": { - "version": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": 1 - }, "version": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" }, "../../animals/dog.ts": { "original": { "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": 1 + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" } }, "root": [ @@ -495,7 +475,7 @@ export declare function createDog(): Dog; "latestChangedDtsFile": "./dog.d.ts" }, "version": "FakeTSVersion", - "size": 2294 + "size": 2180 } //// [/user/username/projects/demo/lib/zoo/zoo.js] @@ -516,7 +496,7 @@ export declare function createZoo(): Array; //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","impliedFormat":1},{"version":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","impliedFormat":1},{"version":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","impliedFormat":1},{"version":"13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"fileIdsList":[[4],[2,3]],"referencedMap":[[3,1],[4,2],[5,1]],"latestChangedDtsFile":"./zoo.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../animals/animal.d.ts","../animals/dog.d.ts","../animals/index.d.ts","../../zoo/zoo.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n",{"version":"13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n","signature":"10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../zoo","strict":true,"target":1},"fileIdsList":[[4],[2,3]],"referencedMap":[[3,1],[4,2],[5,1]],"latestChangedDtsFile":"./zoo.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/zoo/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -541,50 +521,31 @@ export declare function createZoo(): Array; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../animals/animal.d.ts": { - "original": { - "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": 1 - }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../animals/dog.d.ts": { - "original": { - "version": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": 1 - }, "version": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" }, "../animals/index.d.ts": { - "original": { - "version": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": 1 - }, "version": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "../../zoo/zoo.ts": { "original": { "version": "13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n", - "signature": "10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n", - "impliedFormat": 1 + "signature": "10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n" }, "version": "13034796418-import { Dog, createDog } from '../animals/index';\n\nexport function createZoo(): Array {\n return [\n createDog()\n ];\n}\n", - "signature": "10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n", - "impliedFormat": "commonjs" + "signature": "10305066551-import { Dog } from '../animals/index';\nexport declare function createZoo(): Array;\n" } }, "root": [ @@ -621,7 +582,7 @@ export declare function createZoo(): Array; "latestChangedDtsFile": "./zoo.d.ts" }, "version": "FakeTSVersion", - "size": 1848 + "size": 1722 } diff --git a/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js b/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js index 025efd0a3faad..c5b58778ec072 100644 --- a/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js +++ b/tests/baselines/reference/tsbuildWatch/extends/configDir-template.js @@ -95,11 +95,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/myproject/tsconfig.json'... -File '/home/src/projects/myproject/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. @@ -109,18 +104,6 @@ Trying substitution '/home/src/projects/myproject/types/*', candidate module loc Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== -File '/home/src/projects/myproject/types/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/src/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. @@ -142,17 +125,6 @@ File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/index.d.ts', result '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== Module name 'other/sometype2' was successfully resolved to '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== -File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/root2/other/package.json' does not exist. -File '/home/src/projects/myproject/root2/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' types/sometype.ts @@ -172,18 +144,7 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 {"exclu Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Wild card directory /home/src/projects/myproject/tsconfig.json ExcludeWatcher:: Added:: WatchInfo: /home/src/projects/myproject/main.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file /home/src/projects/myproject/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src/secondary.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file /home/src/projects/myproject/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json -FileWatcher:: Added:: WatchInfo: /package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/types/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/other/sometype2/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/other/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json -FileWatcher:: Added:: WatchInfo: /a/lib/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json -FileWatcher:: Added:: WatchInfo: /a/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} package.json file /home/src/projects/myproject/tsconfig.json //// [/home/src/projects/myproject/outDir/types/sometype.js] @@ -223,30 +184,8 @@ export declare const z = 10; PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/home/package.json: *new* - {"pollingInterval":2000} -/home/src/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/root2/other/package.json: *new* - {"pollingInterval":2000} /home/src/projects/myproject/root2/other/sometype2/package.json: *new* {"pollingInterval":2000} -/home/src/projects/myproject/root2/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/types/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} FsWatches:: /home/src/projects/configs/first/tsconfig.json: *new* @@ -354,11 +293,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/myproject/tsconfig.json'... -File '/home/src/projects/myproject/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. @@ -368,18 +302,6 @@ Trying substitution '/home/src/projects/myproject/types/*', candidate module loc Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== -File '/home/src/projects/myproject/types/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/src/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. @@ -400,17 +322,6 @@ File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/index.d.ts', result '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== Module name 'other/sometype2' was successfully resolved to '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== -File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/root2/other/package.json' does not exist. -File '/home/src/projects/myproject/root2/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. [HH:MM:SS AM] Updating unchanged output timestamps of project '/home/src/projects/myproject/tsconfig.json'... ../../../../a/lib/lib.d.ts diff --git a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js index 50d53e3670129..2f7656bb85072 100644 --- a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config-with-redirection.js @@ -187,21 +187,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project1/tsconfig.json'... -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -217,13 +202,6 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist. -File '/home/src/projects/node_modules/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -239,13 +217,6 @@ File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -261,34 +232,10 @@ File '/home/src/projects/node_modules/@typescript/lib-es5/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/projects/project1/typeroot1/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. File '/home/src/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== @@ -307,13 +254,6 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-webworker/index.d.ts Library referenced via 'webworker' from file 'project1/file2.ts' node_modules/@typescript/lib-scripthost/index.d.ts @@ -340,16 +280,6 @@ project1/typeroot1/sometype/index.d.ts [HH:MM:SS AM] Building project '/home/src/projects/project2/tsconfig.json'... -File '/home/src/projects/project2/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project2/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project2/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -358,13 +288,6 @@ Directory '/home/src/projects/project2/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-es5' Resolution for module '@typescript/lib-es5' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project2/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -373,13 +296,6 @@ Directory '/home/src/projects/project2/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-es5/index.d.ts Library 'lib.es5.d.ts' specified in compilerOptions node_modules/@typescript/lib-dom/index.d.ts @@ -392,16 +308,6 @@ project2/utils.d.ts [HH:MM:SS AM] Building project '/home/src/projects/project3/tsconfig.json'... -File '/home/src/projects/project3/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project3/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project3/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -410,13 +316,6 @@ Directory '/home/src/projects/project3/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-es5' Resolution for module '@typescript/lib-es5' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project3/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -425,13 +324,6 @@ Directory '/home/src/projects/project3/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-es5/index.d.ts Library 'lib.es5.d.ts' specified in compilerOptions node_modules/@typescript/lib-dom/index.d.ts @@ -444,16 +336,6 @@ project3/utils.d.ts [HH:MM:SS AM] Building project '/home/src/projects/project4/tsconfig.json'... -File '/home/src/projects/project4/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project4/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-esnext' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -469,13 +351,6 @@ File '/home/src/projects/node_modules/@typescript/lib-esnext/index.tsx' does not File '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts'. ======== Module name '@typescript/lib-esnext' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-esnext/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-esnext/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -484,13 +359,6 @@ Directory '/home/src/projects/project4/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -499,13 +367,6 @@ Directory '/home/src/projects/project4/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-webworker' Resolution for module '@typescript/lib-webworker' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-esnext/index.d.ts Library 'lib.esnext.d.ts' specified in compilerOptions node_modules/@typescript/lib-dom/index.d.ts @@ -527,37 +388,26 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/file2.ts 250 undefi FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/index.ts 250 undefined Source file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/utils.d.ts 250 undefined Source file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/index.d.ts 250 undefined Source file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-scripthost/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-es5/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project2/tsconfig.json 2000 undefined Config file /home/src/projects/project2/tsconfig.json DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project2 1 undefined Wild card directory /home/src/projects/project2/tsconfig.json Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project2 1 undefined Wild card directory /home/src/projects/project2/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project2/index.ts 250 undefined Source file /home/src/projects/project2/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project2/utils.d.ts 250 undefined Source file /home/src/projects/project2/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/project2/package.json 2000 undefined package.json file /home/src/projects/project2/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project3/tsconfig.json 2000 undefined Config file /home/src/projects/project3/tsconfig.json DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project3 1 undefined Wild card directory /home/src/projects/project3/tsconfig.json Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project3 1 undefined Wild card directory /home/src/projects/project3/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project3/index.ts 250 undefined Source file /home/src/projects/project3/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project3/utils.d.ts 250 undefined Source file /home/src/projects/project3/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/project3/package.json 2000 undefined package.json file /home/src/projects/project3/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project4/tsconfig.json 2000 undefined Config file /home/src/projects/project4/tsconfig.json DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project4 1 undefined Wild card directory /home/src/projects/project4/tsconfig.json Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project4 1 undefined Wild card directory /home/src/projects/project4/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project4/index.ts 250 undefined Source file /home/src/projects/project4/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project4/utils.d.ts 250 undefined Source file /home/src/projects/project4/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/project4/package.json 2000 undefined package.json file /home/src/projects/project4/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-esnext/package.json 2000 undefined package.json file /home/src/projects/project4/tsconfig.json @@ -593,7 +443,7 @@ export declare const x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -614,103 +464,74 @@ export declare const x = "type1"; "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": 1 + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -735,7 +556,7 @@ export declare const x = "type1"; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1908 + "size": 1692 } //// [/home/src/projects/project2/index.js] @@ -750,7 +571,7 @@ export declare const y = 10; //// [/home/src/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11999455899-export const y = 10","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-11999455899-export const y = 10","signature":"-7152472870-export declare const y = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -765,43 +586,32 @@ export declare const y = 10; "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-11999455899-export const y = 10", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-11999455899-export const y = 10", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -820,7 +630,7 @@ export declare const y = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1055 + "size": 971 } //// [/home/src/projects/project3/index.js] @@ -835,7 +645,7 @@ export declare const z = 10; //// [/home/src/projects/project3/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project3/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -850,43 +660,32 @@ export declare const z = 10; "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": 1 + "signature": "-7483702853-export declare const z = 10;\n" }, "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7483702853-export declare const z = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -905,7 +704,7 @@ export declare const z = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1055 + "size": 971 } //// [/home/src/projects/project4/index.js] @@ -920,7 +719,7 @@ export declare const z = 10; //// [/home/src/projects/project4/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../node_modules/@typescript/lib-esnext/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[4,5],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../node_modules/@typescript/lib-esnext/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[4,5],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project4/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -936,54 +735,41 @@ export declare const z = 10; "../node_modules/@typescript/lib-esnext/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": 1 + "signature": "-7483702853-export declare const z = 10;\n" }, "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7483702853-export declare const z = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -1002,15 +788,11 @@ export declare const z = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1216 + "size": 1114 } PolledWatches:: -/home/package.json: *new* - {"pollingInterval":2000} -/home/src/package.json: *new* - {"pollingInterval":2000} /home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* {"pollingInterval":2000} /home/src/projects/node_modules/@typescript/lib-es5/package.json: *new* @@ -1021,26 +803,8 @@ PolledWatches:: {"pollingInterval":2000} /home/src/projects/node_modules/@typescript/lib-webworker/package.json: *new* {"pollingInterval":2000} -/home/src/projects/node_modules/@typescript/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/node_modules/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project1/typeroot1/sometype/package.json: *new* {"pollingInterval":2000} -/home/src/projects/project2/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project3/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project4/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} FsWatches:: /home/src/projects/project1/core.d.ts: *new* diff --git a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js index 2b259a97be2bb..fd51b138bb861 100644 --- a/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsbuildWatch/libraryResolution/with-config.js @@ -148,21 +148,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/projects/project1/tsconfig.json'... -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -189,10 +174,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-webworker' was not resolved. ======== -File '/home/src/lib/package.json' does not exist. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -219,10 +200,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-scripthost' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -249,31 +226,10 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-es5' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/projects/project1/typeroot1/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. File '/home/src/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== @@ -303,10 +259,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' Library 'lib.es5.d.ts' specified in compilerOptions @@ -333,16 +285,6 @@ project1/typeroot1/sometype/index.d.ts [HH:MM:SS AM] Building project '/home/src/projects/project2/tsconfig.json'... -File '/home/src/projects/project2/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project2/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project2/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -351,10 +293,6 @@ Directory '/home/src/projects/project2/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-es5' Resolution for module '@typescript/lib-es5' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-es5' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project2/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -363,10 +301,6 @@ Directory '/home/src/projects/project2/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.es5.d.ts Library 'lib.es5.d.ts' specified in compilerOptions ../lib/lib.dom.d.ts @@ -379,16 +313,6 @@ project2/utils.d.ts [HH:MM:SS AM] Building project '/home/src/projects/project3/tsconfig.json'... -File '/home/src/projects/project3/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project3/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project3/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -397,10 +321,6 @@ Directory '/home/src/projects/project3/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-es5' Resolution for module '@typescript/lib-es5' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-es5' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project3/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -409,10 +329,6 @@ Directory '/home/src/projects/project3/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.es5.d.ts Library 'lib.es5.d.ts' specified in compilerOptions ../lib/lib.dom.d.ts @@ -425,16 +341,6 @@ project3/utils.d.ts [HH:MM:SS AM] Building project '/home/src/projects/project4/tsconfig.json'... -File '/home/src/projects/project4/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project4/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-esnext' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -461,10 +367,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-esnext' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -473,10 +375,6 @@ Directory '/home/src/projects/project4/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-dom' Resolution for module '@typescript/lib-dom' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project4/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -485,10 +383,6 @@ Directory '/home/src/projects/project4/node_modules' does not exist, skipping al Scoped package detected, looking in 'typescript__lib-webworker' Resolution for module '@typescript/lib-webworker' was found in cache from location '/home/src/projects'. ======== Module name '@typescript/lib-webworker' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.esnext.d.ts Library 'lib.esnext.d.ts' specified in compilerOptions ../lib/lib.dom.d.ts @@ -510,36 +404,26 @@ FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/file2.ts 250 undefi FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/index.ts 250 undefined Source file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/utils.d.ts 250 undefined Source file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/index.d.ts 250 undefined Source file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/lib/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-scripthost/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-es5/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/package.json 2000 undefined package.json file /home/src/projects/project1/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project2/tsconfig.json 2000 undefined Config file /home/src/projects/project2/tsconfig.json DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project2 1 undefined Wild card directory /home/src/projects/project2/tsconfig.json Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project2 1 undefined Wild card directory /home/src/projects/project2/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project2/index.ts 250 undefined Source file /home/src/projects/project2/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project2/utils.d.ts 250 undefined Source file /home/src/projects/project2/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/project2/package.json 2000 undefined package.json file /home/src/projects/project2/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project3/tsconfig.json 2000 undefined Config file /home/src/projects/project3/tsconfig.json DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project3 1 undefined Wild card directory /home/src/projects/project3/tsconfig.json Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project3 1 undefined Wild card directory /home/src/projects/project3/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project3/index.ts 250 undefined Source file /home/src/projects/project3/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project3/utils.d.ts 250 undefined Source file /home/src/projects/project3/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/project3/package.json 2000 undefined package.json file /home/src/projects/project3/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project4/tsconfig.json 2000 undefined Config file /home/src/projects/project4/tsconfig.json DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project4 1 undefined Wild card directory /home/src/projects/project4/tsconfig.json Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project4 1 undefined Wild card directory /home/src/projects/project4/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project4/index.ts 250 undefined Source file /home/src/projects/project4/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/project4/utils.d.ts 250 undefined Source file /home/src/projects/project4/tsconfig.json -FileWatcher:: Added:: WatchInfo: /home/src/projects/project4/package.json 2000 undefined package.json file /home/src/projects/project4/tsconfig.json FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-esnext/package.json 2000 undefined package.json file /home/src/projects/project4/tsconfig.json @@ -575,7 +459,7 @@ export declare const x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -596,103 +480,74 @@ export declare const x = "type1"; "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": 1 + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -717,7 +572,7 @@ export declare const x = "type1"; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1812 + "size": 1596 } //// [/home/src/projects/project2/index.js] @@ -732,7 +587,7 @@ export declare const y = 10; //// [/home/src/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11999455899-export const y = 10","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-11999455899-export const y = 10","signature":"-7152472870-export declare const y = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -747,43 +602,32 @@ export declare const y = 10; "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-11999455899-export const y = 10", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-11999455899-export const y = 10", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -802,7 +646,7 @@ export declare const y = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1007 + "size": 923 } //// [/home/src/projects/project3/index.js] @@ -817,7 +661,7 @@ export declare const z = 10; //// [/home/src/projects/project3/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[3,4],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project3/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -832,43 +676,32 @@ export declare const z = 10; "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": 1 + "signature": "-7483702853-export declare const z = 10;\n" }, "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7483702853-export declare const z = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -887,7 +720,7 @@ export declare const z = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1007 + "size": 923 } //// [/home/src/projects/project4/index.js] @@ -902,7 +735,7 @@ export declare const z = 10; //// [/home/src/projects/project4/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.esnext.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[4,5],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.esnext.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-11960320506-export const z = 10","signature":"-7483702853-export declare const z = 10;\n"},"-13729955264-export const y = 10;"],"root":[4,5],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project4/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -918,54 +751,41 @@ export declare const z = 10; "../../lib/lib.esnext.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": 1 + "signature": "-7483702853-export declare const z = 10;\n" }, "version": "-11960320506-export const z = 10", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7483702853-export declare const z = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -984,17 +804,11 @@ export declare const z = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1144 + "size": 1042 } PolledWatches:: -/home/package.json: *new* - {"pollingInterval":2000} -/home/src/lib/package.json: *new* - {"pollingInterval":2000} -/home/src/package.json: *new* - {"pollingInterval":2000} /home/src/projects/node_modules/@typescript/lib-dom/package.json: *new* {"pollingInterval":2000} /home/src/projects/node_modules/@typescript/lib-es5/package.json: *new* @@ -1005,22 +819,8 @@ PolledWatches:: {"pollingInterval":2000} /home/src/projects/node_modules/@typescript/lib-webworker/package.json: *new* {"pollingInterval":2000} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project1/typeroot1/sometype/package.json: *new* {"pollingInterval":2000} -/home/src/projects/project2/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project3/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project4/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} FsWatches:: /home/src/projects/project1/core.d.ts: *new* diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index 48f1cfa11bacc..8f11cde26e492 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -76,23 +76,16 @@ Output:: [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... -Found 'package.json' at '/user/username/projects/myproject/packages/pkg2/package.json'. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const.js', target file types: TypeScript, Declaration. File name '/user/username/projects/myproject/packages/pkg2/const.js' has a '.js' extension - stripping it. File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. [HH:MM:SS AM] Project 'packages/pkg1/tsconfig.json' is out of date because output file 'packages/pkg1/build/index.js' does not exist [HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... -Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -114,8 +107,6 @@ File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exis 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== -File '/user/username/projects/myproject/packages/pkg2/build/package.json' does not exist. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. @@ -125,11 +116,6 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not e File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exists - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.ts'. ======== -File '/user/username/projects/myproject/packages/pkg2/build/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -162,7 +148,7 @@ export type TheStr = string; //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts","../other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n","impliedFormat":1},{"version":"-11225381282-export type { TheNum } from './const.js';","signature":"-9660329432-export type { TheNum } from './const.js';\n","impliedFormat":1},{"version":"-4609154030-export type TheStr = string;","signature":"-6073194916-export type TheStr = string;\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../const.ts","../index.ts","../other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-11202312776-export type TheNum = 42;","signature":"-13194036030-export type TheNum = 42;\n"},{"version":"-11225381282-export type { TheNum } from './const.js';","signature":"-9660329432-export type { TheNum } from './const.js';\n"},{"version":"-4609154030-export type TheStr = string;","signature":"-6073194916-export type TheStr = string;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,43 +168,35 @@ export type TheStr = string; "../../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../const.ts": { "original": { "version": "-11202312776-export type TheNum = 42;", - "signature": "-13194036030-export type TheNum = 42;\n", - "impliedFormat": 1 + "signature": "-13194036030-export type TheNum = 42;\n" }, "version": "-11202312776-export type TheNum = 42;", - "signature": "-13194036030-export type TheNum = 42;\n", - "impliedFormat": "commonjs" + "signature": "-13194036030-export type TheNum = 42;\n" }, "../index.ts": { "original": { "version": "-11225381282-export type { TheNum } from './const.js';", - "signature": "-9660329432-export type { TheNum } from './const.js';\n", - "impliedFormat": 1 + "signature": "-9660329432-export type { TheNum } from './const.js';\n" }, "version": "-11225381282-export type { TheNum } from './const.js';", - "signature": "-9660329432-export type { TheNum } from './const.js';\n", - "impliedFormat": "commonjs" + "signature": "-9660329432-export type { TheNum } from './const.js';\n" }, "../other.ts": { "original": { "version": "-4609154030-export type TheStr = string;", - "signature": "-6073194916-export type TheStr = string;\n", - "impliedFormat": 1 + "signature": "-6073194916-export type TheStr = string;\n" }, "version": "-4609154030-export type TheStr = string;", - "signature": "-6073194916-export type TheStr = string;\n", - "impliedFormat": "commonjs" + "signature": "-6073194916-export type TheStr = string;\n" } }, "root": [ @@ -246,7 +224,7 @@ export type TheStr = string; "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 1115 + "size": 1043 } //// [/user/username/projects/myproject/packages/pkg1/build/index.js] @@ -257,21 +235,9 @@ exports.theNum = 42; -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/pkg2/build/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/packages/pkg1/index.ts: *new* {} -/user/username/projects/myproject/packages/pkg1/package.json: *new* - {} /user/username/projects/myproject/packages/pkg1/tsconfig.json: *new* {} /user/username/projects/myproject/packages/pkg2/const.ts: *new* @@ -365,66 +331,75 @@ Input:: Timeout callback:: count: 1 -2: timerToBuildInvalidatedProject *new* +1: timerToBuildInvalidatedProject *new* Before running Timeout callback:: count: 1 -2: timerToBuildInvalidatedProject +1: timerToBuildInvalidatedProject Host is moving to new time -After running Timeout callback:: count: 1 +After running Timeout callback:: count: 0 Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'packages/pkg2/tsconfig.json' is out of date because output 'packages/pkg2/build/tsconfig.tsbuildinfo' is older than input 'packages/pkg2/package.json' +[HH:MM:SS AM] Project 'packages/pkg1/tsconfig.json' is out of date because output 'packages/pkg1/build/index.js' is older than input 'packages/pkg2/package.json' -[HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... +[HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... -Found 'package.json' at '/user/username/projects/myproject/packages/pkg2/package.json'. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. -======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/index.ts'. ======== +======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const.js', target file types: TypeScript, Declaration. -File name '/user/username/projects/myproject/packages/pkg2/const.js' has a '.js' extension - stripping it. -File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result. -======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. -[HH:MM:SS AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... +Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. +Directory '/user/username/projects/myproject/packages/pkg1/node_modules' does not exist, skipping all lookups in it. +Directory '/user/username/projects/myproject/packages/node_modules' does not exist, skipping all lookups in it. +Found 'package.json' at '/user/username/projects/myproject/node_modules/pkg2/package.json'. +File '/user/username/projects/myproject/node_modules/pkg2.ts' does not exist. +File '/user/username/projects/myproject/node_modules/pkg2.tsx' does not exist. +File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. +'package.json' does not have a 'typesVersions' field. +'package.json' does not have a 'typings' field. +'package.json' does not have a 'types' field. +'package.json' has 'main' field 'build/other.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/other.js'. +File name '/user/username/projects/myproject/node_modules/pkg2/build/other.js' has a '.js' extension - stripping it. +File '/user/username/projects/myproject/node_modules/pkg2/build/other.ts' does not exist. +File '/user/username/projects/myproject/node_modules/pkg2/build/other.tsx' does not exist. +File '/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts' exists - use it as a name resolution result. +'package.json' does not have a 'peerDependencies' field. +Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/other.d.ts'. +======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/other.d.ts' with Package ID 'pkg2/build/other.d.ts@1.0.0'. ======== +packages/pkg1/index.ts:1:15 - error TS2305: Module '"pkg2"' has no exported member 'TheNum'. + +1 import type { TheNum } from 'pkg2' +   ~~~~~~ + +[HH:MM:SS AM] Found 1 error. Watching for file changes. -//// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] file changed its modified time - -Timeout callback:: count: 1 -3: timerToBuildInvalidatedProject *new* Program root files: [ - "/user/username/projects/myproject/packages/pkg2/const.ts", - "/user/username/projects/myproject/packages/pkg2/index.ts", - "/user/username/projects/myproject/packages/pkg2/other.ts" + "/user/username/projects/myproject/packages/pkg1/index.ts" ] Program options: { - "composite": true, - "outDir": "/user/username/projects/myproject/packages/pkg2/build", - "baseUrl": "/user/username/projects/myproject/packages/pkg2", + "outDir": "/user/username/projects/myproject/packages/pkg1/build", "watch": true, "traceResolution": true, - "configFilePath": "/user/username/projects/myproject/packages/pkg2/tsconfig.json" + "configFilePath": "/user/username/projects/myproject/packages/pkg1/tsconfig.json" } Program structureReused: Not Program files:: /a/lib/lib.d.ts -/user/username/projects/myproject/packages/pkg2/const.ts -/user/username/projects/myproject/packages/pkg2/index.ts -/user/username/projects/myproject/packages/pkg2/other.ts +/user/username/projects/myproject/packages/pkg2/build/other.d.ts +/user/username/projects/myproject/packages/pkg1/index.ts Semantic diagnostics in builder refreshed for:: +/user/username/projects/myproject/packages/pkg2/build/other.d.ts +/user/username/projects/myproject/packages/pkg1/index.ts -No shapes updated in the builder:: +Shape signatures in builder refreshed for:: +/user/username/projects/myproject/packages/pkg2/build/other.d.ts (used version) +/user/username/projects/myproject/packages/pkg1/index.ts (computed .d.ts) exitCode:: ExitStatus.undefined @@ -440,66 +415,82 @@ Input:: Timeout callback:: count: 1 -3: timerToBuildInvalidatedProject *deleted* -5: timerToBuildInvalidatedProject *new* +2: timerToBuildInvalidatedProject *new* Before running Timeout callback:: count: 1 -5: timerToBuildInvalidatedProject +2: timerToBuildInvalidatedProject Host is moving to new time -After running Timeout callback:: count: 1 +After running Timeout callback:: count: 0 Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -[HH:MM:SS AM] Project 'packages/pkg2/tsconfig.json' is out of date because output 'packages/pkg2/build/tsconfig.tsbuildinfo' is older than input 'packages/pkg2/package.json' +[HH:MM:SS AM] Project 'packages/pkg1/tsconfig.json' is out of date because output 'packages/pkg1/build/index.js' is older than input 'packages/pkg2/package.json' -[HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... +[HH:MM:SS AM] Building project '/user/username/projects/myproject/packages/pkg1/tsconfig.json'... -Found 'package.json' at '/user/username/projects/myproject/packages/pkg2/package.json'. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. -======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/index.ts'. ======== +======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. -Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/const.js', target file types: TypeScript, Declaration. -File name '/user/username/projects/myproject/packages/pkg2/const.js' has a '.js' extension - stripping it. -File '/user/username/projects/myproject/packages/pkg2/const.ts' exists - use it as a name resolution result. -======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/const.ts'. ======== -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. -[HH:MM:SS AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... +Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. +Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. +Directory '/user/username/projects/myproject/packages/pkg1/node_modules' does not exist, skipping all lookups in it. +Directory '/user/username/projects/myproject/packages/node_modules' does not exist, skipping all lookups in it. +Found 'package.json' at '/user/username/projects/myproject/node_modules/pkg2/package.json'. +File '/user/username/projects/myproject/node_modules/pkg2.ts' does not exist. +File '/user/username/projects/myproject/node_modules/pkg2.tsx' does not exist. +File '/user/username/projects/myproject/node_modules/pkg2.d.ts' does not exist. +'package.json' does not have a 'typesVersions' field. +'package.json' does not have a 'typings' field. +'package.json' does not have a 'types' field. +'package.json' has 'main' field 'build/index.js' that references '/user/username/projects/myproject/node_modules/pkg2/build/index.js'. +File name '/user/username/projects/myproject/node_modules/pkg2/build/index.js' has a '.js' extension - stripping it. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.ts' does not exist. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.tsx' does not exist. +File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exists - use it as a name resolution result. +'package.json' does not have a 'peerDependencies' field. +Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. +======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== +======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== +Using compiler options of project reference redirect '/user/username/projects/myproject/packages/pkg2/tsconfig.json'. +Module resolution kind is not specified, using 'Node10'. +Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, Declaration. +File name '/user/username/projects/myproject/packages/pkg2/build/const.js' has a '.js' extension - stripping it. +File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not exist. +File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. +File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exists - use it as a name resolution result. +======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.ts'. ======== +[HH:MM:SS AM] Found 0 errors. Watching for file changes. -//// [/user/username/projects/myproject/packages/pkg2/build/tsconfig.tsbuildinfo] file changed its modified time - -Timeout callback:: count: 1 -6: timerToBuildInvalidatedProject *new* +//// [/user/username/projects/myproject/packages/pkg1/build/index.js] file written with same contents Program root files: [ - "/user/username/projects/myproject/packages/pkg2/const.ts", - "/user/username/projects/myproject/packages/pkg2/index.ts", - "/user/username/projects/myproject/packages/pkg2/other.ts" + "/user/username/projects/myproject/packages/pkg1/index.ts" ] Program options: { - "composite": true, - "outDir": "/user/username/projects/myproject/packages/pkg2/build", - "baseUrl": "/user/username/projects/myproject/packages/pkg2", + "outDir": "/user/username/projects/myproject/packages/pkg1/build", "watch": true, "traceResolution": true, - "configFilePath": "/user/username/projects/myproject/packages/pkg2/tsconfig.json" + "configFilePath": "/user/username/projects/myproject/packages/pkg1/tsconfig.json" } Program structureReused: Not Program files:: /a/lib/lib.d.ts -/user/username/projects/myproject/packages/pkg2/const.ts -/user/username/projects/myproject/packages/pkg2/index.ts -/user/username/projects/myproject/packages/pkg2/other.ts +/user/username/projects/myproject/packages/pkg2/build/const.d.ts +/user/username/projects/myproject/packages/pkg2/build/index.d.ts +/user/username/projects/myproject/packages/pkg1/index.ts Semantic diagnostics in builder refreshed for:: +/user/username/projects/myproject/packages/pkg2/build/const.d.ts +/user/username/projects/myproject/packages/pkg2/build/index.d.ts +/user/username/projects/myproject/packages/pkg1/index.ts -No shapes updated in the builder:: +Shape signatures in builder refreshed for:: +/user/username/projects/myproject/packages/pkg2/build/const.d.ts (used version) +/user/username/projects/myproject/packages/pkg2/build/index.d.ts (used version) +/user/username/projects/myproject/packages/pkg1/index.ts (computed .d.ts) exitCode:: ExitStatus.undefined diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js index 8ee289dae9ded..8061146bd05b9 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolutionCache/handles-the-cache-correctly-when-two-projects-use-different-module-resolution-settings.js @@ -105,7 +105,7 @@ export {}; //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-12042713060-export const bar = 10;","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-12737086933-export const foo = 10;",{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;","-12042713060-export const bar = 10;"],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -126,50 +126,31 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/file/index.d.ts": { - "original": { - "version": "-12737086933-export const foo = 10;", - "impliedFormat": 1 - }, "version": "-12737086933-export const foo = 10;", - "signature": "-12737086933-export const foo = 10;", - "impliedFormat": "commonjs" + "signature": "-12737086933-export const foo = 10;" }, "./index.ts": { "original": { "version": "-4708082513-import { foo } from \"file\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-4708082513-import { foo } from \"file\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../node_modules/@types/foo/index.d.ts": { - "original": { - "version": "-12737086933-export const foo = 10;", - "impliedFormat": 1 - }, "version": "-12737086933-export const foo = 10;", - "signature": "-12737086933-export const foo = 10;", - "impliedFormat": "commonjs" + "signature": "-12737086933-export const foo = 10;" }, "../node_modules/@types/bar/index.d.ts": { - "original": { - "version": "-12042713060-export const bar = 10;", - "impliedFormat": 1 - }, "version": "-12042713060-export const bar = 10;", - "signature": "-12042713060-export const bar = 10;", - "impliedFormat": "commonjs" + "signature": "-12042713060-export const bar = 10;" } }, "root": [ @@ -189,7 +170,7 @@ export {}; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1081 + "size": 955 } //// [/user/username/projects/myproject/project2/index.js] @@ -202,7 +183,7 @@ export {}; //// [/user/username/projects/myproject/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./file.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-12737086933-export const foo = 10;","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./file.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-12737086933-export const foo = 10;",{"version":"-4708082513-import { foo } from \"file\";","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;"],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -222,41 +203,27 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.d.ts": { - "original": { - "version": "-12737086933-export const foo = 10;", - "impliedFormat": 1 - }, "version": "-12737086933-export const foo = 10;", - "signature": "-12737086933-export const foo = 10;", - "impliedFormat": "commonjs" + "signature": "-12737086933-export const foo = 10;" }, "./index.ts": { "original": { "version": "-4708082513-import { foo } from \"file\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-4708082513-import { foo } from \"file\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../node_modules/@types/foo/index.d.ts": { - "original": { - "version": "-12737086933-export const foo = 10;", - "impliedFormat": 1 - }, "version": "-12737086933-export const foo = 10;", - "signature": "-12737086933-export const foo = 10;", - "impliedFormat": "commonjs" + "signature": "-12737086933-export const foo = 10;" } }, "root": [ @@ -276,41 +243,17 @@ export {}; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 954 + "size": 858 } PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types/bar/package.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types/foo/package.json: *new* {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/project1/node_modules/file/package.json: *new* {"pollingInterval":2000} -/user/username/projects/myproject/project1/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/project1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/project2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/project1/index.ts: *new* @@ -425,7 +368,7 @@ var bar = 10; //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-7561100220-import { foo } from \"file\";const bar = 10;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-12737086933-export const foo = 10;","impliedFormat":1},{"version":"-12042713060-export const bar = 10;","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./node_modules/file/index.d.ts","./index.ts","../node_modules/@types/foo/index.d.ts","../node_modules/@types/bar/index.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-12737086933-export const foo = 10;",{"version":"-7561100220-import { foo } from \"file\";const bar = 10;","signature":"-3531856636-export {};\n"},"-12737086933-export const foo = 10;","-12042713060-export const bar = 10;"],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -446,50 +389,31 @@ var bar = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/file/index.d.ts": { - "original": { - "version": "-12737086933-export const foo = 10;", - "impliedFormat": 1 - }, "version": "-12737086933-export const foo = 10;", - "signature": "-12737086933-export const foo = 10;", - "impliedFormat": "commonjs" + "signature": "-12737086933-export const foo = 10;" }, "./index.ts": { "original": { "version": "-7561100220-import { foo } from \"file\";const bar = 10;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-7561100220-import { foo } from \"file\";const bar = 10;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../node_modules/@types/foo/index.d.ts": { - "original": { - "version": "-12737086933-export const foo = 10;", - "impliedFormat": 1 - }, "version": "-12737086933-export const foo = 10;", - "signature": "-12737086933-export const foo = 10;", - "impliedFormat": "commonjs" + "signature": "-12737086933-export const foo = 10;" }, "../node_modules/@types/bar/index.d.ts": { - "original": { - "version": "-12042713060-export const bar = 10;", - "impliedFormat": 1 - }, "version": "-12042713060-export const bar = 10;", - "signature": "-12042713060-export const bar = 10;", - "impliedFormat": "commonjs" + "signature": "-12042713060-export const bar = 10;" } }, "root": [ @@ -509,7 +433,7 @@ var bar = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1096 + "size": 970 } diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index 4a7396149e27d..786cadcec706e 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -47,7 +47,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.js","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"5381-","impliedFormat":1},{"version":"5381-","impliedFormat":1}],"root":[2,3],"options":{"allowJs":true},"affectedFilesPendingEmit":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.js","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"5381-","5381-"],"root":[2,3],"options":{"allowJs":true},"affectedFilesPendingEmit":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -61,31 +61,19 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.js": { - "original": { - "version": "5381-", - "impliedFormat": 1 - }, "version": "5381-", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./b.ts": { - "original": { - "version": "5381-", - "impliedFormat": 1 - }, "version": "5381-", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" } }, "root": [ @@ -113,26 +101,10 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 760 + "size": 682 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/a.js: *new* {} @@ -229,7 +201,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.js","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","signature":"-3042032780-declare const x: 10;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"5381-","impliedFormat":1}],"root":[2,3],"options":{"allowJs":true},"affectedFilesPendingEmit":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.js","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-3042032780-declare const x: 10;\n","affectsGlobalScope":true},"5381-"],"root":[2,3],"options":{"allowJs":true},"affectedFilesPendingEmit":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -243,34 +215,25 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.js": { "original": { "version": "5029505981-const x = 10;", "signature": "-3042032780-declare const x: 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "-3042032780-declare const x: 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.ts": { - "original": { - "version": "5381-", - "impliedFormat": 1 - }, "version": "5381-", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" } }, "root": [ @@ -298,7 +261,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 854 + "size": 788 } diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-outFile-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-outFile-with-incremental.js index 2148fb872126b..5fc1d9fa47b35 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-outFile-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-outFile-with-incremental.js @@ -48,22 +48,6 @@ Output:: -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/a.js: *new* {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-outFile.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-outFile.js index 7edbabe019e3f..71408f2a5ecca 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-outFile.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-outFile.js @@ -48,22 +48,6 @@ Output:: -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/a.js: *new* {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js index 1b2089c33a075..01569af3e5fe9 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js @@ -47,22 +47,6 @@ Output:: -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/a.js: *new* {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-declaration-with-incremental.js index 7d5df8d8fbb7c..710d8500d669a 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-declaration-with-incremental.js @@ -67,28 +67,6 @@ Output:: -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -251,7 +229,7 @@ declare module "src/other" { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -263,38 +241,10 @@ declare module "src/other" { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": 1 - }, - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -317,7 +267,7 @@ declare module "src/other" { } }, "version": "FakeTSVersion", - "size": 1059 + "size": 939 } @@ -517,7 +467,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.d.ts] file written with same contents //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -529,38 +479,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": 1 - }, - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -583,7 +505,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1050 + "size": 930 } diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-declaration.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-declaration.js index b6e7c28304e82..d3b753cf13a29 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-declaration.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-declaration.js @@ -66,28 +66,6 @@ Output:: -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-incremental.js index 9144875945f7a..6b7502cf3e4fd 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile-with-incremental.js @@ -66,28 +66,6 @@ Output:: -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -236,7 +214,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -248,38 +226,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": 1 - }, - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -301,7 +251,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1040 + "size": 920 } @@ -497,7 +447,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -509,38 +459,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": 1 - }, - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -562,7 +484,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1031 + "size": 911 } diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile.js index e5eaa30c93261..b543c3a1d3bf3 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-outFile.js @@ -65,28 +65,6 @@ Output:: -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-declaration-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-declaration-with-incremental.js index 2388b0939c527..16edf9ba41cbb 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-declaration-with-incremental.js @@ -66,7 +66,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","signature":false,"impliedFormat":1},{"version":"-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","signature":false,"impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":false,"impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"changeFileSet":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-5014788164-export interface A {\n name: string;\n}\n","signature":false},{"version":"-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","signature":false},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":false}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"changeFileSet":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -87,39 +87,31 @@ Output:: "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { "original": { "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "version": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "version": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -153,32 +145,10 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1171 + "size": 1099 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -308,7 +278,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -328,42 +298,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -391,7 +350,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1150 + "size": 1066 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -497,7 +456,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -517,42 +476,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -600,7 +548,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1318 + "size": 1234 } @@ -720,7 +668,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -740,42 +688,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -803,7 +740,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1141 + "size": 1057 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-declaration.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-declaration.js index 9e91e26486899..fa3607a353b57 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-declaration.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-declaration.js @@ -65,28 +65,6 @@ Output:: -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index 605642a38d5c4..400d5bc3b7242 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -65,7 +65,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","signature":false,"impliedFormat":1},{"version":"-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","signature":false,"impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":false,"impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"changeFileSet":[1,2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","signature":false,"affectsGlobalScope":true},{"version":"-5014788164-export interface A {\n name: string;\n}\n","signature":false},{"version":"-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","signature":false},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":false}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"changeFileSet":[1,2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -86,39 +86,31 @@ Output:: "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": false, - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { "original": { "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "version": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": false, - "impliedFormat": 1 + "signature": false }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "version": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -151,32 +143,10 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1152 + "size": 1080 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} @@ -304,7 +274,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -324,42 +294,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -386,7 +345,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1131 + "size": 1047 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -477,7 +436,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -497,42 +456,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -579,7 +527,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1299 + "size": 1215 } @@ -697,7 +645,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -717,42 +665,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -779,7 +716,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1122 + "size": 1038 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js index 234f193f15a21..e49308c8a144d 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js @@ -64,28 +64,6 @@ Output:: -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/noEmitOnError/shared/types/db.ts: *new* {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js index 10138e7d9ae37..bd7e0b487c19f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/creates-solution-in-watch-mode.js @@ -137,7 +137,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -152,44 +152,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -214,7 +206,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -240,7 +232,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -261,41 +253,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -319,7 +297,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] @@ -340,7 +318,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -366,50 +344,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -436,32 +395,10 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/tests/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index 0d2eea58e9b7e..f346cce617502 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -154,7 +154,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -169,44 +169,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -231,7 +223,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -257,7 +249,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -278,41 +270,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -336,7 +314,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] @@ -357,7 +335,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -383,50 +361,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -453,32 +412,10 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/tests/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* {} @@ -657,7 +594,7 @@ function someFn() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-12844299335-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nfunction someFn() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-12844299335-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nfunction someFn() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -678,41 +615,27 @@ function someFn() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-12844299335-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nfunction someFn() { }", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-12844299335-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nfunction someFn() { }", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -736,7 +659,7 @@ function someFn() { } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1479 + "size": 1383 } //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] file changed its modified time @@ -827,7 +750,7 @@ export declare function someFn(): void; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-5790226213-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nexport function someFn() { }","signature":"-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5790226213-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nexport function someFn() { }","signature":"-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -848,41 +771,27 @@ export declare function someFn(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-5790226213-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nexport function someFn() { }", - "signature": "-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n", - "impliedFormat": 1 + "signature": "-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n" }, "version": "-5790226213-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nexport function someFn() { }", - "signature": "-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n", - "impliedFormat": "commonjs" + "signature": "-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n" } }, "root": [ @@ -906,7 +815,7 @@ export declare function someFn(): void; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1526 + "size": 1430 } @@ -929,7 +838,7 @@ Output:: //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -955,50 +864,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n", - "impliedFormat": 1 - }, "version": "-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n", - "signature": "-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n", - "impliedFormat": "commonjs" + "signature": "-8742548750-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function someFn(): void;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1025,7 +915,7 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1664 + "size": 1538 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index e75302218015c..2ca13d92b5a5c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -77,7 +77,7 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n","impliedFormat":1},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -91,33 +91,27 @@ export declare class myClass { "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./filewitherror.ts": { "original": { "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", - "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n", - "impliedFormat": 1 + "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n" }, "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", - "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n", - "impliedFormat": "commonjs" + "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n" }, "./filewithouterror.ts": { "original": { "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": 1 + "signature": "-7432826827-export declare class myClass {\n}\n" }, "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7432826827-export declare class myClass {\n}\n" } }, "root": [ @@ -136,28 +130,10 @@ export declare class myClass { "latestChangedDtsFile": "./fileWithoutError.d.ts" }, "version": "FakeTSVersion", - "size": 1020 + "size": 966 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/app/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/solution/app/fileWithError.ts: *new* {} @@ -229,7 +205,7 @@ Output:: //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","signature":"7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected.","impliedFormat":1},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2],"emitSignatures":[[2,"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"]],"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","signature":"7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected."},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2],"emitSignatures":[[2,"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"]],"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -243,33 +219,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./filewitherror.ts": { "original": { "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected.", - "impliedFormat": 1 + "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected." }, "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected.", - "impliedFormat": "commonjs" + "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected." }, "./filewithouterror.ts": { "original": { "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": 1 + "signature": "-7432826827-export declare class myClass {\n}\n" }, "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7432826827-export declare class myClass {\n}\n" } }, "root": [ @@ -300,7 +270,7 @@ Output:: "latestChangedDtsFile": "./fileWithoutError.d.ts" }, "version": "FakeTSVersion", - "size": 1304 + "size": 1250 } @@ -357,7 +327,7 @@ Output:: //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","signature":"7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected.","impliedFormat":1},{"version":"-10959532701-export class myClass2 { }","signature":"-8459626297-export declare class myClass2 {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[[2,"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"],[3,"-7432826827-export declare class myClass {\n}\n"]],"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","signature":"7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected."},{"version":"-10959532701-export class myClass2 { }","signature":"-8459626297-export declare class myClass2 {\n}\n"}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[[2,"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"],[3,"-7432826827-export declare class myClass {\n}\n"]],"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -371,33 +341,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./filewitherror.ts": { "original": { "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected.", - "impliedFormat": 1 + "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected." }, "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected.", - "impliedFormat": "commonjs" + "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected." }, "./filewithouterror.ts": { "original": { "version": "-10959532701-export class myClass2 { }", - "signature": "-8459626297-export declare class myClass2 {\n}\n", - "impliedFormat": 1 + "signature": "-8459626297-export declare class myClass2 {\n}\n" }, "version": "-10959532701-export class myClass2 { }", - "signature": "-8459626297-export declare class myClass2 {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8459626297-export declare class myClass2 {\n}\n" } }, "root": [ @@ -436,7 +400,7 @@ Output:: "latestChangedDtsFile": "./fileWithoutError.d.ts" }, "version": "FakeTSVersion", - "size": 1362 + "size": 1308 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index 3b0d5b7ffa758..a9f6ca233499f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -77,7 +77,7 @@ export declare class myClass { //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n","impliedFormat":1},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -91,33 +91,27 @@ export declare class myClass { "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./filewitherror.ts": { "original": { "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", - "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n", - "impliedFormat": 1 + "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n" }, "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", - "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n", - "impliedFormat": "commonjs" + "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n" }, "./filewithouterror.ts": { "original": { "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": 1 + "signature": "-7432826827-export declare class myClass {\n}\n" }, "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7432826827-export declare class myClass {\n}\n" } }, "root": [ @@ -136,28 +130,10 @@ export declare class myClass { "latestChangedDtsFile": "./fileWithoutError.d.ts" }, "version": "FakeTSVersion", - "size": 1020 + "size": 966 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/app/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/solution/app/fileWithError.ts: *new* {} @@ -229,7 +205,7 @@ Output:: //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","signature":"7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected.","impliedFormat":1},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2],"emitSignatures":[[2,"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"]],"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","signature":"7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected."},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2],"emitSignatures":[[2,"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"]],"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -243,33 +219,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./filewitherror.ts": { "original": { "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected.", - "impliedFormat": 1 + "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected." }, "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected.", - "impliedFormat": "commonjs" + "signature": "7927555551-export declare var myClassWithError: {\n new (): {\n tags(): void;\n p: number;\n };\n};\n(11,16)Error4094: Property 'p' of exported class expression may not be private or protected." }, "./filewithouterror.ts": { "original": { "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": 1 + "signature": "-7432826827-export declare class myClass {\n}\n" }, "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7432826827-export declare class myClass {\n}\n" } }, "root": [ @@ -300,7 +270,7 @@ Output:: "latestChangedDtsFile": "./fileWithoutError.d.ts" }, "version": "FakeTSVersion", - "size": 1304 + "size": 1250 } @@ -356,7 +326,7 @@ Output:: //// [/user/username/projects/solution/app/fileWithError.js] file written with same contents //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n","impliedFormat":1},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -370,33 +340,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./filewitherror.ts": { "original": { "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", - "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n", - "impliedFormat": 1 + "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n" }, "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", - "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n", - "impliedFormat": "commonjs" + "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n" }, "./filewithouterror.ts": { "original": { "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": 1 + "signature": "-7432826827-export declare class myClass {\n}\n" }, "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7432826827-export declare class myClass {\n}\n" } }, "root": [ @@ -415,7 +379,7 @@ Output:: "latestChangedDtsFile": "./fileWithoutError.d.ts" }, "version": "FakeTSVersion", - "size": 1020 + "size": 966 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index 0ff91c44d73c9..b12208c06e397 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -45,7 +45,7 @@ Output:: //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","impliedFormat":1},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };",{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -59,32 +59,23 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./filewitherror.ts": { - "original": { - "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "impliedFormat": 1 - }, "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "signature": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "impliedFormat": "commonjs" + "signature": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };" }, "./filewithouterror.ts": { "original": { "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": 1 + "signature": "-7432826827-export declare class myClass {\n}\n" }, "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7432826827-export declare class myClass {\n}\n" } }, "root": [ @@ -116,28 +107,10 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 925 + "size": 859 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/app/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/solution/app/fileWithError.ts: *new* {} @@ -206,7 +179,7 @@ Output:: //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","impliedFormat":1},{"version":"-10959532701-export class myClass2 { }","signature":"-8459626297-export declare class myClass2 {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };",{"version":"-10959532701-export class myClass2 { }","signature":"-8459626297-export declare class myClass2 {\n}\n"}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -220,32 +193,23 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./filewitherror.ts": { - "original": { - "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "impliedFormat": 1 - }, "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "signature": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "impliedFormat": "commonjs" + "signature": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };" }, "./filewithouterror.ts": { "original": { "version": "-10959532701-export class myClass2 { }", - "signature": "-8459626297-export declare class myClass2 {\n}\n", - "impliedFormat": 1 + "signature": "-8459626297-export declare class myClass2 {\n}\n" }, "version": "-10959532701-export class myClass2 { }", - "signature": "-8459626297-export declare class myClass2 {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8459626297-export declare class myClass2 {\n}\n" } }, "root": [ @@ -277,7 +241,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 927 + "size": 861 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index f3e3313a11208..53e0c777d5ea5 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -45,7 +45,7 @@ Output:: //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };","impliedFormat":1},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };",{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -59,32 +59,23 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./filewitherror.ts": { - "original": { - "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "impliedFormat": 1 - }, "version": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "signature": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };", - "impliedFormat": "commonjs" + "signature": "-8103865863-export var myClassWithError = class {\n tags() { }\n private p = 12\n };" }, "./filewithouterror.ts": { "original": { "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": 1 + "signature": "-7432826827-export declare class myClass {\n}\n" }, "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7432826827-export declare class myClass {\n}\n" } }, "root": [ @@ -116,28 +107,10 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 925 + "size": 859 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/app/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/solution/app/fileWithError.ts: *new* {} @@ -204,7 +177,7 @@ Output:: //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n","impliedFormat":1},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./filewitherror.ts","./filewithouterror.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8106435186-export var myClassWithError = class {\n tags() { }\n \n };","signature":"6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n"},{"version":"-11785903855-export class myClass { }","signature":"-7432826827-export declare class myClass {\n}\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./fileWithoutError.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/solution/app/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -218,33 +191,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./filewitherror.ts": { "original": { "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", - "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n", - "impliedFormat": 1 + "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n" }, "version": "-8106435186-export var myClassWithError = class {\n tags() { }\n \n };", - "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n", - "impliedFormat": "commonjs" + "signature": "6892461904-export declare var myClassWithError: {\n new (): {\n tags(): void;\n };\n};\n" }, "./filewithouterror.ts": { "original": { "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": 1 + "signature": "-7432826827-export declare class myClass {\n}\n" }, "version": "-11785903855-export class myClass { }", - "signature": "-7432826827-export declare class myClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7432826827-export declare class myClass {\n}\n" } }, "root": [ @@ -263,7 +230,7 @@ Output:: "latestChangedDtsFile": "./fileWithoutError.d.ts" }, "version": "FakeTSVersion", - "size": 1020 + "size": 966 } //// [/user/username/projects/solution/app/fileWithError.js] diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index 81a0da2d77734..63b0fce727239 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -137,7 +137,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -152,44 +152,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -214,7 +206,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -240,7 +232,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -261,41 +253,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -319,7 +297,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] @@ -340,7 +318,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -366,50 +344,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -436,32 +395,10 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/tests/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* {} @@ -620,7 +557,7 @@ Output:: //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":178,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":178,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -641,41 +578,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -719,7 +642,7 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1660 + "size": 1564 } @@ -789,7 +712,7 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":183,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":183,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -804,44 +727,36 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -886,7 +801,7 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1589 + "size": 1517 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index 06b4dbb2ca78e..2f976a713f72f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -136,7 +136,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -151,44 +151,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -213,7 +205,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -239,7 +231,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -260,41 +252,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -318,7 +296,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] @@ -339,7 +317,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -365,50 +343,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -435,32 +394,10 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/tests/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* {} @@ -621,7 +558,7 @@ Output:: //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":178,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[4,[{"start":178,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[4],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -642,41 +579,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-5319769398-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n\nlet y: string = 10;", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -720,7 +643,7 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1660 + "size": 1564 } @@ -790,7 +713,7 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":183,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"semanticDiagnosticsPerFile":[[3,[{"start":183,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -805,44 +728,36 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15390729096-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nlet x: string = 10;", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -887,7 +802,7 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1589 + "size": 1517 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index 79724e1d6e05f..52f4edd01350a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -136,7 +136,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../anothermodule.ts","../index.ts","../some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../anothermodule.ts","../index.ts","../some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -151,44 +151,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -211,28 +203,10 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1336 + "size": 1264 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* {} @@ -314,7 +288,7 @@ Output:: //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../anothermodule.ts","../file3.ts","../index.ts","../some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./file3.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../anothermodule.ts","../file3.ts","../index.ts","../some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./file3.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -330,54 +304,44 @@ Output:: "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../file3.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" }, "../index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -401,7 +365,7 @@ Output:: "latestChangedDtsFile": "./file3.d.ts" }, "version": "FakeTSVersion", - "size": 1473 + "size": 1383 } //// [/user/username/projects/sample1/core/outDir/file3.js] @@ -416,24 +380,6 @@ export declare const y = 10; -PolledWatches:: -/a/lib/package.json: - {"pollingInterval":2000} -/a/package.json: - {"pollingInterval":2000} -/package.json: - {"pollingInterval":2000} -/user/package.json: - {"pollingInterval":2000} -/user/username/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index 964766191f926..9dbd86c78105a 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -144,7 +144,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -159,44 +159,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -221,28 +213,10 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* {} @@ -326,7 +300,7 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./file3.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./file3.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./file3.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./file3.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -342,54 +316,44 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./file3.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -415,7 +379,7 @@ Output:: "latestChangedDtsFile": "./file3.d.ts" }, "version": "FakeTSVersion", - "size": 1520 + "size": 1430 } //// [/user/username/projects/sample1/core/file3.js] @@ -433,24 +397,6 @@ export declare const y = 10; //# sourceMappingURL=file3.d.ts.map -PolledWatches:: -/a/lib/package.json: - {"pollingInterval":2000} -/a/package.json: - {"pollingInterval":2000} -/package.json: - {"pollingInterval":2000} -/user/package.json: - {"pollingInterval":2000} -/user/username/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js b/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js index f37f75cb235f1..247e09821d1d9 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/tsbuildinfo-has-error.js @@ -33,7 +33,7 @@ Output:: //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1}],"root":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2]},"version":"FakeTSVersion"} //// [/src/project/main.js] "use strict"; @@ -53,22 +53,15 @@ exports.x = 10; "../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" } }, "root": [ @@ -79,22 +72,10 @@ exports.x = 10; ] }, "version": "FakeTSVersion", - "size": 596 + "size": 548 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/src/package.json: *new* - {"pollingInterval":2000} -/src/project/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /src/project/main.ts: *new* {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js index 6ef09fd0797c5..114abbe531a0e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/verify-building-references-watches-only-those-projects.js @@ -137,7 +137,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -152,44 +152,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -214,7 +206,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -240,7 +232,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -261,41 +253,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -319,30 +297,10 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index 12310a5f2c8df..aedd76f06cafc 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -123,7 +123,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -138,44 +138,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -200,29 +192,13 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} /user/username/projects/sample1/logic/tsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* @@ -300,24 +276,6 @@ Output:: sysLog:: /user/username/projects/sample1/logic/tsconfig.json:: Changing watcher to PresentFileSystemEntryWatcher -PolledWatches:: -/a/lib/package.json: - {"pollingInterval":2000} -/a/package.json: - {"pollingInterval":2000} -/package.json: - {"pollingInterval":2000} -/user/package.json: - {"pollingInterval":2000} -/user/username/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: - {"pollingInterval":2000} - PolledWatches *deleted*:: /user/username/projects/sample1/logic/tsconfig.json: {"pollingInterval":2000} @@ -379,7 +337,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -400,41 +358,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -458,28 +402,10 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } -PolledWatches:: -/a/lib/package.json: - {"pollingInterval":2000} -/a/package.json: - {"pollingInterval":2000} -/package.json: - {"pollingInterval":2000} -/user/package.json: - {"pollingInterval":2000} -/user/username/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: {} @@ -573,7 +499,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -599,50 +525,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -669,7 +576,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index 78a515e4fae0b..450820b146a38 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -77,7 +77,7 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./library.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./library.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -90,23 +90,19 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./library.ts": { "original": { "version": "5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}", - "signature": "-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n", - "impliedFormat": 1 + "signature": "-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n" }, "version": "5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}", - "signature": "-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n", - "impliedFormat": "commonjs" + "signature": "-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n" } }, "root": [ @@ -121,7 +117,7 @@ export {}; "latestChangedDtsFile": "./library.d.ts" }, "version": "FakeTSVersion", - "size": 962 + "size": 926 } //// [/user/username/projects/sample1/App/app.js] @@ -132,26 +128,6 @@ var library_1 = require("../Library/library"); -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/App/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/Library/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/App/app.ts: *new* {} @@ -266,7 +242,7 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9741349880-\ninterface SomeObject\n{\n message2: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message2: \"new Object\"\n };\n}","signature":"1956297931-interface SomeObject {\n message2: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./library.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-9741349880-\ninterface SomeObject\n{\n message2: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message2: \"new Object\"\n };\n}","signature":"1956297931-interface SomeObject {\n message2: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./library.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -279,23 +255,19 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./library.ts": { "original": { "version": "-9741349880-\ninterface SomeObject\n{\n message2: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message2: \"new Object\"\n };\n}", - "signature": "1956297931-interface SomeObject {\n message2: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n", - "impliedFormat": 1 + "signature": "1956297931-interface SomeObject {\n message2: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n" }, "version": "-9741349880-\ninterface SomeObject\n{\n message2: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message2: \"new Object\"\n };\n}", - "signature": "1956297931-interface SomeObject {\n message2: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n", - "impliedFormat": "commonjs" + "signature": "1956297931-interface SomeObject {\n message2: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n" } }, "root": [ @@ -310,7 +282,7 @@ export {}; "latestChangedDtsFile": "./library.d.ts" }, "version": "FakeTSVersion", - "size": 964 + "size": 928 } @@ -433,7 +405,7 @@ export {}; //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./library.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./library.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}","signature":"-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./library.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/Library/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -446,23 +418,19 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./library.ts": { "original": { "version": "5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}", - "signature": "-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n", - "impliedFormat": 1 + "signature": "-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n" }, "version": "5256469508-\ninterface SomeObject\n{\n message: string;\n}\n\nexport function createSomeObject(): SomeObject\n{\n return {\n message: \"new Object\"\n };\n}", - "signature": "-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n", - "impliedFormat": "commonjs" + "signature": "-18933614215-interface SomeObject {\n message: string;\n}\nexport declare function createSomeObject(): SomeObject;\nexport {};\n" } }, "root": [ @@ -477,7 +445,7 @@ export {}; "latestChangedDtsFile": "./library.d.ts" }, "version": "FakeTSVersion", - "size": 962 + "size": 926 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 531e536a264f7..3fbcdee3f99df 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -135,7 +135,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -150,44 +150,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -210,7 +202,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1335 + "size": 1263 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -236,7 +228,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -257,41 +249,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -315,7 +293,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] @@ -336,7 +314,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -362,50 +340,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -432,32 +391,10 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/tests/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* {} @@ -600,7 +537,7 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./newfile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./newfile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -616,54 +553,44 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./newfile.ts": { "original": { "version": "-16320201030-export const newFileConst = 30;", - "signature": "-22941483372-export declare const newFileConst = 30;\n", - "impliedFormat": 1 + "signature": "-22941483372-export declare const newFileConst = 30;\n" }, "version": "-16320201030-export const newFileConst = 30;", - "signature": "-22941483372-export declare const newFileConst = 30;\n", - "impliedFormat": "commonjs" + "signature": "-22941483372-export declare const newFileConst = 30;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -687,7 +614,7 @@ Output:: "latestChangedDtsFile": "./newfile.d.ts" }, "version": "FakeTSVersion", - "size": 1498 + "size": 1408 } //// [/user/username/projects/sample1/core/newfile.js] @@ -702,28 +629,6 @@ export declare const newFileConst = 30; -PolledWatches:: -/a/lib/package.json: - {"pollingInterval":2000} -/a/package.json: - {"pollingInterval":2000} -/package.json: - {"pollingInterval":2000} -/user/package.json: - {"pollingInterval":2000} -/user/username/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/tests/package.json: - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: {} @@ -871,7 +776,7 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./newfile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./newfile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -887,54 +792,44 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./newfile.ts": { "original": { "version": "-9703836816-export const newFileConst = 30;\nexport class someClass2 { }", - "signature": "-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n", - "impliedFormat": 1 + "signature": "-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n" }, "version": "-9703836816-export const newFileConst = 30;\nexport class someClass2 { }", - "signature": "-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n", - "impliedFormat": "commonjs" + "signature": "-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -958,7 +853,7 @@ Output:: "latestChangedDtsFile": "./newfile.d.ts" }, "version": "FakeTSVersion", - "size": 1564 + "size": 1474 } //// [/user/username/projects/sample1/core/newfile.js] diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index cb683743c4223..d28db31e51d04 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -135,7 +135,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -150,44 +150,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -210,7 +202,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1335 + "size": 1263 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -236,7 +228,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -257,41 +249,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -315,7 +293,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] @@ -336,7 +314,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -362,50 +340,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -432,32 +391,10 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/tests/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* {} @@ -629,7 +566,7 @@ export declare class someClass { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -644,44 +581,36 @@ export declare class someClass { "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -704,7 +633,7 @@ export declare class someClass { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1400 + "size": 1328 } @@ -755,7 +684,7 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -776,41 +705,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -834,12 +749,12 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1492 + "size": 1396 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -865,50 +780,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -935,7 +831,7 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1660 + "size": 1534 } @@ -1038,7 +934,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1053,44 +949,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1113,7 +1001,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1335 + "size": 1263 } @@ -1164,7 +1052,7 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1185,41 +1073,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1243,12 +1117,12 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1274,50 +1148,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1344,7 +1199,7 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } @@ -1465,7 +1320,7 @@ export declare class someClass2 { //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1480,44 +1335,36 @@ export declare class someClass2 { "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }", - "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "impliedFormat": 1 + "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n" }, "version": "-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }", - "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "impliedFormat": "commonjs" + "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1540,7 +1387,7 @@ export declare class someClass2 { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1467 + "size": 1395 } @@ -1591,7 +1438,7 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1612,41 +1459,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "impliedFormat": 1 - }, "version": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "impliedFormat": "commonjs" + "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1670,12 +1503,12 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1530 + "size": 1434 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1701,50 +1534,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "impliedFormat": 1 - }, "version": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "impliedFormat": "commonjs" + "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1771,7 +1585,7 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1698 + "size": 1572 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index 9e75d9f49e3fc..a9aa2e2d7382f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -135,7 +135,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -150,44 +150,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -210,7 +202,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1335 + "size": 1263 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -236,7 +228,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -257,41 +249,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -315,7 +293,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] @@ -336,7 +314,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -362,50 +340,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -432,32 +391,10 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/tests/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* {} @@ -618,7 +555,7 @@ function foo() { } //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -633,44 +570,36 @@ function foo() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -693,7 +622,7 @@ function foo() { } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1354 + "size": 1282 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-outFile-and-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-outFile-and-non-local-change.js index f3acae27547bd..e7f00d8026f23 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-outFile-and-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-outFile-and-non-local-change.js @@ -61,7 +61,7 @@ declare function foo(): number; //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"5450201652-function foo() { return 10; }","impliedFormat":1}],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"517738360-declare function foo(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","5450201652-function foo() { return 10; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"517738360-declare function foo(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -71,22 +71,8 @@ declare function foo(): number; "./index.ts" ], "fileInfos": { - "../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./index.ts": { - "original": { - "version": "5450201652-function foo() { return 10; }", - "impliedFormat": 1 - }, - "version": "5450201652-function foo() { return 10; }", - "impliedFormat": "commonjs" - } + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./index.ts": "5450201652-function foo() { return 10; }" }, "root": [ [ @@ -103,7 +89,7 @@ declare function foo(): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 757 + "size": 697 } //// [/user/username/projects/sample1/logic/index.js] @@ -116,7 +102,7 @@ declare function bar(): number; //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"517738360-declare function foo(): number;\n","impliedFormat":1},{"version":"5542925109-function bar() { return foo() + 1 };","impliedFormat":1}],"root":[3],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"1113083433-declare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","./index.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","517738360-declare function foo(): number;\n","5542925109-function bar() { return foo() + 1 };"],"root":[3],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"1113083433-declare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -127,30 +113,9 @@ declare function bar(): number; "./index.ts" ], "fileInfos": { - "../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "../core/index.d.ts": { - "original": { - "version": "517738360-declare function foo(): number;\n", - "impliedFormat": 1 - }, - "version": "517738360-declare function foo(): number;\n", - "impliedFormat": "commonjs" - }, - "./index.ts": { - "original": { - "version": "5542925109-function bar() { return foo() + 1 };", - "impliedFormat": 1 - }, - "version": "5542925109-function bar() { return foo() + 1 };", - "impliedFormat": "commonjs" - } + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "../core/index.d.ts": "517738360-declare function foo(): number;\n", + "./index.ts": "5542925109-function bar() { return foo() + 1 };" }, "root": [ [ @@ -167,30 +132,10 @@ declare function bar(): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 862 + "size": 772 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/index.ts: *new* {} @@ -281,7 +226,7 @@ declare function myFunc(): number; //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }","impliedFormat":1}],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -291,22 +236,8 @@ declare function myFunc(): number; "./index.ts" ], "fileInfos": { - "../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./index.ts": { - "original": { - "version": "-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }", - "impliedFormat": 1 - }, - "version": "-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }", - "impliedFormat": "commonjs" - } + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./index.ts": "-3957203077-function foo() { return 10; }\nfunction myFunc() { return 10; }" }, "root": [ [ @@ -323,7 +254,7 @@ declare function myFunc(): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 829 + "size": 769 } @@ -368,7 +299,7 @@ Output:: //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/index.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","impliedFormat":1},{"version":"5542925109-function bar() { return foo() + 1 };","impliedFormat":1}],"root":[3],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"1113083433-declare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","./index.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","5542925109-function bar() { return foo() + 1 };"],"root":[3],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"1113083433-declare function bar(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/index.tsbuildinfo.readable.baseline.txt] { @@ -379,30 +310,9 @@ Output:: "./index.ts" ], "fileInfos": { - "../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "../core/index.d.ts": { - "original": { - "version": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", - "impliedFormat": 1 - }, - "version": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", - "impliedFormat": "commonjs" - }, - "./index.ts": { - "original": { - "version": "5542925109-function bar() { return foo() + 1 };", - "impliedFormat": 1 - }, - "version": "5542925109-function bar() { return foo() + 1 };", - "impliedFormat": "commonjs" - } + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "../core/index.d.ts": "2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n", + "./index.ts": "5542925109-function bar() { return foo() + 1 };" }, "root": [ [ @@ -419,7 +329,7 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 899 + "size": 809 } @@ -476,7 +386,7 @@ function myFunc() { return 100; } //// [/user/username/projects/sample1/core/index.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }","impliedFormat":1}],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }"],"root":[2],"options":{"composite":true,"declaration":true,"outFile":"./index.js"},"outSignature":"2172043225-declare function foo(): number;\ndeclare function myFunc(): number;\n","latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/index.tsbuildinfo.readable.baseline.txt] { @@ -486,22 +396,8 @@ function myFunc() { return 100; } "./index.ts" ], "fileInfos": { - "../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./index.ts": { - "original": { - "version": "-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }", - "impliedFormat": 1 - }, - "version": "-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }", - "impliedFormat": "commonjs" - } + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./index.ts": "-6034018805-function foo() { return 10; }\nfunction myFunc() { return 100; }" }, "root": [ [ @@ -518,7 +414,7 @@ function myFunc() { return 100; } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 830 + "size": 770 } //// [/user/username/projects/sample1/logic/index.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index 13481c0e7d43d..30f5272fa71ee 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -137,7 +137,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -152,44 +152,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -214,7 +206,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -240,7 +232,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -261,41 +253,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -319,7 +297,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] @@ -340,7 +318,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -366,50 +344,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -436,32 +395,10 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/tests/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* {} @@ -606,7 +543,7 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./newfile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-16320201030-export const newFileConst = 30;","signature":"-22941483372-export declare const newFileConst = 30;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./newfile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -622,54 +559,44 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./newfile.ts": { "original": { "version": "-16320201030-export const newFileConst = 30;", - "signature": "-22941483372-export declare const newFileConst = 30;\n", - "impliedFormat": 1 + "signature": "-22941483372-export declare const newFileConst = 30;\n" }, "version": "-16320201030-export const newFileConst = 30;", - "signature": "-22941483372-export declare const newFileConst = 30;\n", - "impliedFormat": "commonjs" + "signature": "-22941483372-export declare const newFileConst = 30;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -695,7 +622,7 @@ Output:: "latestChangedDtsFile": "./newfile.d.ts" }, "version": "FakeTSVersion", - "size": 1547 + "size": 1457 } //// [/user/username/projects/sample1/core/newfile.js] @@ -713,28 +640,6 @@ export declare const newFileConst = 30; //# sourceMappingURL=newfile.d.ts.map -PolledWatches:: -/a/lib/package.json: - {"pollingInterval":2000} -/a/package.json: - {"pollingInterval":2000} -/package.json: - {"pollingInterval":2000} -/user/package.json: - {"pollingInterval":2000} -/user/username/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/tests/package.json: - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: {} @@ -884,7 +789,7 @@ Output:: //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./newfile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./newfile.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-9703836816-export const newFileConst = 30;\nexport class someClass2 { }","signature":"-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./newfile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -900,54 +805,44 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./newfile.ts": { "original": { "version": "-9703836816-export const newFileConst = 30;\nexport class someClass2 { }", - "signature": "-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n", - "impliedFormat": 1 + "signature": "-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n" }, "version": "-9703836816-export const newFileConst = 30;\nexport class someClass2 { }", - "signature": "-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n", - "impliedFormat": "commonjs" + "signature": "-12384508924-export declare const newFileConst = 30;\nexport declare class someClass2 {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -973,7 +868,7 @@ Output:: "latestChangedDtsFile": "./newfile.d.ts" }, "version": "FakeTSVersion", - "size": 1613 + "size": 1523 } //// [/user/username/projects/sample1/core/newfile.js] diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index d4bd6718690f1..ff60f709a076e 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -137,7 +137,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -152,44 +152,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -214,7 +206,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -240,7 +232,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -261,41 +253,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -319,7 +297,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] @@ -340,7 +318,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -366,50 +344,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -436,32 +395,10 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/tests/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* {} @@ -638,7 +575,7 @@ export declare class someClass { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }","signature":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -653,44 +590,36 @@ export declare class someClass { "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "version": "-14927048853-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -715,7 +644,7 @@ export declare class someClass { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1449 + "size": 1377 } @@ -768,7 +697,7 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -789,41 +718,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -847,12 +762,12 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1492 + "size": 1396 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -878,50 +793,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": 1 - }, "version": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-2489663677-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -948,7 +844,7 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1660 + "size": 1534 } @@ -1054,7 +950,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1069,44 +965,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1131,7 +1019,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } @@ -1184,7 +1072,7 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1205,41 +1093,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1263,12 +1137,12 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1294,50 +1168,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1364,7 +1219,7 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } @@ -1488,7 +1343,7 @@ export declare class someClass2 { //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }","signature":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1503,44 +1358,36 @@ export declare class someClass2 { "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }", - "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "impliedFormat": 1 + "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n" }, "version": "-10455689311-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nexport class someClass { }\nexport class someClass2 { }", - "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "impliedFormat": "commonjs" + "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1565,7 +1412,7 @@ export declare class someClass2 { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1516 + "size": 1444 } @@ -1618,7 +1465,7 @@ Output:: //// [/user/username/projects/sample1/logic/index.js.map] file written with same contents //// [/user/username/projects/sample1/logic/index.js] file written with same contents //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1639,41 +1486,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "impliedFormat": 1 - }, "version": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "impliedFormat": "commonjs" + "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1697,12 +1530,12 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1530 + "size": 1434 } //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1728,50 +1561,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "impliedFormat": 1 - }, "version": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n", - "impliedFormat": "commonjs" + "signature": "-1938481101-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\nexport declare class someClass {\n}\nexport declare class someClass2 {\n}\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1798,7 +1612,7 @@ Output:: "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1698 + "size": 1572 } diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index a1af1b0d6e9b5..54d10d69213bb 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -137,7 +137,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -152,44 +152,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -214,7 +206,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -240,7 +232,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -261,41 +253,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -319,7 +297,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] @@ -340,7 +318,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -366,50 +344,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -436,32 +395,10 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/tests/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/sample1/core/anotherModule.ts: *new* {} @@ -625,7 +562,7 @@ function foo() { } //// [/user/username/projects/sample1/core/index.d.ts.map] file written with same contents //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -640,44 +577,36 @@ function foo() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-9422301372-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n\nfunction foo() { }", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -702,7 +631,7 @@ function foo() { } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1403 + "size": 1331 } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js index 96b0b6ba76838..e21f0feabc75c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-correctly-when-project-with-extended-config-is-removed.js @@ -114,7 +114,7 @@ declare let y: number; //// [/a/b/project1.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./commonFile2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./commonFile2.d.ts"},"version":"FakeTSVersion"} //// [/a/b/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -128,37 +128,31 @@ declare let y: number; "../lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./commonfile1.ts": { "original": { "version": "2167136208-let x = 1", "signature": "2842409786-declare let x: number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2167136208-let x = 1", "signature": "2842409786-declare let x: number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./commonfile2.ts": { "original": { "version": "2168322129-let y = 1", "signature": "784887931-declare let y: number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2168322129-let y = 1", "signature": "784887931-declare let y: number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -178,7 +172,7 @@ declare let y: number; "latestChangedDtsFile": "./commonFile2.d.ts" }, "version": "FakeTSVersion", - "size": 897 + "size": 843 } //// [/a/b/other.js] @@ -191,7 +185,7 @@ declare let z: number; //// [/a/b/project2.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/a/b/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -204,25 +198,21 @@ declare let z: number; "../lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./other.ts": { "original": { "version": "2874288940-let z = 0;", "signature": "-1272633924-declare let z: number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2874288940-let z = 0;", "signature": "-1272633924-declare let z: number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -238,20 +228,10 @@ declare let z: number; "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 738 + "size": 702 } -PolledWatches:: -/a/b/package.json: *new* - {"pollingInterval":2000} -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/b/alpha.tsconfig.json: *new* {} @@ -351,16 +331,6 @@ Output:: -PolledWatches:: -/a/b/package.json: - {"pollingInterval":2000} -/a/lib/package.json: - {"pollingInterval":2000} -/a/package.json: - {"pollingInterval":2000} -/package.json: - {"pollingInterval":2000} - FsWatches:: /a/b/alpha.tsconfig.json: {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js index 29ddcbdb8d273..05cf7be93ccd2 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js @@ -39,22 +39,6 @@ Output:: -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/index.ts: *new* {} diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index 9eeae022a2df3..5aebe6c69b4dc 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -136,7 +136,7 @@ declare let y: number; //// [/a/b/project1.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./commonFile2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./commonFile2.d.ts"},"version":"FakeTSVersion"} //// [/a/b/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -150,37 +150,31 @@ declare let y: number; "../lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./commonfile1.ts": { "original": { "version": "2167136208-let x = 1", "signature": "2842409786-declare let x: number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2167136208-let x = 1", "signature": "2842409786-declare let x: number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./commonfile2.ts": { "original": { "version": "2168322129-let y = 1", "signature": "784887931-declare let y: number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2168322129-let y = 1", "signature": "784887931-declare let y: number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -199,7 +193,7 @@ declare let y: number; "latestChangedDtsFile": "./commonFile2.d.ts" }, "version": "FakeTSVersion", - "size": 883 + "size": 829 } //// [/a/b/other.js] @@ -211,7 +205,7 @@ declare let z: number; //// [/a/b/project2.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/a/b/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -224,25 +218,21 @@ declare let z: number; "../lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./other.ts": { "original": { "version": "2874288940-let z = 0;", "signature": "-1272633924-declare let z: number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2874288940-let z = 0;", "signature": "-1272633924-declare let z: number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -257,7 +247,7 @@ declare let z: number; "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 724 + "size": 688 } //// [/a/b/other2.js] @@ -265,16 +255,6 @@ var k = 0; -PolledWatches:: -/a/b/package.json: *new* - {"pollingInterval":2000} -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/b/alpha.tsconfig.json: *new* {} @@ -412,7 +392,7 @@ var y = 1; //// [/a/b/project1.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./commonFile2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./commonFile2.d.ts"},"version":"FakeTSVersion"} //// [/a/b/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -426,37 +406,31 @@ var y = 1; "../lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./commonfile1.ts": { "original": { "version": "2167136208-let x = 1", "signature": "2842409786-declare let x: number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2167136208-let x = 1", "signature": "2842409786-declare let x: number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./commonfile2.ts": { "original": { "version": "2168322129-let y = 1", "signature": "784887931-declare let y: number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2168322129-let y = 1", "signature": "784887931-declare let y: number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -476,7 +450,7 @@ var y = 1; "latestChangedDtsFile": "./commonFile2.d.ts" }, "version": "FakeTSVersion", - "size": 897 + "size": 843 } @@ -533,7 +507,7 @@ var z = 0; //// [/a/b/project2.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"strict":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/a/b/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -546,25 +520,21 @@ var z = 0; "../lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./other.ts": { "original": { "version": "2874288940-let z = 0;", "signature": "-1272633924-declare let z: number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2874288940-let z = 0;", "signature": "-1272633924-declare let z: number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -580,7 +550,7 @@ var z = 0; "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 738 + "size": 702 } @@ -644,7 +614,7 @@ var z = 0; //// [/a/b/project2.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"composite":true,"strict":false},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2874288940-let z = 0;","signature":"-1272633924-declare let z: number;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"strict":false},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/a/b/project2.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -657,25 +627,21 @@ var z = 0; "../lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./other.ts": { "original": { "version": "2874288940-let z = 0;", "signature": "-1272633924-declare let z: number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2874288940-let z = 0;", "signature": "-1272633924-declare let z: number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -691,7 +657,7 @@ var z = 0; "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 739 + "size": 703 } @@ -760,16 +726,6 @@ var k = 0; -PolledWatches:: -/a/b/package.json: - {"pollingInterval":2000} -/a/lib/package.json: - {"pollingInterval":2000} -/a/package.json: - {"pollingInterval":2000} -/package.json: - {"pollingInterval":2000} - FsWatches:: /a/b/alpha.tsconfig.json: {} @@ -871,7 +827,7 @@ var y = 1; //// [/a/b/project1.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./commonFile2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./commonfile1.ts","./commonfile2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2167136208-let x = 1","signature":"2842409786-declare let x: number;\n","affectsGlobalScope":true},{"version":"2168322129-let y = 1","signature":"784887931-declare let y: number;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./commonFile2.d.ts"},"version":"FakeTSVersion"} //// [/a/b/project1.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -885,37 +841,31 @@ var y = 1; "../lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./commonfile1.ts": { "original": { "version": "2167136208-let x = 1", "signature": "2842409786-declare let x: number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2167136208-let x = 1", "signature": "2842409786-declare let x: number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./commonfile2.ts": { "original": { "version": "2168322129-let y = 1", "signature": "784887931-declare let y: number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2168322129-let y = 1", "signature": "784887931-declare let y: number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -934,7 +884,7 @@ var y = 1; "latestChangedDtsFile": "./commonFile2.d.ts" }, "version": "FakeTSVersion", - "size": 883 + "size": 829 } @@ -1126,16 +1076,6 @@ Output:: //// [/a/b/other2.js] file changed its modified time -PolledWatches:: -/a/b/package.json: - {"pollingInterval":2000} -/a/lib/package.json: - {"pollingInterval":2000} -/a/package.json: - {"pollingInterval":2000} -/package.json: - {"pollingInterval":2000} - FsWatches:: /a/b/alpha.tsconfig.json: {} diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js index 96eb06c229c41..bc964d78e042d 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js @@ -569,7 +569,7 @@ export declare const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -582,23 +582,19 @@ export declare const pkg0 = 0; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-10197922616-export const pkg0 = 0;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": 1 + "signature": "-4821832606-export declare const pkg0 = 0;\n" }, "version": "-10197922616-export const pkg0 = 0;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "signature": "-4821832606-export declare const pkg0 = 0;\n" } }, "root": [ @@ -613,7 +609,7 @@ export declare const pkg0 = 0; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg1/index.js] @@ -628,7 +624,7 @@ export declare const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -641,23 +637,19 @@ export declare const pkg1 = 1; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-10158787190-export const pkg1 = 1;", - "signature": "-3530363548-export declare const pkg1 = 1;\n", - "impliedFormat": 1 + "signature": "-3530363548-export declare const pkg1 = 1;\n" }, "version": "-10158787190-export const pkg1 = 1;", - "signature": "-3530363548-export declare const pkg1 = 1;\n", - "impliedFormat": "commonjs" + "signature": "-3530363548-export declare const pkg1 = 1;\n" } }, "root": [ @@ -672,7 +664,7 @@ export declare const pkg1 = 1; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg2/index.js] @@ -687,7 +679,7 @@ export declare const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -700,23 +692,19 @@ export declare const pkg2 = 2; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14414619060-export const pkg2 = 2;", - "signature": "-6533861786-export declare const pkg2 = 2;\n", - "impliedFormat": 1 + "signature": "-6533861786-export declare const pkg2 = 2;\n" }, "version": "-14414619060-export const pkg2 = 2;", - "signature": "-6533861786-export declare const pkg2 = 2;\n", - "impliedFormat": "commonjs" + "signature": "-6533861786-export declare const pkg2 = 2;\n" } }, "root": [ @@ -731,7 +719,7 @@ export declare const pkg2 = 2; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg3/index.js] @@ -746,7 +734,7 @@ export declare const pkg3 = 3; //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14375483634-export const pkg3 = 3;","signature":"-5242392728-export declare const pkg3 = 3;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14375483634-export const pkg3 = 3;","signature":"-5242392728-export declare const pkg3 = 3;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -759,23 +747,19 @@ export declare const pkg3 = 3; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14375483634-export const pkg3 = 3;", - "signature": "-5242392728-export declare const pkg3 = 3;\n", - "impliedFormat": 1 + "signature": "-5242392728-export declare const pkg3 = 3;\n" }, "version": "-14375483634-export const pkg3 = 3;", - "signature": "-5242392728-export declare const pkg3 = 3;\n", - "impliedFormat": "commonjs" + "signature": "-5242392728-export declare const pkg3 = 3;\n" } }, "root": [ @@ -790,7 +774,7 @@ export declare const pkg3 = 3; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg4/index.js] @@ -805,7 +789,7 @@ export declare const pkg4 = 4; //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14336348208-export const pkg4 = 4;","signature":"-3950923670-export declare const pkg4 = 4;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14336348208-export const pkg4 = 4;","signature":"-3950923670-export declare const pkg4 = 4;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -818,23 +802,19 @@ export declare const pkg4 = 4; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14336348208-export const pkg4 = 4;", - "signature": "-3950923670-export declare const pkg4 = 4;\n", - "impliedFormat": 1 + "signature": "-3950923670-export declare const pkg4 = 4;\n" }, "version": "-14336348208-export const pkg4 = 4;", - "signature": "-3950923670-export declare const pkg4 = 4;\n", - "impliedFormat": "commonjs" + "signature": "-3950923670-export declare const pkg4 = 4;\n" } }, "root": [ @@ -849,7 +829,7 @@ export declare const pkg4 = 4; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg5/index.js] @@ -864,7 +844,7 @@ export declare const pkg5 = 5; //// [/user/username/projects/myproject/pkg5/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14297212782-export const pkg5 = 5;","signature":"-2659454612-export declare const pkg5 = 5;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14297212782-export const pkg5 = 5;","signature":"-2659454612-export declare const pkg5 = 5;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg5/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -877,23 +857,19 @@ export declare const pkg5 = 5; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14297212782-export const pkg5 = 5;", - "signature": "-2659454612-export declare const pkg5 = 5;\n", - "impliedFormat": 1 + "signature": "-2659454612-export declare const pkg5 = 5;\n" }, "version": "-14297212782-export const pkg5 = 5;", - "signature": "-2659454612-export declare const pkg5 = 5;\n", - "impliedFormat": "commonjs" + "signature": "-2659454612-export declare const pkg5 = 5;\n" } }, "root": [ @@ -908,7 +884,7 @@ export declare const pkg5 = 5; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg6/index.js] @@ -923,7 +899,7 @@ export declare const pkg6 = 6; //// [/user/username/projects/myproject/pkg6/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14258077356-export const pkg6 = 6;","signature":"-5662952850-export declare const pkg6 = 6;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14258077356-export const pkg6 = 6;","signature":"-5662952850-export declare const pkg6 = 6;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg6/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -936,23 +912,19 @@ export declare const pkg6 = 6; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14258077356-export const pkg6 = 6;", - "signature": "-5662952850-export declare const pkg6 = 6;\n", - "impliedFormat": 1 + "signature": "-5662952850-export declare const pkg6 = 6;\n" }, "version": "-14258077356-export const pkg6 = 6;", - "signature": "-5662952850-export declare const pkg6 = 6;\n", - "impliedFormat": "commonjs" + "signature": "-5662952850-export declare const pkg6 = 6;\n" } }, "root": [ @@ -967,7 +939,7 @@ export declare const pkg6 = 6; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg7/index.js] @@ -982,7 +954,7 @@ export declare const pkg7 = 7; //// [/user/username/projects/myproject/pkg7/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14218941930-export const pkg7 = 7;","signature":"-4371483792-export declare const pkg7 = 7;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14218941930-export const pkg7 = 7;","signature":"-4371483792-export declare const pkg7 = 7;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg7/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -995,23 +967,19 @@ export declare const pkg7 = 7; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14218941930-export const pkg7 = 7;", - "signature": "-4371483792-export declare const pkg7 = 7;\n", - "impliedFormat": 1 + "signature": "-4371483792-export declare const pkg7 = 7;\n" }, "version": "-14218941930-export const pkg7 = 7;", - "signature": "-4371483792-export declare const pkg7 = 7;\n", - "impliedFormat": "commonjs" + "signature": "-4371483792-export declare const pkg7 = 7;\n" } }, "root": [ @@ -1026,7 +994,7 @@ export declare const pkg7 = 7; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg8/index.js] @@ -1041,7 +1009,7 @@ export declare const pkg8 = 8; //// [/user/username/projects/myproject/pkg8/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14179806504-export const pkg8 = 8;","signature":"-3080014734-export declare const pkg8 = 8;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14179806504-export const pkg8 = 8;","signature":"-3080014734-export declare const pkg8 = 8;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg8/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1054,23 +1022,19 @@ export declare const pkg8 = 8; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14179806504-export const pkg8 = 8;", - "signature": "-3080014734-export declare const pkg8 = 8;\n", - "impliedFormat": 1 + "signature": "-3080014734-export declare const pkg8 = 8;\n" }, "version": "-14179806504-export const pkg8 = 8;", - "signature": "-3080014734-export declare const pkg8 = 8;\n", - "impliedFormat": "commonjs" + "signature": "-3080014734-export declare const pkg8 = 8;\n" } }, "root": [ @@ -1085,7 +1049,7 @@ export declare const pkg8 = 8; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg9/index.js] @@ -1100,7 +1064,7 @@ export declare const pkg9 = 9; //// [/user/username/projects/myproject/pkg9/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14140671078-export const pkg9 = 9;","signature":"-6083512972-export declare const pkg9 = 9;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14140671078-export const pkg9 = 9;","signature":"-6083512972-export declare const pkg9 = 9;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg9/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1113,23 +1077,19 @@ export declare const pkg9 = 9; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14140671078-export const pkg9 = 9;", - "signature": "-6083512972-export declare const pkg9 = 9;\n", - "impliedFormat": 1 + "signature": "-6083512972-export declare const pkg9 = 9;\n" }, "version": "-14140671078-export const pkg9 = 9;", - "signature": "-6083512972-export declare const pkg9 = 9;\n", - "impliedFormat": "commonjs" + "signature": "-6083512972-export declare const pkg9 = 9;\n" } }, "root": [ @@ -1144,7 +1104,7 @@ export declare const pkg9 = 9; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg10/index.js] @@ -1159,7 +1119,7 @@ export declare const pkg10 = 10; //// [/user/username/projects/myproject/pkg10/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9585933846-export const pkg10 = 10;","signature":"-3553269308-export declare const pkg10 = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-9585933846-export const pkg10 = 10;","signature":"-3553269308-export declare const pkg10 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg10/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1172,23 +1132,19 @@ export declare const pkg10 = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-9585933846-export const pkg10 = 10;", - "signature": "-3553269308-export declare const pkg10 = 10;\n", - "impliedFormat": 1 + "signature": "-3553269308-export declare const pkg10 = 10;\n" }, "version": "-9585933846-export const pkg10 = 10;", - "signature": "-3553269308-export declare const pkg10 = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3553269308-export declare const pkg10 = 10;\n" } }, "root": [ @@ -1203,7 +1159,7 @@ export declare const pkg10 = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 737 + "size": 701 } //// [/user/username/projects/myproject/pkg11/index.js] @@ -1218,7 +1174,7 @@ export declare const pkg11 = 11; //// [/user/username/projects/myproject/pkg11/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8294465844-export const pkg11 = 11;","signature":"410469094-export declare const pkg11 = 11;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8294465844-export const pkg11 = 11;","signature":"410469094-export declare const pkg11 = 11;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg11/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1231,23 +1187,19 @@ export declare const pkg11 = 11; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-8294465844-export const pkg11 = 11;", - "signature": "410469094-export declare const pkg11 = 11;\n", - "impliedFormat": 1 + "signature": "410469094-export declare const pkg11 = 11;\n" }, "version": "-8294465844-export const pkg11 = 11;", - "signature": "410469094-export declare const pkg11 = 11;\n", - "impliedFormat": "commonjs" + "signature": "410469094-export declare const pkg11 = 11;\n" } }, "root": [ @@ -1262,7 +1214,7 @@ export declare const pkg11 = 11; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 735 + "size": 699 } //// [/user/username/projects/myproject/pkg12/index.js] @@ -1277,7 +1229,7 @@ export declare const pkg12 = 12; //// [/user/username/projects/myproject/pkg12/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7002997842-export const pkg12 = 12;","signature":"-4215727096-export declare const pkg12 = 12;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-7002997842-export const pkg12 = 12;","signature":"-4215727096-export declare const pkg12 = 12;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg12/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1290,23 +1242,19 @@ export declare const pkg12 = 12; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-7002997842-export const pkg12 = 12;", - "signature": "-4215727096-export declare const pkg12 = 12;\n", - "impliedFormat": 1 + "signature": "-4215727096-export declare const pkg12 = 12;\n" }, "version": "-7002997842-export const pkg12 = 12;", - "signature": "-4215727096-export declare const pkg12 = 12;\n", - "impliedFormat": "commonjs" + "signature": "-4215727096-export declare const pkg12 = 12;\n" } }, "root": [ @@ -1321,7 +1269,7 @@ export declare const pkg12 = 12; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 737 + "size": 701 } //// [/user/username/projects/myproject/pkg13/index.js] @@ -1336,7 +1284,7 @@ export declare const pkg13 = 13; //// [/user/username/projects/myproject/pkg13/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10006497136-export const pkg13 = 13;","signature":"-4546955990-export declare const pkg13 = 13;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10006497136-export const pkg13 = 13;","signature":"-4546955990-export declare const pkg13 = 13;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg13/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1349,23 +1297,19 @@ export declare const pkg13 = 13; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-10006497136-export const pkg13 = 13;", - "signature": "-4546955990-export declare const pkg13 = 13;\n", - "impliedFormat": 1 + "signature": "-4546955990-export declare const pkg13 = 13;\n" }, "version": "-10006497136-export const pkg13 = 13;", - "signature": "-4546955990-export declare const pkg13 = 13;\n", - "impliedFormat": "commonjs" + "signature": "-4546955990-export declare const pkg13 = 13;\n" } }, "root": [ @@ -1380,7 +1324,7 @@ export declare const pkg13 = 13; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 738 + "size": 702 } //// [/user/username/projects/myproject/pkg14/index.js] @@ -1395,7 +1339,7 @@ export declare const pkg14 = 14; //// [/user/username/projects/myproject/pkg14/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8715029134-export const pkg14 = 14;","signature":"-583217588-export declare const pkg14 = 14;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8715029134-export const pkg14 = 14;","signature":"-583217588-export declare const pkg14 = 14;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg14/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1408,23 +1352,19 @@ export declare const pkg14 = 14; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-8715029134-export const pkg14 = 14;", - "signature": "-583217588-export declare const pkg14 = 14;\n", - "impliedFormat": 1 + "signature": "-583217588-export declare const pkg14 = 14;\n" }, "version": "-8715029134-export const pkg14 = 14;", - "signature": "-583217588-export declare const pkg14 = 14;\n", - "impliedFormat": "commonjs" + "signature": "-583217588-export declare const pkg14 = 14;\n" } }, "root": [ @@ -1439,7 +1379,7 @@ export declare const pkg14 = 14; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 736 + "size": 700 } //// [/user/username/projects/myproject/pkg15/index.js] @@ -1454,7 +1394,7 @@ export declare const pkg15 = 15; //// [/user/username/projects/myproject/pkg15/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7423561132-export const pkg15 = 15;","signature":"-5209413778-export declare const pkg15 = 15;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-7423561132-export const pkg15 = 15;","signature":"-5209413778-export declare const pkg15 = 15;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg15/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1467,23 +1407,19 @@ export declare const pkg15 = 15; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-7423561132-export const pkg15 = 15;", - "signature": "-5209413778-export declare const pkg15 = 15;\n", - "impliedFormat": 1 + "signature": "-5209413778-export declare const pkg15 = 15;\n" }, "version": "-7423561132-export const pkg15 = 15;", - "signature": "-5209413778-export declare const pkg15 = 15;\n", - "impliedFormat": "commonjs" + "signature": "-5209413778-export declare const pkg15 = 15;\n" } }, "root": [ @@ -1498,7 +1434,7 @@ export declare const pkg15 = 15; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 737 + "size": 701 } //// [/user/username/projects/myproject/pkg16/index.js] @@ -1513,7 +1449,7 @@ export declare const pkg16 = 16; //// [/user/username/projects/myproject/pkg16/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6132093130-export const pkg16 = 16;","signature":"-1245675376-export declare const pkg16 = 16;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-6132093130-export const pkg16 = 16;","signature":"-1245675376-export declare const pkg16 = 16;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg16/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1526,23 +1462,19 @@ export declare const pkg16 = 16; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-6132093130-export const pkg16 = 16;", - "signature": "-1245675376-export declare const pkg16 = 16;\n", - "impliedFormat": 1 + "signature": "-1245675376-export declare const pkg16 = 16;\n" }, "version": "-6132093130-export const pkg16 = 16;", - "signature": "-1245675376-export declare const pkg16 = 16;\n", - "impliedFormat": "commonjs" + "signature": "-1245675376-export declare const pkg16 = 16;\n" } }, "root": [ @@ -1557,7 +1489,7 @@ export declare const pkg16 = 16; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 737 + "size": 701 } //// [/user/username/projects/myproject/pkg17/index.js] @@ -1572,7 +1504,7 @@ export declare const pkg17 = 17; //// [/user/username/projects/myproject/pkg17/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17725527016-export const pkg17 = 17;","signature":"-1576904270-export declare const pkg17 = 17;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-17725527016-export const pkg17 = 17;","signature":"-1576904270-export declare const pkg17 = 17;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg17/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1585,23 +1517,19 @@ export declare const pkg17 = 17; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-17725527016-export const pkg17 = 17;", - "signature": "-1576904270-export declare const pkg17 = 17;\n", - "impliedFormat": 1 + "signature": "-1576904270-export declare const pkg17 = 17;\n" }, "version": "-17725527016-export const pkg17 = 17;", - "signature": "-1576904270-export declare const pkg17 = 17;\n", - "impliedFormat": "commonjs" + "signature": "-1576904270-export declare const pkg17 = 17;\n" } }, "root": [ @@ -1616,7 +1544,7 @@ export declare const pkg17 = 17; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 738 + "size": 702 } //// [/user/username/projects/myproject/pkg18/index.js] @@ -1631,7 +1559,7 @@ export declare const pkg18 = 18; //// [/user/username/projects/myproject/pkg18/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16434059014-export const pkg18 = 18;","signature":"-1908133164-export declare const pkg18 = 18;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-16434059014-export const pkg18 = 18;","signature":"-1908133164-export declare const pkg18 = 18;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg18/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1644,23 +1572,19 @@ export declare const pkg18 = 18; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-16434059014-export const pkg18 = 18;", - "signature": "-1908133164-export declare const pkg18 = 18;\n", - "impliedFormat": 1 + "signature": "-1908133164-export declare const pkg18 = 18;\n" }, "version": "-16434059014-export const pkg18 = 18;", - "signature": "-1908133164-export declare const pkg18 = 18;\n", - "impliedFormat": "commonjs" + "signature": "-1908133164-export declare const pkg18 = 18;\n" } }, "root": [ @@ -1675,7 +1599,7 @@ export declare const pkg18 = 18; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 738 + "size": 702 } //// [/user/username/projects/myproject/pkg19/index.js] @@ -1690,7 +1614,7 @@ export declare const pkg19 = 19; //// [/user/username/projects/myproject/pkg19/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15142591012-export const pkg19 = 19;","signature":"-2239362058-export declare const pkg19 = 19;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-15142591012-export const pkg19 = 19;","signature":"-2239362058-export declare const pkg19 = 19;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg19/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1703,23 +1627,19 @@ export declare const pkg19 = 19; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-15142591012-export const pkg19 = 19;", - "signature": "-2239362058-export declare const pkg19 = 19;\n", - "impliedFormat": 1 + "signature": "-2239362058-export declare const pkg19 = 19;\n" }, "version": "-15142591012-export const pkg19 = 19;", - "signature": "-2239362058-export declare const pkg19 = 19;\n", - "impliedFormat": "commonjs" + "signature": "-2239362058-export declare const pkg19 = 19;\n" } }, "root": [ @@ -1734,7 +1654,7 @@ export declare const pkg19 = 19; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 738 + "size": 702 } //// [/user/username/projects/myproject/pkg20/index.js] @@ -1749,7 +1669,7 @@ export declare const pkg20 = 20; //// [/user/username/projects/myproject/pkg20/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14212130036-export const pkg20 = 20;","signature":"-5893888218-export declare const pkg20 = 20;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14212130036-export const pkg20 = 20;","signature":"-5893888218-export declare const pkg20 = 20;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg20/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1762,23 +1682,19 @@ export declare const pkg20 = 20; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14212130036-export const pkg20 = 20;", - "signature": "-5893888218-export declare const pkg20 = 20;\n", - "impliedFormat": 1 + "signature": "-5893888218-export declare const pkg20 = 20;\n" }, "version": "-14212130036-export const pkg20 = 20;", - "signature": "-5893888218-export declare const pkg20 = 20;\n", - "impliedFormat": "commonjs" + "signature": "-5893888218-export declare const pkg20 = 20;\n" } }, "root": [ @@ -1793,7 +1709,7 @@ export declare const pkg20 = 20; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 738 + "size": 702 } //// [/user/username/projects/myproject/pkg21/index.js] @@ -1808,7 +1724,7 @@ export declare const pkg21 = 21; //// [/user/username/projects/myproject/pkg21/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17215629330-export const pkg21 = 21;","signature":"-6225117112-export declare const pkg21 = 21;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-17215629330-export const pkg21 = 21;","signature":"-6225117112-export declare const pkg21 = 21;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg21/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1821,23 +1737,19 @@ export declare const pkg21 = 21; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-17215629330-export const pkg21 = 21;", - "signature": "-6225117112-export declare const pkg21 = 21;\n", - "impliedFormat": 1 + "signature": "-6225117112-export declare const pkg21 = 21;\n" }, "version": "-17215629330-export const pkg21 = 21;", - "signature": "-6225117112-export declare const pkg21 = 21;\n", - "impliedFormat": "commonjs" + "signature": "-6225117112-export declare const pkg21 = 21;\n" } }, "root": [ @@ -1852,7 +1764,7 @@ export declare const pkg21 = 21; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 738 + "size": 702 } //// [/user/username/projects/myproject/pkg22/index.js] @@ -1867,7 +1779,7 @@ export declare const pkg22 = 22; //// [/user/username/projects/myproject/pkg22/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15924161328-export const pkg22 = 22;","signature":"-6556346006-export declare const pkg22 = 22;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-15924161328-export const pkg22 = 22;","signature":"-6556346006-export declare const pkg22 = 22;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg22/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1880,23 +1792,19 @@ export declare const pkg22 = 22; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-15924161328-export const pkg22 = 22;", - "signature": "-6556346006-export declare const pkg22 = 22;\n", - "impliedFormat": 1 + "signature": "-6556346006-export declare const pkg22 = 22;\n" }, "version": "-15924161328-export const pkg22 = 22;", - "signature": "-6556346006-export declare const pkg22 = 22;\n", - "impliedFormat": "commonjs" + "signature": "-6556346006-export declare const pkg22 = 22;\n" } }, "root": [ @@ -1911,71 +1819,9 @@ export declare const pkg22 = 22; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 738 -} - - -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg0/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg10/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg11/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg12/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg13/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg14/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg15/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg16/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg17/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg18/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg19/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg20/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg21/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg22/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg3/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg4/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg5/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg6/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg7/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg8/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg9/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} + "size": 702 +} + FsWatches:: /user/username/projects/myproject/pkg0/index.ts: *new* @@ -2730,7 +2576,7 @@ var someConst2 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2743,23 +2589,19 @@ var someConst2 = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-7839887915-export const pkg0 = 0;const someConst2 = 10;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": 1 + "signature": "-4821832606-export declare const pkg0 = 0;\n" }, "version": "-7839887915-export const pkg0 = 0;const someConst2 = 10;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "signature": "-4821832606-export declare const pkg0 = 0;\n" } }, "root": [ @@ -2774,7 +2616,7 @@ var someConst2 = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 755 + "size": 719 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -2869,7 +2711,7 @@ export declare const someConst = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2882,23 +2724,19 @@ export declare const someConst = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;", - "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n", - "impliedFormat": 1 + "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n" }, "version": "1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;", - "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n" } }, "root": [ @@ -2913,7 +2751,7 @@ export declare const someConst = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 820 + "size": 784 } @@ -3613,7 +3451,7 @@ export declare const someConst3 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -3626,23 +3464,19 @@ export declare const someConst3 = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;", - "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n", - "impliedFormat": 1 + "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n" }, "version": "10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;", - "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n", - "impliedFormat": "commonjs" + "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n" } }, "root": [ @@ -3657,7 +3491,7 @@ export declare const someConst3 = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 890 + "size": 854 } @@ -4042,7 +3876,7 @@ var someConst4 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -4055,23 +3889,19 @@ var someConst4 = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;", - "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n", - "impliedFormat": 1 + "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n" }, "version": "27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;", - "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n", - "impliedFormat": "commonjs" + "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n" } }, "root": [ @@ -4086,7 +3916,7 @@ var someConst4 = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 912 + "size": 876 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -4310,7 +4140,7 @@ export declare const someConst5 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"14710086947-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;export const someConst5 = 10;","signature":"4956132399-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\nexport declare const someConst5 = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"14710086947-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;export const someConst5 = 10;","signature":"4956132399-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\nexport declare const someConst5 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -4323,23 +4153,19 @@ export declare const someConst5 = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "14710086947-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;export const someConst5 = 10;", - "signature": "4956132399-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\nexport declare const someConst5 = 10;\n", - "impliedFormat": 1 + "signature": "4956132399-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\nexport declare const someConst5 = 10;\n" }, "version": "14710086947-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;export const someConst5 = 10;", - "signature": "4956132399-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\nexport declare const someConst5 = 10;\n", - "impliedFormat": "commonjs" + "signature": "4956132399-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\nexport declare const someConst5 = 10;\n" } }, "root": [ @@ -4354,7 +4180,7 @@ export declare const someConst5 = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 978 + "size": 942 } diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js index 8aa9ec488a996..65daee21b936c 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js @@ -109,7 +109,7 @@ export declare const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -122,23 +122,19 @@ export declare const pkg0 = 0; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-10197922616-export const pkg0 = 0;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": 1 + "signature": "-4821832606-export declare const pkg0 = 0;\n" }, "version": "-10197922616-export const pkg0 = 0;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "signature": "-4821832606-export declare const pkg0 = 0;\n" } }, "root": [ @@ -153,7 +149,7 @@ export declare const pkg0 = 0; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg1/index.js] @@ -168,7 +164,7 @@ export declare const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,23 +177,19 @@ export declare const pkg1 = 1; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-10158787190-export const pkg1 = 1;", - "signature": "-3530363548-export declare const pkg1 = 1;\n", - "impliedFormat": 1 + "signature": "-3530363548-export declare const pkg1 = 1;\n" }, "version": "-10158787190-export const pkg1 = 1;", - "signature": "-3530363548-export declare const pkg1 = 1;\n", - "impliedFormat": "commonjs" + "signature": "-3530363548-export declare const pkg1 = 1;\n" } }, "root": [ @@ -212,7 +204,7 @@ export declare const pkg1 = 1; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg2/index.js] @@ -227,7 +219,7 @@ export declare const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -240,23 +232,19 @@ export declare const pkg2 = 2; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14414619060-export const pkg2 = 2;", - "signature": "-6533861786-export declare const pkg2 = 2;\n", - "impliedFormat": 1 + "signature": "-6533861786-export declare const pkg2 = 2;\n" }, "version": "-14414619060-export const pkg2 = 2;", - "signature": "-6533861786-export declare const pkg2 = 2;\n", - "impliedFormat": "commonjs" + "signature": "-6533861786-export declare const pkg2 = 2;\n" } }, "root": [ @@ -271,32 +259,10 @@ export declare const pkg2 = 2; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg0/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/pkg0/index.ts: *new* {} @@ -430,7 +396,7 @@ var someConst2 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -443,23 +409,19 @@ var someConst2 = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-7839887915-export const pkg0 = 0;const someConst2 = 10;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": 1 + "signature": "-4821832606-export declare const pkg0 = 0;\n" }, "version": "-7839887915-export const pkg0 = 0;const someConst2 = 10;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "signature": "-4821832606-export declare const pkg0 = 0;\n" } }, "root": [ @@ -474,7 +436,7 @@ var someConst2 = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 755 + "size": 719 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -549,7 +511,7 @@ export declare const someConst = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -562,23 +524,19 @@ export declare const someConst = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;", - "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n", - "impliedFormat": 1 + "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n" }, "version": "1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;", - "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n" } }, "root": [ @@ -593,7 +551,7 @@ export declare const someConst = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 820 + "size": 784 } diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js index 990f85d68eebe..e6e545986f125 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js @@ -155,7 +155,7 @@ export declare const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -168,23 +168,19 @@ export declare const pkg0 = 0; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-10197922616-export const pkg0 = 0;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": 1 + "signature": "-4821832606-export declare const pkg0 = 0;\n" }, "version": "-10197922616-export const pkg0 = 0;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "signature": "-4821832606-export declare const pkg0 = 0;\n" } }, "root": [ @@ -199,7 +195,7 @@ export declare const pkg0 = 0; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg1/index.js] @@ -214,7 +210,7 @@ export declare const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -227,23 +223,19 @@ export declare const pkg1 = 1; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-10158787190-export const pkg1 = 1;", - "signature": "-3530363548-export declare const pkg1 = 1;\n", - "impliedFormat": 1 + "signature": "-3530363548-export declare const pkg1 = 1;\n" }, "version": "-10158787190-export const pkg1 = 1;", - "signature": "-3530363548-export declare const pkg1 = 1;\n", - "impliedFormat": "commonjs" + "signature": "-3530363548-export declare const pkg1 = 1;\n" } }, "root": [ @@ -258,7 +250,7 @@ export declare const pkg1 = 1; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg2/index.js] @@ -273,7 +265,7 @@ export declare const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -286,23 +278,19 @@ export declare const pkg2 = 2; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14414619060-export const pkg2 = 2;", - "signature": "-6533861786-export declare const pkg2 = 2;\n", - "impliedFormat": 1 + "signature": "-6533861786-export declare const pkg2 = 2;\n" }, "version": "-14414619060-export const pkg2 = 2;", - "signature": "-6533861786-export declare const pkg2 = 2;\n", - "impliedFormat": "commonjs" + "signature": "-6533861786-export declare const pkg2 = 2;\n" } }, "root": [ @@ -317,7 +305,7 @@ export declare const pkg2 = 2; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg3/index.js] @@ -332,7 +320,7 @@ export declare const pkg3 = 3; //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14375483634-export const pkg3 = 3;","signature":"-5242392728-export declare const pkg3 = 3;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14375483634-export const pkg3 = 3;","signature":"-5242392728-export declare const pkg3 = 3;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -345,23 +333,19 @@ export declare const pkg3 = 3; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14375483634-export const pkg3 = 3;", - "signature": "-5242392728-export declare const pkg3 = 3;\n", - "impliedFormat": 1 + "signature": "-5242392728-export declare const pkg3 = 3;\n" }, "version": "-14375483634-export const pkg3 = 3;", - "signature": "-5242392728-export declare const pkg3 = 3;\n", - "impliedFormat": "commonjs" + "signature": "-5242392728-export declare const pkg3 = 3;\n" } }, "root": [ @@ -376,7 +360,7 @@ export declare const pkg3 = 3; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg4/index.js] @@ -391,7 +375,7 @@ export declare const pkg4 = 4; //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14336348208-export const pkg4 = 4;","signature":"-3950923670-export declare const pkg4 = 4;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14336348208-export const pkg4 = 4;","signature":"-3950923670-export declare const pkg4 = 4;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -404,23 +388,19 @@ export declare const pkg4 = 4; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14336348208-export const pkg4 = 4;", - "signature": "-3950923670-export declare const pkg4 = 4;\n", - "impliedFormat": 1 + "signature": "-3950923670-export declare const pkg4 = 4;\n" }, "version": "-14336348208-export const pkg4 = 4;", - "signature": "-3950923670-export declare const pkg4 = 4;\n", - "impliedFormat": "commonjs" + "signature": "-3950923670-export declare const pkg4 = 4;\n" } }, "root": [ @@ -435,36 +415,10 @@ export declare const pkg4 = 4; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg0/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg3/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg4/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/pkg0/index.ts: *new* {} @@ -660,7 +614,7 @@ var someConst2 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -673,23 +627,19 @@ var someConst2 = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-7839887915-export const pkg0 = 0;const someConst2 = 10;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": 1 + "signature": "-4821832606-export declare const pkg0 = 0;\n" }, "version": "-7839887915-export const pkg0 = 0;const someConst2 = 10;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "signature": "-4821832606-export declare const pkg0 = 0;\n" } }, "root": [ @@ -704,7 +654,7 @@ var someConst2 = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 755 + "size": 719 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -781,7 +731,7 @@ export declare const someConst = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -794,23 +744,19 @@ export declare const someConst = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;", - "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n", - "impliedFormat": 1 + "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n" }, "version": "1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;", - "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n" } }, "root": [ @@ -825,7 +771,7 @@ export declare const someConst = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 820 + "size": 784 } diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js index 057bf7940b9b4..0b3d0efe3fee1 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js @@ -224,7 +224,7 @@ export declare const pkg0 = 0; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10197922616-export const pkg0 = 0;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -237,23 +237,19 @@ export declare const pkg0 = 0; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-10197922616-export const pkg0 = 0;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": 1 + "signature": "-4821832606-export declare const pkg0 = 0;\n" }, "version": "-10197922616-export const pkg0 = 0;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "signature": "-4821832606-export declare const pkg0 = 0;\n" } }, "root": [ @@ -268,7 +264,7 @@ export declare const pkg0 = 0; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg1/index.js] @@ -283,7 +279,7 @@ export declare const pkg1 = 1; //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10158787190-export const pkg1 = 1;","signature":"-3530363548-export declare const pkg1 = 1;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -296,23 +292,19 @@ export declare const pkg1 = 1; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-10158787190-export const pkg1 = 1;", - "signature": "-3530363548-export declare const pkg1 = 1;\n", - "impliedFormat": 1 + "signature": "-3530363548-export declare const pkg1 = 1;\n" }, "version": "-10158787190-export const pkg1 = 1;", - "signature": "-3530363548-export declare const pkg1 = 1;\n", - "impliedFormat": "commonjs" + "signature": "-3530363548-export declare const pkg1 = 1;\n" } }, "root": [ @@ -327,7 +319,7 @@ export declare const pkg1 = 1; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg2/index.js] @@ -342,7 +334,7 @@ export declare const pkg2 = 2; //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14414619060-export const pkg2 = 2;","signature":"-6533861786-export declare const pkg2 = 2;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -355,23 +347,19 @@ export declare const pkg2 = 2; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14414619060-export const pkg2 = 2;", - "signature": "-6533861786-export declare const pkg2 = 2;\n", - "impliedFormat": 1 + "signature": "-6533861786-export declare const pkg2 = 2;\n" }, "version": "-14414619060-export const pkg2 = 2;", - "signature": "-6533861786-export declare const pkg2 = 2;\n", - "impliedFormat": "commonjs" + "signature": "-6533861786-export declare const pkg2 = 2;\n" } }, "root": [ @@ -386,7 +374,7 @@ export declare const pkg2 = 2; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg3/index.js] @@ -401,7 +389,7 @@ export declare const pkg3 = 3; //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14375483634-export const pkg3 = 3;","signature":"-5242392728-export declare const pkg3 = 3;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14375483634-export const pkg3 = 3;","signature":"-5242392728-export declare const pkg3 = 3;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg3/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -414,23 +402,19 @@ export declare const pkg3 = 3; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14375483634-export const pkg3 = 3;", - "signature": "-5242392728-export declare const pkg3 = 3;\n", - "impliedFormat": 1 + "signature": "-5242392728-export declare const pkg3 = 3;\n" }, "version": "-14375483634-export const pkg3 = 3;", - "signature": "-5242392728-export declare const pkg3 = 3;\n", - "impliedFormat": "commonjs" + "signature": "-5242392728-export declare const pkg3 = 3;\n" } }, "root": [ @@ -445,7 +429,7 @@ export declare const pkg3 = 3; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg4/index.js] @@ -460,7 +444,7 @@ export declare const pkg4 = 4; //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14336348208-export const pkg4 = 4;","signature":"-3950923670-export declare const pkg4 = 4;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14336348208-export const pkg4 = 4;","signature":"-3950923670-export declare const pkg4 = 4;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg4/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -473,23 +457,19 @@ export declare const pkg4 = 4; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14336348208-export const pkg4 = 4;", - "signature": "-3950923670-export declare const pkg4 = 4;\n", - "impliedFormat": 1 + "signature": "-3950923670-export declare const pkg4 = 4;\n" }, "version": "-14336348208-export const pkg4 = 4;", - "signature": "-3950923670-export declare const pkg4 = 4;\n", - "impliedFormat": "commonjs" + "signature": "-3950923670-export declare const pkg4 = 4;\n" } }, "root": [ @@ -504,7 +484,7 @@ export declare const pkg4 = 4; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg5/index.js] @@ -519,7 +499,7 @@ export declare const pkg5 = 5; //// [/user/username/projects/myproject/pkg5/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14297212782-export const pkg5 = 5;","signature":"-2659454612-export declare const pkg5 = 5;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14297212782-export const pkg5 = 5;","signature":"-2659454612-export declare const pkg5 = 5;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg5/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -532,23 +512,19 @@ export declare const pkg5 = 5; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14297212782-export const pkg5 = 5;", - "signature": "-2659454612-export declare const pkg5 = 5;\n", - "impliedFormat": 1 + "signature": "-2659454612-export declare const pkg5 = 5;\n" }, "version": "-14297212782-export const pkg5 = 5;", - "signature": "-2659454612-export declare const pkg5 = 5;\n", - "impliedFormat": "commonjs" + "signature": "-2659454612-export declare const pkg5 = 5;\n" } }, "root": [ @@ -563,7 +539,7 @@ export declare const pkg5 = 5; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg6/index.js] @@ -578,7 +554,7 @@ export declare const pkg6 = 6; //// [/user/username/projects/myproject/pkg6/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14258077356-export const pkg6 = 6;","signature":"-5662952850-export declare const pkg6 = 6;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14258077356-export const pkg6 = 6;","signature":"-5662952850-export declare const pkg6 = 6;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg6/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -591,23 +567,19 @@ export declare const pkg6 = 6; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14258077356-export const pkg6 = 6;", - "signature": "-5662952850-export declare const pkg6 = 6;\n", - "impliedFormat": 1 + "signature": "-5662952850-export declare const pkg6 = 6;\n" }, "version": "-14258077356-export const pkg6 = 6;", - "signature": "-5662952850-export declare const pkg6 = 6;\n", - "impliedFormat": "commonjs" + "signature": "-5662952850-export declare const pkg6 = 6;\n" } }, "root": [ @@ -622,7 +594,7 @@ export declare const pkg6 = 6; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } //// [/user/username/projects/myproject/pkg7/index.js] @@ -637,7 +609,7 @@ export declare const pkg7 = 7; //// [/user/username/projects/myproject/pkg7/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14218941930-export const pkg7 = 7;","signature":"-4371483792-export declare const pkg7 = 7;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14218941930-export const pkg7 = 7;","signature":"-4371483792-export declare const pkg7 = 7;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg7/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -650,23 +622,19 @@ export declare const pkg7 = 7; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-14218941930-export const pkg7 = 7;", - "signature": "-4371483792-export declare const pkg7 = 7;\n", - "impliedFormat": 1 + "signature": "-4371483792-export declare const pkg7 = 7;\n" }, "version": "-14218941930-export const pkg7 = 7;", - "signature": "-4371483792-export declare const pkg7 = 7;\n", - "impliedFormat": "commonjs" + "signature": "-4371483792-export declare const pkg7 = 7;\n" } }, "root": [ @@ -681,42 +649,10 @@ export declare const pkg7 = 7; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 734 + "size": 698 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg0/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg3/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg4/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg5/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg6/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg7/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/pkg0/index.ts: *new* {} @@ -1005,7 +941,7 @@ var someConst2 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-7839887915-export const pkg0 = 0;const someConst2 = 10;","signature":"-4821832606-export declare const pkg0 = 0;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1018,23 +954,19 @@ var someConst2 = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-7839887915-export const pkg0 = 0;const someConst2 = 10;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": 1 + "signature": "-4821832606-export declare const pkg0 = 0;\n" }, "version": "-7839887915-export const pkg0 = 0;const someConst2 = 10;", - "signature": "-4821832606-export declare const pkg0 = 0;\n", - "impliedFormat": "commonjs" + "signature": "-4821832606-export declare const pkg0 = 0;\n" } }, "root": [ @@ -1049,7 +981,7 @@ var someConst2 = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 755 + "size": 719 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time @@ -1129,7 +1061,7 @@ export declare const someConst = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;","signature":"-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1142,23 +1074,19 @@ export declare const someConst = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;", - "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n", - "impliedFormat": 1 + "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n" }, "version": "1748855762-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;", - "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6216230055-export declare const pkg0 = 0;\nexport declare const someConst = 10;\n" } }, "root": [ @@ -1173,7 +1101,7 @@ export declare const someConst = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 820 + "size": 784 } @@ -1456,7 +1384,7 @@ export declare const someConst3 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1469,23 +1397,19 @@ export declare const someConst3 = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;", - "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n", - "impliedFormat": 1 + "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n" }, "version": "10857255042-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;", - "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n", - "impliedFormat": "commonjs" + "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n" } }, "root": [ @@ -1500,7 +1424,7 @@ export declare const someConst3 = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 890 + "size": 854 } @@ -1726,7 +1650,7 @@ var someConst4 = 10; //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;","signature":"-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/pkg0/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1739,23 +1663,19 @@ var someConst4 = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;", - "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n", - "impliedFormat": 1 + "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n" }, "version": "27277091473-export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export const someConst3 = 10;const someConst4 = 10;", - "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n", - "impliedFormat": "commonjs" + "signature": "-13679921373-export declare const pkg0 = 0;\nexport declare const someConst = 10;\nexport declare const someConst3 = 10;\n" } }, "root": [ @@ -1770,7 +1690,7 @@ var someConst4 = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 912 + "size": 876 } //// [/user/username/projects/myproject/pkg1/tsconfig.tsbuildinfo] file changed its modified time diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index f979fa27e5e21..681d167881028 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -113,7 +113,7 @@ export declare function f2(): void; //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing","impliedFormat":1}],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-9393727241-export declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing"],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-9393727241-export declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -126,22 +126,15 @@ export declare function f2(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { - "original": { - "version": "8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing", - "impliedFormat": 1 - }, "version": "8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing", - "signature": "8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing", - "impliedFormat": "commonjs" + "signature": "8649344783-export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing" } }, "root": [ @@ -162,7 +155,7 @@ export declare function f2(): void; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 933 + "size": 885 } //// [/user/username/projects/myproject/webpack/index.js] @@ -199,7 +192,7 @@ export declare function f22(): void; //// [/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing","impliedFormat":1}],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-2037002130-export declare function f2(): void;\nexport declare class c2 {\n}\nexport declare enum e2 {\n}\nexport declare function f22(): void;\n"]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing"],"root":[2],"options":{"composite":true},"emitSignatures":[[2,"-2037002130-export declare function f2(): void;\nexport declare class c2 {\n}\nexport declare enum e2 {\n}\nexport declare function f22(): void;\n"]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/webpack/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -212,22 +205,15 @@ export declare function f22(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { - "original": { - "version": "20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing", - "impliedFormat": 1 - }, "version": "20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing", - "signature": "20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing", - "impliedFormat": "commonjs" + "signature": "20140662566-export function f2() { }\nexport class c2 { }\nexport enum e2 { }\n// leading\nexport function f22() { } // trailing" } }, "root": [ @@ -248,30 +234,10 @@ export declare function f22(): void; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 940 + "size": 892 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/webpack/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/shared/index.ts: *new* {} @@ -399,7 +365,7 @@ export declare function f2(): void; //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"14127205977-export function fooBar() {}export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing","signature":"1966424426-export declare function fooBar(): void;\nexport declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"14127205977-export function fooBar() {}export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing","signature":"1966424426-export declare function fooBar(): void;\nexport declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/shared/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -412,23 +378,19 @@ export declare function f2(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "14127205977-export function fooBar() {}export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing", - "signature": "1966424426-export declare function fooBar(): void;\nexport declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n", - "impliedFormat": 1 + "signature": "1966424426-export declare function fooBar(): void;\nexport declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n" }, "version": "14127205977-export function fooBar() {}export function f1() { }\nexport class c { }\nexport enum e { }\n// leading\nexport function f2() { } // trailing", - "signature": "1966424426-export declare function fooBar(): void;\nexport declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n", - "impliedFormat": "commonjs" + "signature": "1966424426-export declare function fooBar(): void;\nexport declare function f1(): void;\nexport declare class c {\n}\nexport declare enum e {\n}\nexport declare function f2(): void;\n" } }, "root": [ @@ -443,7 +405,7 @@ export declare function f2(): void; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 990 + "size": 954 } diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index 2cec2538e14ef..37f0afcb3ec55 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -135,7 +135,7 @@ export * from "./session"; //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n","impliedFormat":1},{"version":"-5356193041-export * from \"./session\";\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -154,32 +154,23 @@ export * from "./session"; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../src/pure/session.ts": { "original": { "version": "1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n", - "signature": "-1218067212-export interface Session {\n foo: number;\n}\n", - "impliedFormat": 1 + "signature": "-1218067212-export interface Session {\n foo: number;\n}\n" }, "version": "1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n", - "signature": "-1218067212-export interface Session {\n foo: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-1218067212-export interface Session {\n foo: number;\n}\n" }, "../../src/pure/index.ts": { - "original": { - "version": "-5356193041-export * from \"./session\";\n", - "impliedFormat": 1 - }, "version": "-5356193041-export * from \"./session\";\n", - "signature": "-5356193041-export * from \"./session\";\n", - "impliedFormat": "commonjs" + "signature": "-5356193041-export * from \"./session\";\n" } }, "root": [ @@ -205,7 +196,7 @@ export * from "./session"; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1078 + "size": 1012 } //// [/user/username/projects/reexport/out/main/index.js] @@ -219,28 +210,6 @@ exports.session = { PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/reexport/out/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/reexport/out/pure/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/reexport/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/reexport/src/main/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/reexport/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/reexport/src/pure/package.json: *new* {"pollingInterval":2000} @@ -360,7 +329,7 @@ export interface Session { //// [/user/username/projects/reexport/out/pure/index.js] file written with same contents //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"309257137-export interface Session {\n foo: number;\n bar: number;\n}\n","impliedFormat":1},{"version":"-5356193041-export * from \"./session\";\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./session.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"309257137-export interface Session {\n foo: number;\n bar: number;\n}\n","-5356193041-export * from \"./session\";\n"],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./session.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -379,31 +348,19 @@ export interface Session { "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../src/pure/session.ts": { - "original": { - "version": "309257137-export interface Session {\n foo: number;\n bar: number;\n}\n", - "impliedFormat": 1 - }, "version": "309257137-export interface Session {\n foo: number;\n bar: number;\n}\n", - "signature": "309257137-export interface Session {\n foo: number;\n bar: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "309257137-export interface Session {\n foo: number;\n bar: number;\n}\n" }, "../../src/pure/index.ts": { - "original": { - "version": "-5356193041-export * from \"./session\";\n", - "impliedFormat": 1 - }, "version": "-5356193041-export * from \"./session\";\n", - "signature": "-5356193041-export * from \"./session\";\n", - "impliedFormat": "commonjs" + "signature": "-5356193041-export * from \"./session\";\n" } }, "root": [ @@ -429,7 +386,7 @@ export interface Session { "latestChangedDtsFile": "./session.d.ts" }, "version": "FakeTSVersion", - "size": 1000 + "size": 922 } @@ -553,7 +510,7 @@ export interface Session { //// [/user/username/projects/reexport/out/pure/index.js] file written with same contents //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n","impliedFormat":1},{"version":"-5356193041-export * from \"./session\";\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./session.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../src/pure/session.ts","../../src/pure/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n","signature":"-1218067212-export interface Session {\n foo: number;\n}\n"},"-5356193041-export * from \"./session\";\n"],"root":[2,3],"options":{"composite":true,"outDir":"..","rootDir":"../../src"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./session.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/reexport/out/pure/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -572,32 +529,23 @@ export interface Session { "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../src/pure/session.ts": { "original": { "version": "1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n", - "signature": "-1218067212-export interface Session {\n foo: number;\n}\n", - "impliedFormat": 1 + "signature": "-1218067212-export interface Session {\n foo: number;\n}\n" }, "version": "1782339311-export interface Session {\n foo: number;\n // bar: number;\n}\n", - "signature": "-1218067212-export interface Session {\n foo: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-1218067212-export interface Session {\n foo: number;\n}\n" }, "../../src/pure/index.ts": { - "original": { - "version": "-5356193041-export * from \"./session\";\n", - "impliedFormat": 1 - }, "version": "-5356193041-export * from \"./session\";\n", - "signature": "-5356193041-export * from \"./session\";\n", - "impliedFormat": "commonjs" + "signature": "-5356193041-export * from \"./session\";\n" } }, "root": [ @@ -623,7 +571,7 @@ export interface Session { "latestChangedDtsFile": "./session.d.ts" }, "version": "FakeTSVersion", - "size": 1080 + "size": 1014 } diff --git a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js index c33c596d92639..f5339b51f4ceb 100644 --- a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js +++ b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project-and-shared-is-first.js @@ -99,30 +99,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/shared/tsconfig.json'... -File '/home/src/workspaces/projects/shared/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist. -File '/home/src/workspaces/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts Default library for target 'es5' projects/shared/src/logging.ts @@ -135,37 +111,6 @@ projects/shared/src/random.ts [HH:MM:SS AM] Building project '/home/src/workspaces/projects/server/tsconfig.json'... -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/server/src/package.json' does not exist. -File '/home/src/workspaces/projects/server/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/workspaces/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. @@ -176,9 +121,6 @@ Loading module as file / folder, candidate module location '/home/src/workspaces File name '/home/src/workspaces/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/projects/shared/src/myClass.ts'. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts Default library for target 'es5' projects/shared/dist/src/logging.d.ts @@ -241,7 +183,7 @@ export declare function randomFn(str: string): void; //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n","impliedFormat":1},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -256,43 +198,35 @@ export declare function randomFn(str: string): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/logging.ts": { "original": { "version": "-1222780632-export function log(str: string) {\n console.log(str);\n}\n", - "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": 1 + "signature": "2292560907-export declare function log(str: string): void;\n" }, "version": "-1222780632-export function log(str: string) {\n console.log(str);\n}\n", - "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "2292560907-export declare function log(str: string): void;\n" }, "../src/myclass.ts": { "original": { "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../src/random.ts": { "original": { "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" } }, "root": [ @@ -315,7 +249,7 @@ export declare function randomFn(str: string): void; "latestChangedDtsFile": "./src/random.d.ts" }, "version": "FakeTSVersion", - "size": 1265 + "size": 1193 } //// [/home/src/workspaces/projects/server/dist/server/src/server.js] @@ -329,7 +263,7 @@ export {}; //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"2292560907-export declare function log(str: string): void;\n","impliedFormat":1},{"version":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1},{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[3]],"referencedMap":[[5,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"2292560907-export declare function log(str: string): void;\n","-7943199723-export declare class MyClass {\n}\n","-1751303682-export declare function randomFn(str: string): void;\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[3]],"referencedMap":[[5,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -353,50 +287,31 @@ export {}; "../../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/dist/src/logging.d.ts": { - "original": { - "version": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": 1 - }, "version": "2292560907-export declare function log(str: string): void;\n", - "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "2292560907-export declare function log(str: string): void;\n" }, "../../../shared/dist/src/myclass.d.ts": { - "original": { - "version": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 - }, "version": "-7943199723-export declare class MyClass {\n}\n", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../../../shared/dist/src/random.d.ts": { - "original": { - "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 - }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" }, "../../src/server.ts": { "original": { "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -458,38 +373,10 @@ export {}; "latestChangedDtsFile": "./src/server.d.ts" }, "version": "FakeTSVersion", - "size": 1477 + "size": 1351 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/home/package.json: *new* - {"pollingInterval":2000} -/home/src/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/server/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/server/src/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/dist/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/dist/src/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/src/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /home/src/workspaces/projects/server/src/server.ts: *new* {} @@ -623,30 +510,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/shared/tsconfig.json'... -File '/home/src/workspaces/projects/shared/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist. -File '/home/src/workspaces/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts Default library for target 'es5' projects/shared/src/logging.ts @@ -674,7 +537,7 @@ export declare const x = 10; //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -689,43 +552,35 @@ export declare const x = 10; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/logging.ts": { "original": { "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../src/myclass.ts": { "original": { "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../src/random.ts": { "original": { "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" } }, "root": [ @@ -748,7 +603,7 @@ export declare const x = 10; "latestChangedDtsFile": "./src/logging.d.ts" }, "version": "FakeTSVersion", - "size": 1315 + "size": 1243 } @@ -765,37 +620,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/server/tsconfig.json'... -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/server/src/package.json' does not exist. -File '/home/src/workspaces/projects/server/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/workspaces/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. @@ -806,9 +630,6 @@ Loading module as file / folder, candidate module location '/home/src/workspaces File name '/home/src/workspaces/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/projects/shared/src/myClass.ts'. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts Default library for target 'es5' projects/shared/dist/src/logging.d.ts @@ -828,7 +649,7 @@ projects/server/src/server.ts //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1},{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[3]],"referencedMap":[[5,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../../shared/dist/src/random.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-7943199723-export declare class MyClass {\n}\n","-1751303682-export declare function randomFn(str: string): void;\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,5]],"resolvedRoot":[[2,6],[3,7],[4,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[3]],"referencedMap":[[5,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -852,50 +673,31 @@ projects/server/src/server.ts "../../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/dist/src/logging.d.ts": { - "original": { - "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 - }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../../../shared/dist/src/myclass.d.ts": { - "original": { - "version": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 - }, "version": "-7943199723-export declare class MyClass {\n}\n", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../../../shared/dist/src/random.d.ts": { - "original": { - "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 - }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" }, "../../src/server.ts": { "original": { "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -957,7 +759,7 @@ projects/server/src/server.ts "latestChangedDtsFile": "./src/server.d.ts" }, "version": "FakeTSVersion", - "size": 1508 + "size": 1382 } @@ -1054,23 +856,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/shared/tsconfig.json'... -File '/home/src/workspaces/projects/shared/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist. -File '/home/src/workspaces/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts Default library for target 'es5' projects/shared/src/logging.ts @@ -1080,7 +865,7 @@ projects/shared/src/myClass.ts //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1094,33 +879,27 @@ projects/shared/src/myClass.ts "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/logging.ts": { "original": { "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../src/myclass.ts": { "original": { "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" } }, "root": [ @@ -1140,38 +919,10 @@ projects/shared/src/myClass.ts "latestChangedDtsFile": "./src/logging.d.ts" }, "version": "FakeTSVersion", - "size": 1102 + "size": 1048 } -PolledWatches:: -/a/lib/package.json: - {"pollingInterval":2000} -/a/package.json: - {"pollingInterval":2000} -/home/package.json: - {"pollingInterval":2000} -/home/src/package.json: - {"pollingInterval":2000} -/home/src/workspaces/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/server/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/server/src/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/dist/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/dist/src/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/src/package.json: - {"pollingInterval":2000} -/package.json: - {"pollingInterval":2000} - FsWatches:: /home/src/workspaces/projects/server/src/server.ts: {} @@ -1209,29 +960,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/server/tsconfig.json'... -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/server/src/package.json' does not exist. -File '/home/src/workspaces/projects/server/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/workspaces/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. @@ -1242,9 +970,6 @@ Loading module as file / folder, candidate module location '/home/src/workspaces File name '/home/src/workspaces/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/projects/shared/src/myClass.ts'. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts Default library for target 'es5' projects/shared/dist/src/logging.d.ts @@ -1261,7 +986,7 @@ projects/server/src/server.ts //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"resolvedRoot":[[2,5],[3,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"resolvedRoot":[[2,5],[3,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1283,41 +1008,27 @@ projects/server/src/server.ts "../../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/dist/src/logging.d.ts": { - "original": { - "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 - }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../../../shared/dist/src/myclass.d.ts": { - "original": { - "version": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 - }, "version": "-7943199723-export declare class MyClass {\n}\n", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../../src/server.ts": { "original": { "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -1368,7 +1079,7 @@ projects/server/src/server.ts "latestChangedDtsFile": "./src/server.d.ts" }, "version": "FakeTSVersion", - "size": 1332 + "size": 1236 } diff --git a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js index 2dfb3db5c3886..28a0b6bcd1c80 100644 --- a/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js +++ b/tests/baselines/reference/tsbuildWatch/roots/when-root-file-is-from-referenced-project.js @@ -99,30 +99,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/shared/tsconfig.json'... -File '/home/src/workspaces/projects/shared/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist. -File '/home/src/workspaces/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts Default library for target 'es5' projects/shared/src/logging.ts @@ -135,13 +111,6 @@ projects/shared/src/random.ts [HH:MM:SS AM] Building project '/home/src/workspaces/projects/server/tsconfig.json'... -File '/home/src/workspaces/projects/server/src/package.json' does not exist. -File '/home/src/workspaces/projects/server/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/workspaces/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. @@ -152,33 +121,6 @@ Loading module as file / folder, candidate module location '/home/src/workspaces File name '/home/src/workspaces/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/projects/shared/src/myClass.ts'. ======== -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts Default library for target 'es5' projects/shared/dist/src/myClass.d.ts @@ -241,7 +183,7 @@ export declare function randomFn(str: string): void; //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n","impliedFormat":1},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-1222780632-export function log(str: string) {\n console.log(str);\n}\n","signature":"2292560907-export declare function log(str: string): void;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/random.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -256,43 +198,35 @@ export declare function randomFn(str: string): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/logging.ts": { "original": { "version": "-1222780632-export function log(str: string) {\n console.log(str);\n}\n", - "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": 1 + "signature": "2292560907-export declare function log(str: string): void;\n" }, "version": "-1222780632-export function log(str: string) {\n console.log(str);\n}\n", - "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "2292560907-export declare function log(str: string): void;\n" }, "../src/myclass.ts": { "original": { "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../src/random.ts": { "original": { "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" } }, "root": [ @@ -315,7 +249,7 @@ export declare function randomFn(str: string): void; "latestChangedDtsFile": "./src/random.d.ts" }, "version": "FakeTSVersion", - "size": 1265 + "size": 1193 } //// [/home/src/workspaces/projects/server/dist/server/src/server.js] @@ -329,7 +263,7 @@ export {}; //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"2292560907-export declare function log(str: string): void;\n","impliedFormat":1},{"version":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1}],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"2292560907-export declare function log(str: string): void;\n","-1751303682-export declare function randomFn(str: string): void;\n"],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -353,50 +287,31 @@ export {}; "../../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/dist/src/myclass.d.ts": { - "original": { - "version": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 - }, "version": "-7943199723-export declare class MyClass {\n}\n", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../../src/server.ts": { "original": { "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../../../shared/dist/src/logging.d.ts": { - "original": { - "version": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": 1 - }, "version": "2292560907-export declare function log(str: string): void;\n", - "signature": "2292560907-export declare function log(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "2292560907-export declare function log(str: string): void;\n" }, "../../../shared/dist/src/random.d.ts": { - "original": { - "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 - }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" } }, "root": [ @@ -458,38 +373,10 @@ export {}; "latestChangedDtsFile": "./src/server.d.ts" }, "version": "FakeTSVersion", - "size": 1477 + "size": 1351 } -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/home/package.json: *new* - {"pollingInterval":2000} -/home/src/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/server/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/server/src/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/dist/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/dist/src/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/src/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /home/src/workspaces/projects/server/src/server.ts: *new* {} @@ -623,30 +510,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/shared/tsconfig.json'... -File '/home/src/workspaces/projects/shared/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist. -File '/home/src/workspaces/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts Default library for target 'es5' projects/shared/src/logging.ts @@ -674,7 +537,7 @@ export declare const x = 10; //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts","../src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"},{"version":"4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n","signature":"-1751303682-export declare function randomFn(str: string): void;\n"}],"root":[[2,4]],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -689,43 +552,35 @@ export declare const x = 10; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/logging.ts": { "original": { "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../src/myclass.ts": { "original": { "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../src/random.ts": { "original": { "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" }, "version": "4380863035-export function randomFn(str: string) {\n console.log(str);\n}\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" } }, "root": [ @@ -748,7 +603,7 @@ export declare const x = 10; "latestChangedDtsFile": "./src/logging.d.ts" }, "version": "FakeTSVersion", - "size": 1315 + "size": 1243 } @@ -765,13 +620,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/server/tsconfig.json'... -File '/home/src/workspaces/projects/server/src/package.json' does not exist. -File '/home/src/workspaces/projects/server/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/workspaces/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. @@ -782,33 +630,6 @@ Loading module as file / folder, candidate module location '/home/src/workspaces File name '/home/src/workspaces/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/projects/shared/src/myClass.ts'. ======== -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts Default library for target 'es5' projects/shared/dist/src/myClass.d.ts @@ -828,7 +649,7 @@ projects/shared/dist/src/random.d.ts //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-1751303682-export declare function randomFn(str: string): void;\n","impliedFormat":1}],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/dist/src/random.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts","../../../shared/src/random.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","-1751303682-export declare function randomFn(str: string): void;\n"],"root":[[2,5]],"resolvedRoot":[[4,6],[2,7],[5,8]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -852,50 +673,31 @@ projects/shared/dist/src/random.d.ts "../../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/dist/src/myclass.d.ts": { - "original": { - "version": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 - }, "version": "-7943199723-export declare class MyClass {\n}\n", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../../src/server.ts": { "original": { "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../../../shared/dist/src/logging.d.ts": { - "original": { - "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 - }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../../../shared/dist/src/random.d.ts": { - "original": { - "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": 1 - }, "version": "-1751303682-export declare function randomFn(str: string): void;\n", - "signature": "-1751303682-export declare function randomFn(str: string): void;\n", - "impliedFormat": "commonjs" + "signature": "-1751303682-export declare function randomFn(str: string): void;\n" } }, "root": [ @@ -957,7 +759,7 @@ projects/shared/dist/src/random.d.ts "latestChangedDtsFile": "./src/server.d.ts" }, "version": "FakeTSVersion", - "size": 1508 + "size": 1382 } @@ -1054,23 +856,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/shared/tsconfig.json'... -File '/home/src/workspaces/projects/shared/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist. -File '/home/src/workspaces/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/workspaces/projects/shared/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts Default library for target 'es5' projects/shared/src/logging.ts @@ -1080,7 +865,7 @@ projects/shared/src/myClass.ts //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../src/logging.ts","../src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;","signature":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"},{"version":"-10369713935-export class MyClass { }","signature":"-7943199723-export declare class MyClass {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/logging.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/shared/dist/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1094,33 +879,27 @@ projects/shared/src/myClass.ts "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/logging.ts": { "original": { "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "version": "483739938-export function log(str: string) {\n console.log(str);\n}\nexport const x = 10;", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" }, "../src/myclass.ts": { "original": { "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "version": "-10369713935-export class MyClass { }", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" } }, "root": [ @@ -1140,38 +919,10 @@ projects/shared/src/myClass.ts "latestChangedDtsFile": "./src/logging.d.ts" }, "version": "FakeTSVersion", - "size": 1102 + "size": 1048 } -PolledWatches:: -/a/lib/package.json: - {"pollingInterval":2000} -/a/package.json: - {"pollingInterval":2000} -/home/package.json: - {"pollingInterval":2000} -/home/src/package.json: - {"pollingInterval":2000} -/home/src/workspaces/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/server/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/server/src/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/dist/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/dist/src/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/package.json: - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/src/package.json: - {"pollingInterval":2000} -/package.json: - {"pollingInterval":2000} - FsWatches:: /home/src/workspaces/projects/server/src/server.ts: {} @@ -1209,13 +960,6 @@ Output:: [HH:MM:SS AM] Building project '/home/src/workspaces/projects/server/tsconfig.json'... -File '/home/src/workspaces/projects/server/src/package.json' does not exist. -File '/home/src/workspaces/projects/server/package.json' does not exist. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module ':shared/myClass.js' from '/home/src/workspaces/projects/server/src/server.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/workspaces/projects/server/src', using this value to resolve non-relative module name ':shared/myClass.js'. @@ -1226,25 +970,6 @@ Loading module as file / folder, candidate module location '/home/src/workspaces File name '/home/src/workspaces/projects/shared/src/myClass.js' has a '.js' extension - stripping it. File '/home/src/workspaces/projects/shared/src/myClass.ts' exists - use it as a name resolution result. ======== Module name ':shared/myClass.js' was successfully resolved to '/home/src/workspaces/projects/shared/src/myClass.ts'. ======== -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/shared/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/workspaces/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../a/lib/lib.d.ts Default library for target 'es5' projects/shared/dist/src/myClass.d.ts @@ -1261,7 +986,7 @@ projects/shared/dist/src/logging.d.ts //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7943199723-export declare class MyClass {\n}\n","impliedFormat":1},{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n","impliedFormat":1}],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/dist/src/myclass.d.ts","../../src/server.ts","../../../shared/dist/src/logging.d.ts","../../../shared/src/logging.ts","../../../shared/src/myclass.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7943199723-export declare class MyClass {\n}\n",{"version":"-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n","signature":"-3531856636-export {};\n"},"-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n"],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"outDir":"..","rootDir":"../../.."},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/server.d.ts"},"version":"FakeTSVersion"} //// [/home/src/workspaces/projects/server/dist/server/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1283,41 +1008,27 @@ projects/shared/dist/src/logging.d.ts "../../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/dist/src/myclass.d.ts": { - "original": { - "version": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": 1 - }, "version": "-7943199723-export declare class MyClass {\n}\n", - "signature": "-7943199723-export declare class MyClass {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7943199723-export declare class MyClass {\n}\n" }, "../../src/server.ts": { "original": { "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-19159694382-import { MyClass } from ':shared/myClass.js';\nconsole.log('Hello, world!');\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../../../shared/dist/src/logging.d.ts": { - "original": { - "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": 1 - }, "version": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4937597761-export declare function log(str: string): void;\nexport declare const x = 10;\n" } }, "root": [ @@ -1368,7 +1079,7 @@ projects/shared/dist/src/logging.d.ts "latestChangedDtsFile": "./src/server.d.ts" }, "version": "FakeTSVersion", - "size": 1332 + "size": 1236 } diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js index fdc0e1c165ba3..753b712da5295 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js @@ -154,32 +154,6 @@ exports.pkg3 = 3; -PolledWatches:: -/a/lib/package.json: *new* - {"pollingInterval":2000} -/a/package.json: *new* - {"pollingInterval":2000} -/package.json: *new* - {"pollingInterval":2000} -/user/package.json: *new* - {"pollingInterval":2000} -/user/username/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg0/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/pkg3/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/typings/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/pkg0/index.ts: *new* {} @@ -495,34 +469,6 @@ Output:: -PolledWatches:: -/a/lib/package.json: - {"pollingInterval":2000} -/a/package.json: - {"pollingInterval":2000} -/package.json: - {"pollingInterval":2000} -/user/package.json: - {"pollingInterval":2000} -/user/username/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/pkg0/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/pkg1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/pkg2/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/typings/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/pkg3/package.json: - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/pkg0/index.ts: {} @@ -715,30 +661,6 @@ Output:: -PolledWatches *deleted*:: -/a/lib/package.json: - {"pollingInterval":2000} -/a/package.json: - {"pollingInterval":2000} -/package.json: - {"pollingInterval":2000} -/user/package.json: - {"pollingInterval":2000} -/user/username/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/pkg0/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/pkg1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/pkg2/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/typings/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} - FsWatches:: /user/username/projects/myproject/tsconfig.json: {} diff --git a/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js b/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js index 12da95cf03a4a..9678146451376 100644 --- a/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js +++ b/tests/baselines/reference/tsc/cancellationToken/when-emitting-buildInfo.js @@ -114,7 +114,7 @@ export declare class D { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"6071811233-export var C = class CReal {\n d = 1;\n};","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n","impliedFormat":1},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"6071811233-export var C = class CReal {\n d = 1;\n};","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -138,53 +138,43 @@ export declare class D { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "6071811233-export var C = class CReal {\n d = 1;\n};", - "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n", - "impliedFormat": 1 + "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n" }, "version": "6071811233-export var C = class CReal {\n d = 1;\n};", - "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n", - "impliedFormat": "commonjs" + "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n" }, "./b.ts": { "original": { "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", - "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": 1 + "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n" }, "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", - "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": "commonjs" + "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./d.ts": { "original": { "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": 1 + "signature": "-8611429667-export declare class D {\n}\n" }, "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8611429667-export declare class D {\n}\n" } }, "root": [ @@ -214,7 +204,7 @@ export declare class D { } }, "version": "FakeTSVersion", - "size": 1327 + "size": 1237 } @@ -268,7 +258,7 @@ Operation ws cancelled:: true //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n","impliedFormat":1},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"changeFileSet":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"changeFileSet":[2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -292,53 +282,43 @@ Operation ws cancelled:: true "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}", - "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n", - "impliedFormat": 1 + "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n" }, "version": "-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}", - "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n", - "impliedFormat": "commonjs" + "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n" }, "./b.ts": { "original": { "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", - "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": 1 + "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n" }, "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", - "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": "commonjs" + "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./d.ts": { "original": { "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": 1 + "signature": "-8611429667-export declare class D {\n}\n" }, "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8611429667-export declare class D {\n}\n" } }, "root": [ @@ -371,7 +351,7 @@ Operation ws cancelled:: true ] }, "version": "FakeTSVersion", - "size": 1372 + "size": 1282 } @@ -432,7 +412,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n","impliedFormat":1},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -456,53 +436,43 @@ export declare function foo(): void; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}", - "signature": "-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n" }, "version": "-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}", - "signature": "-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n" }, "./b.ts": { "original": { "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", - "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": 1 + "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n" }, "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", - "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": "commonjs" + "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./d.ts": { "original": { "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": 1 + "signature": "-8611429667-export declare class D {\n}\n" }, "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8611429667-export declare class D {\n}\n" } }, "root": [ @@ -532,7 +502,7 @@ export declare function foo(): void; } }, "version": "FakeTSVersion", - "size": 1389 + "size": 1299 } diff --git a/tests/baselines/reference/tsc/cancellationToken/when-using-state.js b/tests/baselines/reference/tsc/cancellationToken/when-using-state.js index eb97047e20b34..cb000edb42bb1 100644 --- a/tests/baselines/reference/tsc/cancellationToken/when-using-state.js +++ b/tests/baselines/reference/tsc/cancellationToken/when-using-state.js @@ -114,7 +114,7 @@ export declare class D { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"6071811233-export var C = class CReal {\n d = 1;\n};","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n","impliedFormat":1},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"6071811233-export var C = class CReal {\n d = 1;\n};","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -138,53 +138,43 @@ export declare class D { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "6071811233-export var C = class CReal {\n d = 1;\n};", - "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n", - "impliedFormat": 1 + "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n" }, "version": "6071811233-export var C = class CReal {\n d = 1;\n};", - "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n", - "impliedFormat": "commonjs" + "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n" }, "./b.ts": { "original": { "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", - "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": 1 + "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n" }, "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", - "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": "commonjs" + "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./d.ts": { "original": { "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": 1 + "signature": "-8611429667-export declare class D {\n}\n" }, "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8611429667-export declare class D {\n}\n" } }, "root": [ @@ -214,7 +204,7 @@ export declare class D { } }, "version": "FakeTSVersion", - "size": 1327 + "size": 1237 } @@ -268,7 +258,7 @@ Operation ws cancelled:: true //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n","impliedFormat":1},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"changeFileSet":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"changeFileSet":[2]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -292,53 +282,43 @@ Operation ws cancelled:: true "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}", - "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n", - "impliedFormat": 1 + "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n" }, "version": "-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}", - "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n", - "impliedFormat": "commonjs" + "signature": "-2874569268-export declare var C: {\n new (): {\n d: number;\n };\n};\n" }, "./b.ts": { "original": { "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", - "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": 1 + "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n" }, "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", - "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": "commonjs" + "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./d.ts": { "original": { "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": 1 + "signature": "-8611429667-export declare class D {\n}\n" }, "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8611429667-export declare class D {\n}\n" } }, "root": [ @@ -371,7 +351,7 @@ Operation ws cancelled:: true ] }, "version": "FakeTSVersion", - "size": 1372 + "size": 1282 } @@ -432,7 +412,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n","impliedFormat":1},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}","signature":"-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n"},{"version":"-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}","signature":"-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -456,53 +436,43 @@ export declare function foo(): void; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}", - "signature": "-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n" }, "version": "-8116587914-export var C = class CReal {\n d = 1;\n};export function foo() {}", - "signature": "-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-544179862-export declare var C: {\n new (): {\n d: number;\n };\n};\nexport declare function foo(): void;\n" }, "./b.ts": { "original": { "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", - "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": 1 + "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n" }, "version": "-6441446591-import {C} from './c';\nexport class B {\n c = new C();\n}", - "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n", - "impliedFormat": "commonjs" + "signature": "-12916012021-export declare class B {\n c: {\n d: number;\n };\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./d.ts": { "original": { "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": 1 + "signature": "-8611429667-export declare class D {\n}\n" }, "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8611429667-export declare class D {\n}\n" } }, "root": [ @@ -532,7 +502,7 @@ export declare function foo(): void; } }, "version": "FakeTSVersion", - "size": 1389 + "size": 1299 } diff --git a/tests/baselines/reference/tsc/composite/converting-to-modules.js b/tests/baselines/reference/tsc/composite/converting-to-modules.js index 0d35fc6eb1713..97637ecf1d916 100644 --- a/tests/baselines/reference/tsc/composite/converting-to-modules.js +++ b/tests/baselines/reference/tsc/composite/converting-to-modules.js @@ -42,7 +42,7 @@ var x = 10; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./src/main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./src/main.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -55,25 +55,21 @@ var x = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/main.ts": { "original": { "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -89,7 +85,7 @@ var x = 10; "latestChangedDtsFile": "./src/main.d.ts" }, "version": "FakeTSVersion", - "size": 826 + "size": 790 } @@ -113,7 +109,7 @@ exitCode:: ExitStatus.Success //// [/src/project/src/main.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"composite":true,"module":5},"latestChangedDtsFile":"./src/main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true}],"root":[2],"options":{"composite":true,"module":5},"latestChangedDtsFile":"./src/main.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -126,25 +122,21 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/main.ts": { "original": { "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -160,6 +152,6 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./src/main.d.ts" }, "version": "FakeTSVersion", - "size": 826 + "size": 790 } diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js index 90be8bd2b8703..f4daf4e6153e4 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-moduleCaseChange.js @@ -100,12 +100,6 @@ interface Array { length: number; [n: number]: T; } /a/lib/tsc.js -p plugin-one --explainFiles Output:: -File '/user/username/projects/myproject/plugin-one/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/action.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -124,13 +118,6 @@ File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== -File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. -File '/user/username/projects/myproject/plugin-one/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -144,12 +131,6 @@ File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts', result '/user/username/projects/myProject/plugin-two/index.d.ts'. ======== Module name 'plugin-two' was successfully resolved to '/user/username/projects/myProject/plugin-two/index.d.ts'. ======== -File '/user/username/projects/myProject/plugin-two/package.json' does not exist. -File '/user/username/projects/myProject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'typescript-fsa' from '/user/username/projects/myProject/plugin-two/index.d.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -168,10 +149,6 @@ File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== -File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' plugin-one/node_modules/typescript-fsa/index.d.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js index 531388d069099..56d3133c71b5b 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js @@ -106,12 +106,6 @@ interface Array { length: number; [n: number]: T; } /a/lib/tsc.js -p plugin-one --explainFiles Output:: -File '/user/username/projects/myproject/plugin-one/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -149,9 +143,6 @@ File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== -File '/user/username/projects/myProject/plugin-two/dist/commonjs/package.json' does not exist. -File '/user/username/projects/myProject/plugin-two/dist/package.json' does not exist. -Found 'package.json' at '/user/username/projects/myProject/plugin-two/package.json'. ======== Resolving module 'typescript-fsa' from '/user/username/projects/myProject/plugin-two/dist/commonjs/index.d.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -172,11 +163,6 @@ File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== -File '/user/username/projects/myProject/plugin-two/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. -File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' plugin-two/node_modules/typescript-fsa/index.d.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js index 483e9f429a73f..366ea665d6944 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js @@ -106,12 +106,6 @@ interface Array { length: number; [n: number]: T; } /a/lib/tsc.js -p plugin-one --explainFiles Output:: -File '/user/username/projects/myproject/plugin-one/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -149,9 +143,6 @@ File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== -File '/user/username/projects/myproject/plugin-two/dist/commonjs/package.json' does not exist. -File '/user/username/projects/myproject/plugin-two/dist/package.json' does not exist. -Found 'package.json' at '/user/username/projects/myproject/plugin-two/package.json'. ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-two/dist/commonjs/index.d.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -172,11 +163,6 @@ File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== -File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. -File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' plugin-two/node_modules/typescript-fsa/index.d.ts diff --git a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js index 8828fb560b709..4a79a18f881ef 100644 --- a/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js +++ b/tests/baselines/reference/tsc/declarationEmit/when-same-version-is-referenced-through-source-and-another-symlinked-package.js @@ -100,12 +100,6 @@ interface Array { length: number; [n: number]: T; } /a/lib/tsc.js -p plugin-one --explainFiles Output:: -File '/user/username/projects/myproject/plugin-one/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-one/action.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -124,13 +118,6 @@ File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== -File '/user/username/projects/myproject/plugin-one/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. -File '/user/username/projects/myproject/plugin-one/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'plugin-two' from '/user/username/projects/myproject/plugin-one/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'plugin-two' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -144,12 +131,6 @@ File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index File '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/user/username/projects/myproject/plugin-one/node_modules/plugin-two/index.d.ts', result '/user/username/projects/myproject/plugin-two/index.d.ts'. ======== Module name 'plugin-two' was successfully resolved to '/user/username/projects/myproject/plugin-two/index.d.ts'. ======== -File '/user/username/projects/myproject/plugin-two/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'typescript-fsa' from '/user/username/projects/myproject/plugin-two/index.d.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'typescript-fsa' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -168,10 +149,6 @@ File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/i 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts', result '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts'. ======== Module name 'typescript-fsa' was successfully resolved to '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/index.d.ts' with Package ID 'typescript-fsa/index.d.ts@3.0.0-beta-2'. ======== -File '/user/username/projects/myproject/plugin-two/node_modules/typescript-fsa/package.json' exists according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' plugin-one/node_modules/typescript-fsa/index.d.ts diff --git a/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js b/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js index 1d1041dbd6b80..e2da2d7747018 100644 --- a/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js +++ b/tests/baselines/reference/tsc/extends/configDir-template-with-commandline.js @@ -102,11 +102,6 @@ declare const console: { log(msg: any): void; }; Output:: /lib/tsc -p /home/src/projects/myproject --explainFiles --outDir ${configDir}/outDir -File '/home/src/projects/myproject/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. @@ -116,18 +111,6 @@ Trying substitution '/home/src/projects/myproject/types/*', candidate module loc Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== -File '/home/src/projects/myproject/types/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/src/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. @@ -149,16 +132,6 @@ File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/index.d.ts', result '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== Module name 'other/sometype2' was successfully resolved to '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== -File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/root2/other/package.json' does not exist. -File '/home/src/projects/myproject/root2/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../lib/lib.d.ts Default library for target 'es5' types/sometype.ts diff --git a/tests/baselines/reference/tsc/extends/configDir-template.js b/tests/baselines/reference/tsc/extends/configDir-template.js index a77ed7b7f5c63..1d9956dd25663 100644 --- a/tests/baselines/reference/tsc/extends/configDir-template.js +++ b/tests/baselines/reference/tsc/extends/configDir-template.js @@ -102,11 +102,6 @@ declare const console: { log(msg: any): void; }; Output:: /lib/tsc -p /home/src/projects/myproject --explainFiles -File '/home/src/projects/myproject/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. @@ -116,18 +111,6 @@ Trying substitution '/home/src/projects/myproject/types/*', candidate module loc Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== -File '/home/src/projects/myproject/types/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/src/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. @@ -149,16 +132,6 @@ File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/index.d.ts', result '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== Module name 'other/sometype2' was successfully resolved to '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== -File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/root2/other/package.json' does not exist. -File '/home/src/projects/myproject/root2/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../lib/lib.d.ts Default library for target 'es5' types/sometype.ts diff --git a/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js b/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js index 4fee3d4bc199b..50e79387bcb99 100644 --- a/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tsc/extends/resolves-the-symlink-path.js @@ -56,7 +56,7 @@ export declare const x = 10; //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"6873164248-// some comment\nexport const x = 10;\n","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"removeComments":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"6873164248-// some comment\nexport const x = 10;\n","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true,"removeComments":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -69,23 +69,19 @@ export declare const x = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "6873164248-// some comment\nexport const x = 10;\n", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "6873164248-// some comment\nexport const x = 10;\n", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" } }, "root": [ @@ -101,7 +97,7 @@ export declare const x = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 769 + "size": 733 } diff --git a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-type-ref-from-file.js b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-type-ref-from-file.js index 7ea061cd3d89b..271574fe815fb 100644 --- a/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-type-ref-from-file.js +++ b/tests/baselines/reference/tsc/forceConsistentCasingInFileNames/with-type-ref-from-file.js @@ -30,10 +30,6 @@ declare class c { } Output:: /lib/tsc -p /src/project/src --explainFiles --traceResolution -File '/src/project/src/package.json' does not exist. -File '/src/project/package.json' does not exist. -File '/src/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving type reference directive './fileOne.d.ts', containing file '/src/project/src/file2.d.ts', root directory '/src/project/src/node_modules/@types,/src/project/node_modules/@types,/src/node_modules/@types,/node_modules/@types'. ======== Resolving with primary search path '/src/project/src/node_modules/@types, /src/project/node_modules/@types, /src/node_modules/@types, /node_modules/@types'. Directory '/src/project/src/node_modules/@types' does not exist, skipping all lookups in it. @@ -46,12 +42,6 @@ File name '/src/project/src/fileOne.d.ts' has a '.d.ts' extension - stripping it File '/src/project/src/fileOne.d.ts' exists - use it as a name resolution result. Resolving real path for '/src/project/src/fileOne.d.ts', result '/src/project/src/fileOne.d.ts'. ======== Type reference directive './fileOne.d.ts' was successfully resolved to '/src/project/src/fileOne.d.ts', primary: false. ======== -File '/src/project/src/package.json' does not exist according to earlier cached lookups. -File '/src/project/package.json' does not exist according to earlier cached lookups. -File '/src/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/lib/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. lib/lib.d.ts Default library for target 'es5' src/project/src/fileOne.d.ts diff --git a/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field-with-declaration-emit-enabled.js b/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field-with-declaration-emit-enabled.js index d94d64ed0059b..e5ee4aa77aecc 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field-with-declaration-emit-enabled.js +++ b/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field-with-declaration-emit-enabled.js @@ -83,7 +83,7 @@ var wrapper = function () { return Messageable(); }; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileInfos":[{"version":"5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true,"impliedFormat":1},{"version":"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n","impliedFormat":1},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2,3],"options":{"declaration":true},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileInfos":[{"version":"5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true},{"version":"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n"},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":true},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -102,33 +102,27 @@ var wrapper = function () { return Messageable(); }; "../../lib/lib.d.ts": { "original": { "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "signature": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./messageableperson.ts": { "original": { "version": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n", - "impliedFormat": 1 + "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n" }, "version": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n", - "impliedFormat": "commonjs" + "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n" }, "./main.ts": { "original": { "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -151,7 +145,7 @@ var wrapper = function () { return Messageable(); }; } }, "version": "FakeTSVersion", - "size": 1675 + "size": 1621 } @@ -206,7 +200,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/src/project/main.js] file written with same contents //// [/src/project/MessageablePerson.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileInfos":[{"version":"5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true,"impliedFormat":1},{"version":"3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected.","impliedFormat":1},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2,3],"options":{"declaration":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":131,"length":7,"messageText":"Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses.","category":1,"code":2445}]]],"emitDiagnosticsPerFile":[[2,[{"start":116,"length":7,"messageText":"Property 'message' of exported class expression may not be private or protected.","category":1,"code":4094}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileInfos":[{"version":"5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true},{"version":"3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected."},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":131,"length":7,"messageText":"Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses.","category":1,"code":2445}]]],"emitDiagnosticsPerFile":[[2,[{"start":116,"length":7,"messageText":"Property 'message' of exported class expression may not be private or protected.","category":1,"code":4094}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -225,33 +219,27 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "../../lib/lib.d.ts": { "original": { "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "signature": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./messageableperson.ts": { "original": { "version": "3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "signature": "-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected.", - "impliedFormat": 1 + "signature": "-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected." }, "version": "3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "signature": "-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected.", - "impliedFormat": "commonjs" + "signature": "-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected." }, "./main.ts": { "original": { "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -302,7 +290,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped ] }, "version": "FakeTSVersion", - "size": 2162 + "size": 2108 } @@ -358,7 +346,7 @@ exitCode:: ExitStatus.Success //// [/src/project/MessageablePerson.d.ts] file written with same contents //// [/src/project/MessageablePerson.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileInfos":[{"version":"5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true,"impliedFormat":1},{"version":"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n","impliedFormat":1},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2,3],"options":{"declaration":true},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileInfos":[{"version":"5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true},{"version":"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n"},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":true},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -377,33 +365,27 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "signature": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./messageableperson.ts": { "original": { "version": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n", - "impliedFormat": 1 + "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n" }, "version": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n", - "impliedFormat": "commonjs" + "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n" }, "./main.ts": { "original": { "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -426,7 +408,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1675 + "size": 1621 } diff --git a/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field.js b/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field.js index d3d58a1e259f0..127ca9bc89b4e 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field.js +++ b/tests/baselines/reference/tsc/incremental/change-to-modifier-of-class-expression-field.js @@ -69,7 +69,7 @@ var wrapper = function () { return Messageable(); }; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileInfos":[{"version":"5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true,"impliedFormat":1},{"version":"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","impliedFormat":1},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","impliedFormat":1}],"root":[2,3],"options":{"declaration":false},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileInfos":[{"version":"5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true},"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}"],"root":[2,3],"options":{"declaration":false},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -88,31 +88,19 @@ var wrapper = function () { return Messageable(); }; "../../lib/lib.d.ts": { "original": { "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "signature": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./messageableperson.ts": { - "original": { - "version": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "impliedFormat": 1 - }, "version": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "signature": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "impliedFormat": "commonjs" + "signature": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;" }, "./main.ts": { - "original": { - "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "impliedFormat": 1 - }, "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "signature": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "impliedFormat": "commonjs" + "signature": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}" } }, "root": [ @@ -135,7 +123,7 @@ var wrapper = function () { return Messageable(); }; } }, "version": "FakeTSVersion", - "size": 1421 + "size": 1343 } @@ -181,7 +169,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/main.js] file written with same contents //// [/src/project/MessageablePerson.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileInfos":[{"version":"5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true,"impliedFormat":1},{"version":"3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected.","impliedFormat":1},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2,3],"options":{"declaration":false},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":131,"length":7,"messageText":"Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses.","category":1,"code":2445}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileInfos":[{"version":"5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true},{"version":"3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected."},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":false},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":131,"length":7,"messageText":"Property 'message' is protected and only accessible within class 'MessageableClass' and its subclasses.","category":1,"code":2445}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -200,33 +188,27 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "../../lib/lib.d.ts": { "original": { "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "signature": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./messageableperson.ts": { "original": { "version": "3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "signature": "-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected.", - "impliedFormat": 1 + "signature": "-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected." }, "version": "3462418372-const Messageable = () => {\n return class MessageableClass {\n protected message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "signature": "-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected.", - "impliedFormat": "commonjs" + "signature": "-21450256696-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n(116,7)Error4094: Property 'message' of exported class expression may not be private or protected." }, "./main.ts": { "original": { "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -263,7 +245,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "version": "FakeTSVersion", - "size": 1983 + "size": 1929 } @@ -309,7 +291,7 @@ exitCode:: ExitStatus.Success //// [/src/project/main.js] file written with same contents //// [/src/project/MessageablePerson.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileInfos":[{"version":"5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true,"impliedFormat":1},{"version":"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n","impliedFormat":1},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2,3],"options":{"declaration":false},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./messageableperson.ts","./main.ts"],"fileInfos":[{"version":"5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;","affectsGlobalScope":true},{"version":"31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;","signature":"-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n"},{"version":"4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"declaration":false},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -328,33 +310,27 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", "signature": "5700251342-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };type ReturnType any> = T extends (...args: any) => infer R ? R : any;\ntype InstanceType any> = T extends abstract new (...args: any) => infer R ? R : any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./messageableperson.ts": { "original": { "version": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n", - "impliedFormat": 1 + "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n" }, "version": "31173349369-const Messageable = () => {\n return class MessageableClass {\n public message = 'hello';\n }\n};\nconst wrapper = () => Messageable();\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;", - "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n", - "impliedFormat": "commonjs" + "signature": "-21006966954-declare const wrapper: () => {\n new (): {\n message: string;\n };\n};\ntype MessageablePerson = InstanceType>;\nexport default MessageablePerson;\n" }, "./main.ts": { "original": { "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4191603667-import MessageablePerson from './MessageablePerson.js';\nfunction logMessage( person: MessageablePerson ) {\n console.log( person.message );\n}", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -377,7 +353,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1676 + "size": 1622 } diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js index 9a6d62cbc9d2f..b021b91ccf812 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file-through-indirect-import.js @@ -75,7 +75,7 @@ Object.defineProperty(exports, "ConstantNumber", { enumerable: true, get: functi //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664763344-declare const a = 1;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2659799048-export default 1;","signature":"-183154784-declare const _default: 1;\nexport default _default;\n","impliedFormat":1},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1081498782-export { default as ConstantNumber } from \"./constants\";\n","impliedFormat":1},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./reexport.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664763344-declare const a = 1;\n","affectsGlobalScope":true},{"version":"-2659799048-export default 1;","signature":"-183154784-declare const _default: 1;\nexport default _default;\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1081498782-export { default as ConstantNumber } from \"./constants\";\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./reexport.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -99,56 +99,46 @@ Object.defineProperty(exports, "ConstantNumber", { enumerable: true, get: functi "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class1.ts": { "original": { "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", "signature": "-3664763344-declare const a = 1;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", "signature": "-3664763344-declare const a = 1;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./constants.ts": { "original": { "version": "-2659799048-export default 1;", - "signature": "-183154784-declare const _default: 1;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "-183154784-declare const _default: 1;\nexport default _default;\n" }, "version": "-2659799048-export default 1;", - "signature": "-183154784-declare const _default: 1;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "-183154784-declare const _default: 1;\nexport default _default;\n" }, "./reexport.ts": { "original": { "version": "-1476032387-export { default as ConstantNumber } from \"./constants\"", - "signature": "-1081498782-export { default as ConstantNumber } from \"./constants\";\n", - "impliedFormat": 1 + "signature": "-1081498782-export { default as ConstantNumber } from \"./constants\";\n" }, "version": "-1476032387-export { default as ConstantNumber } from \"./constants\"", - "signature": "-1081498782-export { default as ConstantNumber } from \"./constants\";\n", - "impliedFormat": "commonjs" + "signature": "-1081498782-export { default as ConstantNumber } from \"./constants\";\n" }, "./types.d.ts": { "original": { "version": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", "signature": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -179,7 +169,7 @@ Object.defineProperty(exports, "ConstantNumber", { enumerable: true, get: functi "latestChangedDtsFile": "./reexport.d.ts" }, "version": "FakeTSVersion", - "size": 1409 + "size": 1319 } @@ -221,7 +211,7 @@ exports.default = 2; //// [/src/project/reexport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664762255-declare const a = 2;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2659799015-export default 2;","signature":"-10876795135-declare const _default: 2;\nexport default _default;\n","impliedFormat":1},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1081498782-export { default as ConstantNumber } from \"./constants\";\n","impliedFormat":1},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]]],"latestChangedDtsFile":"./class1.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./reexport.ts","./types.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664762255-declare const a = 2;\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"-10876795135-declare const _default: 2;\nexport default _default;\n"},{"version":"-1476032387-export { default as ConstantNumber } from \"./constants\"","signature":"-1081498782-export { default as ConstantNumber } from \"./constants\";\n"},{"version":"2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[3],[4]],"referencedMap":[[4,1],[5,2]],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]]],"latestChangedDtsFile":"./class1.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -245,56 +235,46 @@ exports.default = 2; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class1.ts": { "original": { "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", "signature": "-3664762255-declare const a = 2;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", "signature": "-3664762255-declare const a = 2;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./constants.ts": { "original": { "version": "-2659799015-export default 2;", - "signature": "-10876795135-declare const _default: 2;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "-10876795135-declare const _default: 2;\nexport default _default;\n" }, "version": "-2659799015-export default 2;", - "signature": "-10876795135-declare const _default: 2;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "-10876795135-declare const _default: 2;\nexport default _default;\n" }, "./reexport.ts": { "original": { "version": "-1476032387-export { default as ConstantNumber } from \"./constants\"", - "signature": "-1081498782-export { default as ConstantNumber } from \"./constants\";\n", - "impliedFormat": 1 + "signature": "-1081498782-export { default as ConstantNumber } from \"./constants\";\n" }, "version": "-1476032387-export { default as ConstantNumber } from \"./constants\"", - "signature": "-1081498782-export { default as ConstantNumber } from \"./constants\";\n", - "impliedFormat": "commonjs" + "signature": "-1081498782-export { default as ConstantNumber } from \"./constants\";\n" }, "./types.d.ts": { "original": { "version": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", "signature": "2093085814-type MagicNumber = typeof import('./reexport').ConstantNumber", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -339,6 +319,6 @@ exports.default = 2; "latestChangedDtsFile": "./class1.d.ts" }, "version": "FakeTSVersion", - "size": 1550 + "size": 1460 } diff --git a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js index c9c968255ac24..6adf0cc704dc4 100644 --- a/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js +++ b/tests/baselines/reference/tsc/incremental/change-to-type-that-gets-used-as-global-through-export-in-another-file.js @@ -60,7 +60,7 @@ exports.default = 1; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664763344-declare const a = 1;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2659799048-export default 1;","signature":"-183154784-declare const _default: 1;\nexport default _default;\n","impliedFormat":1},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./constants.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664763344-declare const a = 1;\n","affectsGlobalScope":true},{"version":"-2659799048-export default 1;","signature":"-183154784-declare const _default: 1;\nexport default _default;\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./constants.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -80,46 +80,38 @@ exports.default = 1; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class1.ts": { "original": { "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", "signature": "-3664763344-declare const a = 1;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", "signature": "-3664763344-declare const a = 1;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./constants.ts": { "original": { "version": "-2659799048-export default 1;", - "signature": "-183154784-declare const _default: 1;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "-183154784-declare const _default: 1;\nexport default _default;\n" }, "version": "-2659799048-export default 1;", - "signature": "-183154784-declare const _default: 1;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "-183154784-declare const _default: 1;\nexport default _default;\n" }, "./types.d.ts": { "original": { "version": "-2080821236-type MagicNumber = typeof import('./constants').default", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-2080821236-type MagicNumber = typeof import('./constants').default", "signature": "-2080821236-type MagicNumber = typeof import('./constants').default", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -146,7 +138,7 @@ exports.default = 1; "latestChangedDtsFile": "./constants.d.ts" }, "version": "FakeTSVersion", - "size": 1190 + "size": 1118 } @@ -187,7 +179,7 @@ exports.default = 2; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664762255-declare const a = 2;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2659799015-export default 2;","signature":"-10876795135-declare const _default: 2;\nexport default _default;\n","impliedFormat":1},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]]],"latestChangedDtsFile":"./class1.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts","./constants.ts","./types.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"4085502068-const a: MagicNumber = 1;\nconsole.log(a);","signature":"-3664762255-declare const a = 2;\n","affectsGlobalScope":true},{"version":"-2659799015-export default 2;","signature":"-10876795135-declare const _default: 2;\nexport default _default;\n"},{"version":"-2080821236-type MagicNumber = typeof import('./constants').default","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"fileIdsList":[[3]],"referencedMap":[[4,1]],"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '1' is not assignable to type '2'."}]]],"latestChangedDtsFile":"./class1.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -207,46 +199,38 @@ exports.default = 2; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class1.ts": { "original": { "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", "signature": "-3664762255-declare const a = 2;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "4085502068-const a: MagicNumber = 1;\nconsole.log(a);", "signature": "-3664762255-declare const a = 2;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./constants.ts": { "original": { "version": "-2659799015-export default 2;", - "signature": "-10876795135-declare const _default: 2;\nexport default _default;\n", - "impliedFormat": 1 + "signature": "-10876795135-declare const _default: 2;\nexport default _default;\n" }, "version": "-2659799015-export default 2;", - "signature": "-10876795135-declare const _default: 2;\nexport default _default;\n", - "impliedFormat": "commonjs" + "signature": "-10876795135-declare const _default: 2;\nexport default _default;\n" }, "./types.d.ts": { "original": { "version": "-2080821236-type MagicNumber = typeof import('./constants').default", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-2080821236-type MagicNumber = typeof import('./constants').default", "signature": "-2080821236-type MagicNumber = typeof import('./constants').default", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -287,6 +271,6 @@ exports.default = 2; "latestChangedDtsFile": "./class1.d.ts" }, "version": "FakeTSVersion", - "size": 1330 + "size": 1258 } diff --git a/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js index 17a95b82ac243..918e09f7a194c 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/different-options-discrepancies.js @@ -8,24 +8,19 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "version": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -64,24 +59,19 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "version": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -123,24 +113,19 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "version": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -179,24 +164,19 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "version": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -238,24 +218,19 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "version": "-17390360476-export const a = 10;const aLocal = 100;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -294,24 +269,19 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "version": "-17390360476-export const a = 10;const aLocal = 100;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-discrepancies.js index 54113d75277c4..f1a01023d94fe 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-discrepancies.js @@ -8,24 +8,19 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "version": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -60,24 +55,19 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "version": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -119,24 +109,19 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "version": "-17390360476-export const a = 10;const aLocal = 100;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -171,24 +156,19 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" + "version": "-17390360476-export const a = 10;const aLocal = 100;" }, "./b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "version": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "version": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "version": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js index e84c1aa9a3254..e39854108f896 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile-discrepancies.js @@ -8,26 +8,11 @@ CleanBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -54,26 +39,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -108,26 +78,11 @@ CleanBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -154,26 +109,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js index 87d1a8ab6cacb..8fdc4924f846d 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental-with-outFile.js @@ -97,7 +97,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -110,46 +110,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -171,7 +136,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1034 + "size": 884 } @@ -243,7 +208,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -256,46 +221,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -318,7 +248,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1051 + "size": 901 } @@ -386,7 +316,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -399,46 +329,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -460,7 +355,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1034 + "size": 884 } @@ -515,7 +410,7 @@ declare module "d" { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -528,46 +423,11 @@ declare module "d" { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -590,7 +450,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1053 + "size": 903 } @@ -649,7 +509,7 @@ declare module "d" { {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -662,46 +522,11 @@ declare module "d" { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -725,7 +550,7 @@ declare module "d" { } }, "version": "FakeTSVersion", - "size": 1075 + "size": 925 } @@ -831,7 +656,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -844,46 +669,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -905,7 +695,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1035 + "size": 885 } @@ -948,7 +738,7 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.d.ts.map] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -961,46 +751,11 @@ No shapes updated in the builder:: "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1024,7 +779,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1076 + "size": 926 } @@ -1128,7 +883,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1141,46 +896,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1203,7 +923,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1058 + "size": 908 } @@ -1275,7 +995,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js","sourceMap":true}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1288,46 +1008,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1350,7 +1035,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1052 + "size": 902 } @@ -1418,7 +1103,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1431,46 +1116,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1492,7 +1142,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { } }, "version": "FakeTSVersion", - "size": 1035 + "size": 885 } @@ -1535,7 +1185,7 @@ No shapes updated in the builder:: //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.d.ts.map] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1548,46 +1198,11 @@ No shapes updated in the builder:: "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1611,7 +1226,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1076 + "size": 926 } diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-incremental.js b/tests/baselines/reference/tsc/incremental/different-options-with-incremental.js index 7957a9843af04..22479ae4f5df7 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-incremental.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-incremental.js @@ -106,7 +106,7 @@ exports.d = b_1.b; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -130,49 +130,27 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "signature": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "signature": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "signature": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "signature": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -199,7 +177,7 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1037 + "size": 899 } @@ -281,7 +259,7 @@ exports.d = b_1.b; {"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -305,49 +283,27 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "signature": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "signature": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "signature": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "signature": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -377,7 +333,7 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1066 + "size": 928 } @@ -446,7 +402,7 @@ exports.d = b_1.b; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -470,49 +426,27 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" + "signature": "-18487752940-export const a = 10;const aLocal = 10;" }, "./b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" + "signature": "-6189287562-export const b = 10;const bLocal = 10;" }, "./c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" + "signature": "3248317647-import { a } from \"./a\";export const c = a;" }, "./d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" + "signature": "-19615769517-import { b } from \"./b\";export const d = b;" } }, "root": [ @@ -539,7 +473,7 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1037 + "size": 899 } @@ -593,7 +527,7 @@ export declare const d = 10; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -617,53 +551,43 @@ export declare const d = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -693,7 +617,7 @@ export declare const d = 10; } }, "version": "FakeTSVersion", - "size": 1296 + "size": 1206 } @@ -760,7 +684,7 @@ export declare const d = 10; {"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -784,53 +708,43 @@ export declare const d = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -861,7 +775,7 @@ export declare const d = 10; } }, "version": "FakeTSVersion", - "size": 1318 + "size": 1228 } @@ -944,7 +858,7 @@ var aLocal = 100; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -968,53 +882,43 @@ var aLocal = 100; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1041,7 +945,7 @@ var aLocal = 100; } }, "version": "FakeTSVersion", - "size": 1266 + "size": 1176 } @@ -1088,7 +992,7 @@ No shapes updated in the builder:: //// [/src/project/d.d.ts] file written with same contents //// [/src/project/d.d.ts.map] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1112,53 +1016,43 @@ No shapes updated in the builder:: "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1189,7 +1083,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1319 + "size": 1229 } @@ -1292,7 +1186,7 @@ exports.d = b_1.b; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"inlineSourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"inlineSourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1316,53 +1210,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1392,7 +1276,7 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1301 + "size": 1211 } @@ -1468,7 +1352,7 @@ exports.d = b_1.b; //// [/src/project/d.js.map] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1492,53 +1376,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1568,7 +1442,7 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1295 + "size": 1205 } @@ -1637,7 +1511,7 @@ exports.d = b_1.b; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1661,53 +1535,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1734,7 +1598,7 @@ exports.d = b_1.b; } }, "version": "FakeTSVersion", - "size": 1266 + "size": 1176 } @@ -1781,7 +1645,7 @@ No shapes updated in the builder:: //// [/src/project/d.d.ts] file written with same contents //// [/src/project/d.d.ts.map] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1805,53 +1669,43 @@ No shapes updated in the builder:: "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1882,7 +1736,7 @@ No shapes updated in the builder:: } }, "version": "FakeTSVersion", - "size": 1319 + "size": 1229 } diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js b/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js index 4467e4ae0572e..c6e40e5d0a283 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-outFile-discrepancies.js @@ -6,26 +6,11 @@ CleanBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -56,26 +41,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -111,26 +81,11 @@ CleanBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -161,26 +116,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -214,26 +154,11 @@ CleanBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -264,26 +189,11 @@ IncrementalBuild: { "program": { "fileInfos": { - "../lib/lib.d.ts": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ diff --git a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js index ca314852a1053..5a63c62a53519 100644 --- a/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js +++ b/tests/baselines/reference/tsc/incremental/different-options-with-outFile.js @@ -112,7 +112,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -125,46 +125,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -189,7 +154,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1334 + "size": 1184 } @@ -261,7 +226,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAzB,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -274,46 +239,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -339,7 +269,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1351 + "size": 1201 } @@ -407,7 +337,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -420,46 +350,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -484,7 +379,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1334 + "size": 1184 } @@ -614,7 +509,7 @@ declare module "d" { {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";IAAA,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICApB,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;;;ICAI,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC;;;ICAnB,MAAM,CAAC,MAAM,CAAC,KAAI,CAAC"} //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -627,46 +522,11 @@ declare module "d" { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -693,7 +553,7 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1375 + "size": 1225 } @@ -747,7 +607,7 @@ declare module "d" { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-18487752940-export const a = 10;const aLocal = 10;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -760,46 +620,11 @@ declare module "d" { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": 1 - }, - "version": "-18487752940-export const a = 10;const aLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-18487752940-export const a = 10;const aLocal = 10;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -824,7 +649,7 @@ declare module "d" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1334 + "size": 1184 } @@ -966,7 +791,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -979,46 +804,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1043,7 +833,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1335 + "size": 1185 } @@ -1148,7 +938,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0RmlsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb2plY3QvYS50cyIsInByb2plY3QvYi50cyIsInByb2plY3QvYy50cyIsInByb2plY3QvZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0lBQWEsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsR0FBRyxDQUFDOzs7Ozs7SUNBMUIsUUFBQSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQUEsSUFBTSxNQUFNLEdBQUcsRUFBRSxDQUFDOzs7Ozs7SUNBRCxRQUFBLENBQUMsR0FBRyxLQUFDLENBQUM7Ozs7OztJQ0FOLFFBQUEsQ0FBQyxHQUFHLEtBQUMsQ0FBQyJ9 //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1161,46 +951,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1226,7 +981,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1358 + "size": 1208 } @@ -1298,7 +1053,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { {"version":3,"file":"outFile.js","sourceRoot":"","sources":["project/a.ts","project/b.ts","project/c.ts","project/d.ts"],"names":[],"mappings":";;;;IAAa,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,GAAG,CAAC;;;;;;ICA1B,QAAA,CAAC,GAAG,EAAE,CAAC;IAAA,IAAM,MAAM,GAAG,EAAE,CAAC;;;;;;ICAD,QAAA,CAAC,GAAG,KAAC,CAAC;;;;;;ICAN,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1311,46 +1066,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1376,7 +1096,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1352 + "size": 1202 } @@ -1471,7 +1191,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./outFile.js"},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1484,46 +1204,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1549,7 +1234,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1357 + "size": 1207 } @@ -1620,7 +1305,7 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { //// [/src/outFile.js.map] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts","./project/c.ts","./project/d.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-17390360476-export const a = 10;const aLocal = 100;","-6189287562-export const b = 10;const bLocal = 10;","3248317647-import { a } from \"./a\";export const c = a;","-19615769517-import { b } from \"./b\";export const d = b;"],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"module":2,"outFile":"./outFile.js","sourceMap":true},"outSignature":"-25657667359-declare module \"a\" {\n export const a = 10;\n}\ndeclare module \"b\" {\n export const b = 10;\n}\ndeclare module \"c\" {\n export const c = 10;\n}\ndeclare module \"d\" {\n export const d = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -1633,46 +1318,11 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "./project/d.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": 1 - }, - "version": "-17390360476-export const a = 10;const aLocal = 100;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": 1 - }, - "version": "-6189287562-export const b = 10;const bLocal = 10;", - "impliedFormat": "commonjs" - }, - "./project/c.ts": { - "original": { - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": 1 - }, - "version": "3248317647-import { a } from \"./a\";export const c = a;", - "impliedFormat": "commonjs" - }, - "./project/d.ts": { - "original": { - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": 1 - }, - "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "-17390360476-export const a = 10;const aLocal = 100;", + "./project/b.ts": "-6189287562-export const b = 10;const bLocal = 10;", + "./project/c.ts": "3248317647-import { a } from \"./a\";export const c = a;", + "./project/d.ts": "-19615769517-import { b } from \"./b\";export const d = b;" }, "root": [ [ @@ -1699,6 +1349,6 @@ define("d", ["require", "exports", "b"], function (require, exports, b_1) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1374 + "size": 1224 } diff --git a/tests/baselines/reference/tsc/incremental/different-options.js b/tests/baselines/reference/tsc/incremental/different-options.js index dfbfcca7791e9..47e7e20679a44 100644 --- a/tests/baselines/reference/tsc/incremental/different-options.js +++ b/tests/baselines/reference/tsc/incremental/different-options.js @@ -122,7 +122,7 @@ exports.d = b_1.b; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -146,53 +146,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -223,7 +213,7 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1328 + "size": 1238 } @@ -305,7 +295,7 @@ exports.d = b_1.b; {"version":3,"file":"d.js","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":";;;AAAA,yBAAwB;AAAa,QAAA,CAAC,GAAG,KAAC,CAAC"} //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -329,53 +319,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -407,7 +387,7 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1345 + "size": 1255 } @@ -476,7 +456,7 @@ exports.d = b_1.b; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -500,53 +480,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -577,7 +547,7 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1328 + "size": 1238 } @@ -711,7 +681,7 @@ export declare const d = 10; {"version":3,"file":"d.d.ts","sourceRoot":"","sources":["d.ts"],"names":[],"mappings":"AAAwB,eAAO,MAAM,CAAC,KAAI,CAAC"} //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"declaration":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -735,53 +705,43 @@ export declare const d = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -814,7 +774,7 @@ export declare const d = 10; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1369 + "size": 1279 } @@ -867,7 +827,7 @@ export declare const d = 10; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-18487752940-export const a = 10;const aLocal = 10;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -891,53 +851,43 @@ export declare const d = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-18487752940-export const a = 10;const aLocal = 10;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -968,7 +918,7 @@ export declare const d = 10; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1328 + "size": 1238 } @@ -1085,7 +1035,7 @@ var aLocal = 100; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1109,53 +1059,43 @@ var aLocal = 100; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1186,7 +1126,7 @@ var aLocal = 100; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1329 + "size": 1239 } @@ -1290,7 +1230,7 @@ exports.d = b_1.b; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseUJBQXdCO0FBQWEsUUFBQSxDQUFDLEdBQUcsS0FBQyxDQUFDIn0= //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"inlineSourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1314,53 +1254,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1392,7 +1322,7 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1352 + "size": 1262 } @@ -1468,7 +1398,7 @@ exports.d = b_1.b; //// [/src/project/d.js.map] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1492,53 +1422,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1570,7 +1490,7 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1346 + "size": 1256 } @@ -1668,7 +1588,7 @@ exports.d = b_1.b; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1692,53 +1612,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1770,7 +1680,7 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1351 + "size": 1261 } @@ -1845,7 +1755,7 @@ exports.d = b_1.b; //// [/src/project/d.js.map] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n","impliedFormat":1},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n","impliedFormat":1},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n","impliedFormat":1},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n","impliedFormat":1}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-17390360476-export const a = 10;const aLocal = 100;","signature":"-3497920574-export declare const a = 10;\n"},{"version":"-6189287562-export const b = 10;const bLocal = 10;","signature":"-3829150557-export declare const b = 10;\n"},{"version":"3248317647-import { a } from \"./a\";export const c = a;","signature":"-4160380540-export declare const c = 10;\n"},{"version":"-19615769517-import { b } from \"./b\";export const d = b;","signature":"-4491610523-export declare const d = 10;\n"}],"root":[[2,5]],"options":{"composite":true,"declarationMap":true,"sourceMap":true},"fileIdsList":[[2],[3]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./d.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1869,53 +1779,43 @@ exports.d = b_1.b; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": 1 + "signature": "-3497920574-export declare const a = 10;\n" }, "version": "-17390360476-export const a = 10;const aLocal = 100;", - "signature": "-3497920574-export declare const a = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3497920574-export declare const a = 10;\n" }, "./b.ts": { "original": { "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": 1 + "signature": "-3829150557-export declare const b = 10;\n" }, "version": "-6189287562-export const b = 10;const bLocal = 10;", - "signature": "-3829150557-export declare const b = 10;\n", - "impliedFormat": "commonjs" + "signature": "-3829150557-export declare const b = 10;\n" }, "./c.ts": { "original": { "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": 1 + "signature": "-4160380540-export declare const c = 10;\n" }, "version": "3248317647-import { a } from \"./a\";export const c = a;", - "signature": "-4160380540-export declare const c = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4160380540-export declare const c = 10;\n" }, "./d.ts": { "original": { "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": 1 + "signature": "-4491610523-export declare const d = 10;\n" }, "version": "-19615769517-import { b } from \"./b\";export const d = b;", - "signature": "-4491610523-export declare const d = 10;\n", - "impliedFormat": "commonjs" + "signature": "-4491610523-export declare const d = 10;\n" } }, "root": [ @@ -1948,6 +1848,6 @@ exports.d = b_1.b; "latestChangedDtsFile": "./d.d.ts" }, "version": "FakeTSVersion", - "size": 1368 + "size": 1278 } diff --git a/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js b/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js index e1209332e5e8a..c69a86c927bd3 100644 --- a/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js +++ b/tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js @@ -124,7 +124,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/src/project/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../src/box.ts","../src/wrap.ts","../src/bug.js"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14267342128-export interface Box {\n unbox(): T\n}\n","signature":"-15554117365-export interface Box {\n unbox(): T;\n}\n","impliedFormat":1},{"version":"-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n","signature":"-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n","impliedFormat":1},{"version":"-27771690375-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\n","signature":"-2569667161-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n","impliedFormat":1}],"root":[[2,4]],"options":{"checkJs":true,"composite":true,"outDir":"./"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./src/bug.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../src/box.ts","../src/wrap.ts","../src/bug.js"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14267342128-export interface Box {\n unbox(): T\n}\n","signature":"-15554117365-export interface Box {\n unbox(): T;\n}\n"},{"version":"-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n","signature":"-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n"},{"version":"-27771690375-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\n","signature":"-2569667161-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n"}],"root":[[2,4]],"options":{"checkJs":true,"composite":true,"outDir":"./"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./src/bug.d.ts"},"version":"FakeTSVersion"} //// [/src/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -145,43 +145,35 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/box.ts": { "original": { "version": "-14267342128-export interface Box {\n unbox(): T\n}\n", - "signature": "-15554117365-export interface Box {\n unbox(): T;\n}\n", - "impliedFormat": 1 + "signature": "-15554117365-export interface Box {\n unbox(): T;\n}\n" }, "version": "-14267342128-export interface Box {\n unbox(): T\n}\n", - "signature": "-15554117365-export interface Box {\n unbox(): T;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15554117365-export interface Box {\n unbox(): T;\n}\n" }, "../src/wrap.ts": { "original": { "version": "-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n", - "signature": "-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n", - "impliedFormat": 1 + "signature": "-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n" }, "version": "-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n", - "signature": "-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n", - "impliedFormat": "commonjs" + "signature": "-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n" }, "../src/bug.js": { "original": { "version": "-27771690375-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\n", - "signature": "-2569667161-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n", - "impliedFormat": 1 + "signature": "-2569667161-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n" }, "version": "-27771690375-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\n", - "signature": "-2569667161-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n", - "impliedFormat": "commonjs" + "signature": "-2569667161-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n" } }, "root": [ @@ -211,7 +203,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./src/bug.d.ts" }, "version": "FakeTSVersion", - "size": 1707 + "size": 1635 } @@ -281,7 +273,7 @@ exports.something = 1; //// [/src/project/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../src/box.ts","../src/wrap.ts","../src/bug.js"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14267342128-export interface Box {\n unbox(): T\n}\n","signature":"-15554117365-export interface Box {\n unbox(): T;\n}\n","impliedFormat":1},{"version":"-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n","signature":"-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n","impliedFormat":1},{"version":"-25729561895-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\nexport const something = 1;","signature":"-7681488146-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nexport const something: 1;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n","impliedFormat":1}],"root":[[2,4]],"options":{"checkJs":true,"composite":true,"outDir":"./"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./src/bug.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../src/box.ts","../src/wrap.ts","../src/bug.js"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14267342128-export interface Box {\n unbox(): T\n}\n","signature":"-15554117365-export interface Box {\n unbox(): T;\n}\n"},{"version":"-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n","signature":"-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n"},{"version":"-25729561895-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\nexport const something = 1;","signature":"-7681488146-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nexport const something: 1;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n"}],"root":[[2,4]],"options":{"checkJs":true,"composite":true,"outDir":"./"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./src/bug.d.ts"},"version":"FakeTSVersion"} //// [/src/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -302,43 +294,35 @@ exports.something = 1; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/box.ts": { "original": { "version": "-14267342128-export interface Box {\n unbox(): T\n}\n", - "signature": "-15554117365-export interface Box {\n unbox(): T;\n}\n", - "impliedFormat": 1 + "signature": "-15554117365-export interface Box {\n unbox(): T;\n}\n" }, "version": "-14267342128-export interface Box {\n unbox(): T\n}\n", - "signature": "-15554117365-export interface Box {\n unbox(): T;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15554117365-export interface Box {\n unbox(): T;\n}\n" }, "../src/wrap.ts": { "original": { "version": "-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n", - "signature": "-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n", - "impliedFormat": 1 + "signature": "-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n" }, "version": "-7208318765-export type Wrap = {\n [K in keyof C]: { wrapped: C[K] }\n}\n", - "signature": "-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n", - "impliedFormat": "commonjs" + "signature": "-7604652776-export type Wrap = {\n [K in keyof C]: {\n wrapped: C[K];\n };\n};\n" }, "../src/bug.js": { "original": { "version": "-25729561895-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\nexport const something = 1;", - "signature": "-7681488146-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nexport const something: 1;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n", - "impliedFormat": 1 + "signature": "-7681488146-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nexport const something: 1;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n" }, "version": "-25729561895-import * as B from \"./box.js\"\nimport * as W from \"./wrap.js\"\n\n/**\n * @template {object} C\n * @param {C} source\n * @returns {W.Wrap}\n */\nconst wrap = source => {\nthrow source\n}\n\n/**\n * @returns {B.Box}\n */\nconst box = (n = 0) => ({ unbox: () => n })\n\nexport const bug = wrap({ n: box(1) });\nexport const something = 1;", - "signature": "-7681488146-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nexport const something: 1;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n", - "impliedFormat": "commonjs" + "signature": "-7681488146-export const bug: W.Wrap<{\n n: B.Box;\n}>;\nexport const something: 1;\nimport * as B from \"./box.js\";\nimport * as W from \"./wrap.js\";\n" } }, "root": [ @@ -368,6 +352,6 @@ exports.something = 1; "latestChangedDtsFile": "./src/bug.d.ts" }, "version": "FakeTSVersion", - "size": 1762 + "size": 1690 } diff --git a/tests/baselines/reference/tsc/incremental/serializing-error-chains.js b/tests/baselines/reference/tsc/incremental/serializing-error-chains.js index 9b766934157dc..e2906918e3149 100644 --- a/tests/baselines/reference/tsc/incremental/serializing-error-chains.js +++ b/tests/baselines/reference/tsc/incremental/serializing-error-chains.js @@ -77,7 +77,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"7198220534-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface ReadonlyArray { readonly length: number }","affectsGlobalScope":true,"impliedFormat":1},{"version":"42569361247-declare namespace JSX {\n interface ElementChildrenAttribute { children: {}; }\n interface IntrinsicElements { div: {} }\n}\n\ndeclare var React: any;\n\ndeclare function Component(props: never): any;\ndeclare function Component(props: { children?: number }): any;\n(\n
\n
\n)","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"jsx":2,"module":99,"strict":true},"semanticDiagnosticsPerFile":[[2,[{"start":265,"length":9,"messageText":"This JSX tag's 'children' prop expects a single child of type 'never', but multiple children were provided.","category":1,"code":2746},{"start":265,"length":9,"messageText":"This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided.","category":1,"code":2746},{"start":265,"length":9,"code":2769,"category":1,"messageText":{"messageText":"No overload matches this call.","category":1,"code":2769,"next":[{"code":2746,"category":1,"messageText":"This JSX tag's 'children' prop expects a single child of type 'never', but multiple children were provided."},{"code":2746,"category":1,"messageText":"This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided."}]},"relatedInformation":[]}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"7198220534-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface ReadonlyArray { readonly length: number }","affectsGlobalScope":true},{"version":"42569361247-declare namespace JSX {\n interface ElementChildrenAttribute { children: {}; }\n interface IntrinsicElements { div: {} }\n}\n\ndeclare var React: any;\n\ndeclare function Component(props: never): any;\ndeclare function Component(props: { children?: number }): any;\n(\n
\n
\n)","affectsGlobalScope":true}],"root":[2],"options":{"jsx":2,"module":99,"strict":true},"semanticDiagnosticsPerFile":[[2,[{"start":265,"length":9,"messageText":"This JSX tag's 'children' prop expects a single child of type 'never', but multiple children were provided.","category":1,"code":2746},{"start":265,"length":9,"messageText":"This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided.","category":1,"code":2746},{"start":265,"length":9,"code":2769,"category":1,"messageText":{"messageText":"No overload matches this call.","category":1,"code":2769,"next":[{"code":2746,"category":1,"messageText":"This JSX tag's 'children' prop expects a single child of type 'never', but multiple children were provided."},{"code":2746,"category":1,"messageText":"This JSX tag's 'children' prop expects a single child of type 'number | undefined', but multiple children were provided."}]},"relatedInformation":[]}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -90,24 +90,20 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "../../lib/lib.d.ts": { "original": { "version": "7198220534-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface ReadonlyArray { readonly length: number }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "7198220534-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface ReadonlyArray { readonly length: number }", "signature": "7198220534-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };\ninterface ReadonlyArray { readonly length: number }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.tsx": { "original": { "version": "42569361247-declare namespace JSX {\n interface ElementChildrenAttribute { children: {}; }\n interface IntrinsicElements { div: {} }\n}\n\ndeclare var React: any;\n\ndeclare function Component(props: never): any;\ndeclare function Component(props: { children?: number }): any;\n(\n
\n
\n)", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "42569361247-declare namespace JSX {\n interface ElementChildrenAttribute { children: {}; }\n interface IntrinsicElements { div: {} }\n}\n\ndeclare var React: any;\n\ndeclare function Component(props: never): any;\ndeclare function Component(props: { children?: number }): any;\n(\n
\n
\n)", "signature": "42569361247-declare namespace JSX {\n interface ElementChildrenAttribute { children: {}; }\n interface IntrinsicElements { div: {} }\n}\n\ndeclare var React: any;\n\ndeclare function Component(props: never): any;\ndeclare function Component(props: { children?: number }): any;\n(\n
\n
\n)", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -168,7 +164,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "version": "FakeTSVersion", - "size": 1992 + "size": 1956 } diff --git a/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js b/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js index 4f18466076799..f232ea551d643 100644 --- a/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js +++ b/tests/baselines/reference/tsc/incremental/ts-file-with-no-default-lib-that-augments-the-global-scope.js @@ -66,7 +66,7 @@ export {}; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.esnext.d.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2443389309-/// \n/// \n\ndeclare global {\n interface Test {\n }\n}\n\nexport {};\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"module":99,"outDir":"./dist","rootDir":"./src","target":99}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.esnext.d.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-2443389309-/// \n/// \n\ndeclare global {\n interface Test {\n }\n}\n\nexport {};\n","affectsGlobalScope":true}],"root":[2],"options":{"module":99,"outDir":"./dist","rootDir":"./src","target":99}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -79,24 +79,20 @@ export {}; "../../lib/lib.esnext.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/main.ts": { "original": { "version": "-2443389309-/// \n/// \n\ndeclare global {\n interface Test {\n }\n}\n\nexport {};\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-2443389309-/// \n/// \n\ndeclare global {\n interface Test {\n }\n}\n\nexport {};\n", "signature": "-2443389309-/// \n/// \n\ndeclare global {\n interface Test {\n }\n}\n\nexport {};\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -113,6 +109,6 @@ export {}; } }, "version": "FakeTSVersion", - "size": 904 + "size": 868 } diff --git a/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js b/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js index 112a3c5cac17e..69491ed49859b 100644 --- a/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tsc/incremental/tsbuildinfo-has-error.js @@ -39,7 +39,7 @@ exports.x = 10; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1}],"root":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -52,22 +52,15 @@ exports.x = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" } }, "root": [ @@ -78,7 +71,7 @@ exports.x = 10; ] }, "version": "FakeTSVersion", - "size": 674 + "size": 626 } @@ -86,7 +79,7 @@ exports.x = 10; Change:: tsbuildinfo written has error Input:: //// [/src/project/tsconfig.tsbuildinfo] -Some random string{"program":{"fileNames":["../../lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1}],"root":[2]},"version":"FakeTSVersion"} +Some random string{"program":{"fileNames":["../../lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2]},"version":"FakeTSVersion"} @@ -97,6 +90,6 @@ exitCode:: ExitStatus.Success //// [/src/project/main.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1}],"root":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] file written with same contents diff --git a/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js b/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js index f230c57a6bef9..45e751644659c 100644 --- a/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js +++ b/tests/baselines/reference/tsc/incremental/when-file-is-deleted.js @@ -71,7 +71,7 @@ exports.D = D; //// [/src/project/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../file1.ts","../file2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9819564552-export class C { }","signature":"-8650565060-export declare class C {\n}\n","impliedFormat":1},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./file2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../file1.ts","../file2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9819564552-export class C { }","signature":"-8650565060-export declare class C {\n}\n"},{"version":"-7804761415-export class D { }","signature":"-8611429667-export declare class D {\n}\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./file2.d.ts"},"version":"FakeTSVersion"} //// [/src/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -85,33 +85,27 @@ exports.D = D; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../file1.ts": { "original": { "version": "-9819564552-export class C { }", - "signature": "-8650565060-export declare class C {\n}\n", - "impliedFormat": 1 + "signature": "-8650565060-export declare class C {\n}\n" }, "version": "-9819564552-export class C { }", - "signature": "-8650565060-export declare class C {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8650565060-export declare class C {\n}\n" }, "../file2.ts": { "original": { "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": 1 + "signature": "-8611429667-export declare class D {\n}\n" }, "version": "-7804761415-export class D { }", - "signature": "-8611429667-export declare class D {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8611429667-export declare class D {\n}\n" } }, "root": [ @@ -131,7 +125,7 @@ exports.D = D; "latestChangedDtsFile": "./file2.d.ts" }, "version": "FakeTSVersion", - "size": 949 + "size": 895 } @@ -147,7 +141,7 @@ exitCode:: ExitStatus.Success //// [/src/project/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../file1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9819564552-export class C { }","signature":"-8650565060-export declare class C {\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./file2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../file1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9819564552-export class C { }","signature":"-8650565060-export declare class C {\n}\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./file2.d.ts"},"version":"FakeTSVersion"} //// [/src/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -160,23 +154,19 @@ exitCode:: ExitStatus.Success "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../file1.ts": { "original": { "version": "-9819564552-export class C { }", - "signature": "-8650565060-export declare class C {\n}\n", - "impliedFormat": 1 + "signature": "-8650565060-export declare class C {\n}\n" }, "version": "-9819564552-export class C { }", - "signature": "-8650565060-export declare class C {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8650565060-export declare class C {\n}\n" } }, "root": [ @@ -192,6 +182,6 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./file2.d.ts" }, "version": "FakeTSVersion", - "size": 814 + "size": 778 } diff --git a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js index bdbe2494b3cae..9fa5b5e0de80c 100644 --- a/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js +++ b/tests/baselines/reference/tsc/incremental/when-global-file-is-added,-the-signatures-are-updated.js @@ -120,7 +120,7 @@ function main() { } //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-21256825585-/// \n/// \nfunction main() { }\n","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"latestChangedDtsFile":"./src/main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"-21256825585-/// \n/// \nfunction main() { }\n","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"latestChangedDtsFile":"./src/main.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -142,49 +142,41 @@ function main() { } "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/filepresent.ts": { "original": { "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/anotherfilewithsamereferenes.ts": { "original": { "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/main.ts": { "original": { "version": "-21256825585-/// \n/// \nfunction main() { }\n", "signature": "-1399491038-declare function main(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-21256825585-/// \n/// \nfunction main() { }\n", "signature": "-1399491038-declare function main(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -216,7 +208,7 @@ function main() { } "latestChangedDtsFile": "./src/main.d.ts" }, "version": "FakeTSVersion", - "size": 1529 + "size": 1457 } @@ -329,7 +321,7 @@ something(); //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-24702349751-/// \n/// \nfunction main() { }\nsomething();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"latestChangedDtsFile":"./src/main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"-24702349751-/// \n/// \nfunction main() { }\nsomething();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"latestChangedDtsFile":"./src/main.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -351,49 +343,41 @@ something(); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/filepresent.ts": { "original": { "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/anotherfilewithsamereferenes.ts": { "original": { "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/main.ts": { "original": { "version": "-24702349751-/// \n/// \nfunction main() { }\nsomething();", "signature": "-1399491038-declare function main(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-24702349751-/// \n/// \nfunction main() { }\nsomething();", "signature": "-1399491038-declare function main(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -425,7 +409,7 @@ something(); "latestChangedDtsFile": "./src/main.d.ts" }, "version": "FakeTSVersion", - "size": 1541 + "size": 1469 } @@ -492,7 +476,7 @@ something(); //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-20086051197-/// \n/// \nfunction main() { }\nsomething();something();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"latestChangedDtsFile":"./src/main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/main.ts","./src/filenotfound.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"-20086051197-/// \n/// \nfunction main() { }\nsomething();something();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true},"fileIdsList":[[2,5]],"referencedMap":[[3,1],[4,1]],"latestChangedDtsFile":"./src/main.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -514,49 +498,41 @@ something(); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/filepresent.ts": { "original": { "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/anotherfilewithsamereferenes.ts": { "original": { "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/main.ts": { "original": { "version": "-20086051197-/// \n/// \nfunction main() { }\nsomething();something();", "signature": "-1399491038-declare function main(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-20086051197-/// \n/// \nfunction main() { }\nsomething();something();", "signature": "-1399491038-declare function main(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -588,7 +564,7 @@ something(); "latestChangedDtsFile": "./src/main.d.ts" }, "version": "FakeTSVersion", - "size": 1553 + "size": 1481 } @@ -680,7 +656,7 @@ function foo() { return 20; } //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts","./src/filenotfound.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"5451387573-function foo() { return 20; }","signature":"517738360-declare function foo(): number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2,6],[2,4,6]],"referencedMap":[[3,1],[5,2]],"latestChangedDtsFile":"./src/newFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts","./src/filenotfound.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"517738360-declare function foo(): number;\n","affectsGlobalScope":true},{"version":"-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,5]],"options":{"composite":true},"fileIdsList":[[2,6],[2,4,6]],"referencedMap":[[3,1],[5,2]],"latestChangedDtsFile":"./src/newFile.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -708,61 +684,51 @@ function foo() { return 20; } "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/filepresent.ts": { "original": { "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/anotherfilewithsamereferenes.ts": { "original": { "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/newfile.ts": { "original": { "version": "5451387573-function foo() { return 20; }", "signature": "517738360-declare function foo(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5451387573-function foo() { return 20; }", "signature": "517738360-declare function foo(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/main.ts": { "original": { "version": "-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();", "signature": "-1399491038-declare function main(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();", "signature": "-1399491038-declare function main(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -796,7 +762,7 @@ function foo() { return 20; } "latestChangedDtsFile": "./src/newFile.d.ts" }, "version": "FakeTSVersion", - "size": 1785 + "size": 1695 } @@ -861,7 +827,7 @@ function something2() { return 20; } //// [/src/project/src/main.js] file written with same contents //// [/src/project/src/newFile.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/filenotfound.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9011934479-function something2() { return 20; }","signature":"-11412869068-declare function something2(): number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"5451387573-function foo() { return 20; }","signature":"517738360-declare function foo(): number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,6]],"options":{"composite":true},"fileIdsList":[[2,3],[2,3,5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./src/fileNotFound.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/filenotfound.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-9011934479-function something2() { return 20; }","signature":"-11412869068-declare function something2(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"517738360-declare function foo(): number;\n","affectsGlobalScope":true},{"version":"-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,6]],"options":{"composite":true},"fileIdsList":[[2,3],[2,3,5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./src/fileNotFound.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -889,73 +855,61 @@ function something2() { return 20; } "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/filepresent.ts": { "original": { "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/filenotfound.ts": { "original": { "version": "-9011934479-function something2() { return 20; }", "signature": "-11412869068-declare function something2(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-9011934479-function something2() { return 20; }", "signature": "-11412869068-declare function something2(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/anotherfilewithsamereferenes.ts": { "original": { "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/newfile.ts": { "original": { "version": "5451387573-function foo() { return 20; }", "signature": "517738360-declare function foo(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5451387573-function foo() { return 20; }", "signature": "517738360-declare function foo(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/main.ts": { "original": { "version": "-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();", "signature": "-1399491038-declare function main(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3581559188-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();", "signature": "-1399491038-declare function main(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -990,7 +944,7 @@ function something2() { return 20; } "latestChangedDtsFile": "./src/fileNotFound.d.ts" }, "version": "FakeTSVersion", - "size": 1965 + "size": 1857 } @@ -1049,7 +1003,7 @@ something(); //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/filenotfound.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9011934479-function something2() { return 20; }","signature":"-11412869068-declare function something2(): number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"5451387573-function foo() { return 20; }","signature":"517738360-declare function foo(): number;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"3987942182-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();something();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,6]],"options":{"composite":true},"fileIdsList":[[2,3],[2,3,5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./src/fileNotFound.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/filepresent.ts","./src/filenotfound.ts","./src/anotherfilewithsamereferenes.ts","./src/newfile.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12346563362-function something() { return 10; }","signature":"-4903250974-declare function something(): number;\n","affectsGlobalScope":true},{"version":"-9011934479-function something2() { return 20; }","signature":"-11412869068-declare function something2(): number;\n","affectsGlobalScope":true},{"version":"-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n","signature":"-11249446897-declare function anotherFileWithSameReferenes(): void;\n","affectsGlobalScope":true},{"version":"5451387573-function foo() { return 20; }","signature":"517738360-declare function foo(): number;\n","affectsGlobalScope":true},{"version":"3987942182-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();something();","signature":"-1399491038-declare function main(): void;\n","affectsGlobalScope":true}],"root":[[2,6]],"options":{"composite":true},"fileIdsList":[[2,3],[2,3,5]],"referencedMap":[[4,1],[6,2]],"latestChangedDtsFile":"./src/fileNotFound.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1077,73 +1031,61 @@ something(); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/filepresent.ts": { "original": { "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-12346563362-function something() { return 10; }", "signature": "-4903250974-declare function something(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/filenotfound.ts": { "original": { "version": "-9011934479-function something2() { return 20; }", "signature": "-11412869068-declare function something2(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-9011934479-function something2() { return 20; }", "signature": "-11412869068-declare function something2(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/anotherfilewithsamereferenes.ts": { "original": { "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-28237004260-/// \n/// \nfunction anotherFileWithSameReferenes() { }\n", "signature": "-11249446897-declare function anotherFileWithSameReferenes(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/newfile.ts": { "original": { "version": "5451387573-function foo() { return 20; }", "signature": "517738360-declare function foo(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5451387573-function foo() { return 20; }", "signature": "517738360-declare function foo(): number;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/main.ts": { "original": { "version": "3987942182-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();something();", "signature": "-1399491038-declare function main(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3987942182-/// \n/// \n/// \nfunction main() { }\nsomething();something();foo();something();", "signature": "-1399491038-declare function main(): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1178,6 +1120,6 @@ something(); "latestChangedDtsFile": "./src/fileNotFound.d.ts" }, "version": "FakeTSVersion", - "size": 1976 + "size": 1868 } diff --git a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js index 9972addc78d8d..785e4b732d7d1 100644 --- a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js +++ b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project-discrepancies.js @@ -8,18 +8,15 @@ CleanBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "version": "777969115-class class2 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -56,18 +53,15 @@ IncrementalBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "version": "777969115-class class2 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -94,18 +88,15 @@ CleanBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "version": "777969115-class class2 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -142,18 +133,15 @@ IncrementalBuild: "fileInfos": { "../../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "version": "777969115-class class2 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ diff --git a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js index f3713d10a3061..780507b98a15b 100644 --- a/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tsc/incremental/when-new-file-is-added-to-the-referenced-project.js @@ -69,7 +69,7 @@ var class2 = /** @class */ (function () { //// [/src/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[3],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -83,36 +83,30 @@ var class2 = /** @class */ (function () { "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "original": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -128,7 +122,7 @@ var class2 = /** @class */ (function () { "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 950 + "size": 896 } @@ -177,7 +171,7 @@ exitCode:: ExitStatus.Success //// [/src/projects/project2/class2.js] file written with same contents //// [/src/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -192,47 +186,39 @@ exitCode:: ExitStatus.Success "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "original": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class3.d.ts": { "original": { "version": "-3469165364-declare class class3 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469165364-declare class class3 {}", "signature": "-3469165364-declare class class3 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -248,7 +234,7 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 1070 + "size": 998 } @@ -295,7 +281,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/projects/project2/class2.js] file written with same contents //// [/src/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[2,3],"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[2,3],"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -309,36 +295,30 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "original": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -364,7 +344,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 985 + "size": 931 } @@ -383,7 +363,7 @@ exitCode:: ExitStatus.Success //// [/src/projects/project2/class2.js] file written with same contents //// [/src/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/src/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -398,47 +378,39 @@ exitCode:: ExitStatus.Success "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "original": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class3.d.ts": { "original": { "version": "-3469165364-declare class class3 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469165364-declare class class3 {}", "signature": "-3469165364-declare class class3 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -454,6 +426,6 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 1070 + "size": 998 } diff --git a/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js b/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js index 6213eee28b446..4f331efd5321f 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-filename-for-buildinfo-on-commandline.js @@ -41,7 +41,7 @@ exitCode:: ExitStatus.Success //// [/src/project/.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1}],"root":[2],"options":{"module":1,"target":1,"tsBuildInfoFile":"./.tsbuildinfo"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"options":{"module":1,"target":1,"tsBuildInfoFile":"./.tsbuildinfo"}},"version":"FakeTSVersion"} //// [/src/project/.tsbuildinfo.readable.baseline.txt] { @@ -54,22 +54,15 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/main.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" } }, "root": [ @@ -85,7 +78,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 747 + "size": 699 } //// [/src/project/src/main.js] diff --git a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js index 6dbb83bd8a37c..99a5f67dcdfe1 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-from-commandline.js @@ -41,7 +41,7 @@ exports.x = 10; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1}],"root":[2],"options":{"outDir":"./dist","rootDir":"./src"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"options":{"outDir":"./dist","rootDir":"./src"}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -54,22 +54,15 @@ exports.x = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/main.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" } }, "root": [ @@ -84,7 +77,7 @@ exports.x = 10; } }, "version": "FakeTSVersion", - "size": 726 + "size": 678 } diff --git a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js index e29552a529bd9..dc500c12d4077 100644 --- a/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js +++ b/tests/baselines/reference/tsc/incremental/when-passing-rootDir-is-in-the-tsconfig.js @@ -42,7 +42,7 @@ exports.x = 10; //// [/src/project/built/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1}],"root":[2],"options":{"outDir":"./","rootDir":".."}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../src/main.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2],"options":{"outDir":"./","rootDir":".."}},"version":"FakeTSVersion"} //// [/src/project/built/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -55,22 +55,15 @@ exports.x = 10; "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/main.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" } }, "root": [ @@ -85,7 +78,7 @@ exports.x = 10; } }, "version": "FakeTSVersion", - "size": 723 + "size": 675 } diff --git a/tests/baselines/reference/tsc/incremental/with-aliased-const-enums-with-preserveConstEnums.js b/tests/baselines/reference/tsc/incremental/with-aliased-const-enums-with-preserveConstEnums.js index 9356c08f49a9a..b378db879ad1c 100644 --- a/tests/baselines/reference/tsc/incremental/with-aliased-const-enums-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsc/incremental/with-aliased-const-enums-with-preserveConstEnums.js @@ -53,7 +53,7 @@ var a = 1 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -76,40 +76,23 @@ var a = 1 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n", - "impliedFormat": 1 - }, "version": "-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n", - "signature": "-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n", - "impliedFormat": "commonjs" + "signature": "-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n" }, "./c.ts": { - "original": { - "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": 1 - }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -132,7 +115,7 @@ var a = 1 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1052 + "size": 944 } //// [/src/project/c.js] @@ -169,7 +152,7 @@ var a = 2 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -192,42 +175,31 @@ var a = 2 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n", - "impliedFormat": 1 - }, "version": "-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n", - "signature": "-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n", - "impliedFormat": "commonjs" + "signature": "-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { "original": { "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -250,7 +222,7 @@ var a = 2 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1161 + "size": 1077 } //// [/src/project/c.js] @@ -287,7 +259,7 @@ var a = 3 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -310,41 +282,27 @@ var a = 3 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n", - "impliedFormat": 1 - }, "version": "-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n", - "signature": "-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n", - "impliedFormat": "commonjs" + "signature": "-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -367,7 +325,7 @@ var a = 3 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1122 + "size": 1026 } //// [/src/project/c.js] @@ -399,7 +357,7 @@ exitCode:: ExitStatus.Success //// [/src/project/a.js] file written with same contents //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -422,41 +380,27 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;", - "impliedFormat": 1 - }, "version": "-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;", - "signature": "-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;", - "impliedFormat": "commonjs" + "signature": "-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -479,7 +423,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1152 + "size": 1056 } //// [/src/project/c.js] file written with same contents @@ -503,7 +447,7 @@ exitCode:: ExitStatus.Success //// [/src/project/a.js] file written with same contents //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -526,41 +470,27 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": 1 - }, "version": "-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;", - "signature": "-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": "commonjs" + "signature": "-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -583,7 +513,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1183 + "size": 1087 } //// [/src/project/c.js] file written with same contents diff --git a/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js b/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js index 0f9cb1d519e7c..d8e3e5b42a6ee 100644 --- a/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js +++ b/tests/baselines/reference/tsc/incremental/with-aliased-const-enums.js @@ -53,7 +53,7 @@ var a = 1 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -76,40 +76,23 @@ var a = 1 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n", - "impliedFormat": 1 - }, "version": "-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n", - "signature": "-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n", - "impliedFormat": "commonjs" + "signature": "-8804827199-declare const enum AWorker {\n ONE = 1\n}\nexport { AWorker as A };\n" }, "./c.ts": { - "original": { - "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": 1 - }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -131,7 +114,7 @@ var a = 1 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1026 + "size": 918 } //// [/src/project/c.js] @@ -165,7 +148,7 @@ var a = 2 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -188,42 +171,31 @@ var a = 2 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n", - "impliedFormat": 1 - }, "version": "-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n", - "signature": "-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n", - "impliedFormat": "commonjs" + "signature": "-13802607806-declare const enum AWorker {\n ONE = 2\n}\nexport { AWorker as A };\n" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { "original": { "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -245,7 +217,7 @@ var a = 2 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1135 + "size": 1051 } //// [/src/project/c.js] @@ -279,7 +251,7 @@ var a = 3 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -302,41 +274,27 @@ var a = 3 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n", - "impliedFormat": 1 - }, "version": "-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n", - "signature": "-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n", - "impliedFormat": "commonjs" + "signature": "-10210453821-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\n" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -358,7 +316,7 @@ var a = 3 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1096 + "size": 1000 } //// [/src/project/c.js] @@ -387,7 +345,7 @@ exitCode:: ExitStatus.Success //// [/src/project/a.js] file written with same contents //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -410,41 +368,27 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;", - "impliedFormat": 1 - }, "version": "-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;", - "signature": "-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;", - "impliedFormat": "commonjs" + "signature": "-11645711104-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -466,7 +410,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1126 + "size": 1030 } //// [/src/project/c.js] file written with same contents @@ -490,7 +434,7 @@ exitCode:: ExitStatus.Success //// [/src/project/a.js] file written with same contents //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -513,41 +457,27 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": 1 - }, "version": "-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;", - "signature": "-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": "commonjs" + "signature": "-19677125073-declare const enum AWorker {\n ONE = 3\n}\nexport { AWorker as A };\nexport const randomThing = 10;export const randomThing2 = 10;" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -569,7 +499,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1157 + "size": 1061 } //// [/src/project/c.js] file written with same contents diff --git a/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums-with-preserveConstEnums.js b/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums-with-preserveConstEnums.js index ba86fab5b7f46..24605fb1a6cec 100644 --- a/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums-with-preserveConstEnums.js @@ -50,7 +50,7 @@ var a = 1 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10088995516-export const enum AWorker {\n ONE = 1\n}\n","impliedFormat":1},{"version":"-6488945853-export { AWorker as A } from \"./worker\";\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088995516-export const enum AWorker {\n ONE = 1\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -77,49 +77,27 @@ var a = 1 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./worker.d.ts": { - "original": { - "version": "-10088995516-export const enum AWorker {\n ONE = 1\n}\n", - "impliedFormat": 1 - }, "version": "-10088995516-export const enum AWorker {\n ONE = 1\n}\n", - "signature": "-10088995516-export const enum AWorker {\n ONE = 1\n}\n", - "impliedFormat": "commonjs" + "signature": "-10088995516-export const enum AWorker {\n ONE = 1\n}\n" }, "./b.d.ts": { - "original": { - "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": 1 - }, "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": "commonjs" + "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n" }, "./c.ts": { - "original": { - "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": 1 - }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -145,7 +123,7 @@ var a = 1 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1141 + "size": 1003 } //// [/src/project/c.js] @@ -181,7 +159,7 @@ var a = 2 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10088959579-export const enum AWorker {\n ONE = 2\n}\n","impliedFormat":1},{"version":"-6488945853-export { AWorker as A } from \"./worker\";\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088959579-export const enum AWorker {\n ONE = 2\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -208,49 +186,27 @@ var a = 2 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./worker.d.ts": { - "original": { - "version": "-10088959579-export const enum AWorker {\n ONE = 2\n}\n", - "impliedFormat": 1 - }, "version": "-10088959579-export const enum AWorker {\n ONE = 2\n}\n", - "signature": "-10088959579-export const enum AWorker {\n ONE = 2\n}\n", - "impliedFormat": "commonjs" + "signature": "-10088959579-export const enum AWorker {\n ONE = 2\n}\n" }, "./b.d.ts": { - "original": { - "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": 1 - }, "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": "commonjs" + "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n" }, "./c.ts": { - "original": { - "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": 1 - }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -276,7 +232,7 @@ var a = 2 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1141 + "size": 1003 } //// [/src/project/c.js] @@ -312,7 +268,7 @@ var a = 3 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","impliedFormat":1},{"version":"-6488945853-export { AWorker as A } from \"./worker\";\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -339,49 +295,27 @@ var a = 3 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./worker.d.ts": { - "original": { - "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": 1 - }, "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n" }, "./b.d.ts": { - "original": { - "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": 1 - }, "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": "commonjs" + "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n" }, "./c.ts": { - "original": { - "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": 1 - }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -407,7 +341,7 @@ var a = 3 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1141 + "size": 1003 } //// [/src/project/c.js] @@ -436,7 +370,7 @@ exitCode:: ExitStatus.Success //// [/src/project/a.js] file written with same contents //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","impliedFormat":1},{"version":"-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -463,51 +397,35 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./worker.d.ts": { - "original": { - "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": 1 - }, "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n" }, "./b.d.ts": { - "original": { - "version": "-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;", - "impliedFormat": 1 - }, "version": "-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;", - "signature": "-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;", - "impliedFormat": "commonjs" + "signature": "-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { "original": { "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -533,7 +451,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1279 + "size": 1165 } //// [/src/project/c.js] file written with same contents @@ -553,7 +471,7 @@ exitCode:: ExitStatus.Success //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","impliedFormat":1},{"version":"2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -580,50 +498,31 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./worker.d.ts": { - "original": { - "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": 1 - }, "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n" }, "./b.d.ts": { - "original": { - "version": "2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": 1 - }, "version": "2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;", - "signature": "2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": "commonjs" + "signature": "2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -649,7 +548,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1270 + "size": 1144 } //// [/src/project/c.js] file written with same contents diff --git a/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums.js b/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums.js index 07420718f000a..10dbb5b3e3ebf 100644 --- a/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums.js +++ b/tests/baselines/reference/tsc/incremental/with-aliased-in-different-file-const-enums.js @@ -50,7 +50,7 @@ var a = 1 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10088995516-export const enum AWorker {\n ONE = 1\n}\n","impliedFormat":1},{"version":"-6488945853-export { AWorker as A } from \"./worker\";\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088995516-export const enum AWorker {\n ONE = 1\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -77,49 +77,27 @@ var a = 1 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./worker.d.ts": { - "original": { - "version": "-10088995516-export const enum AWorker {\n ONE = 1\n}\n", - "impliedFormat": 1 - }, "version": "-10088995516-export const enum AWorker {\n ONE = 1\n}\n", - "signature": "-10088995516-export const enum AWorker {\n ONE = 1\n}\n", - "impliedFormat": "commonjs" + "signature": "-10088995516-export const enum AWorker {\n ONE = 1\n}\n" }, "./b.d.ts": { - "original": { - "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": 1 - }, "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": "commonjs" + "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n" }, "./c.ts": { - "original": { - "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": 1 - }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -144,7 +122,7 @@ var a = 1 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1115 + "size": 977 } //// [/src/project/c.js] @@ -177,7 +155,7 @@ var a = 2 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10088959579-export const enum AWorker {\n ONE = 2\n}\n","impliedFormat":1},{"version":"-6488945853-export { AWorker as A } from \"./worker\";\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088959579-export const enum AWorker {\n ONE = 2\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -204,49 +182,27 @@ var a = 2 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./worker.d.ts": { - "original": { - "version": "-10088959579-export const enum AWorker {\n ONE = 2\n}\n", - "impliedFormat": 1 - }, "version": "-10088959579-export const enum AWorker {\n ONE = 2\n}\n", - "signature": "-10088959579-export const enum AWorker {\n ONE = 2\n}\n", - "impliedFormat": "commonjs" + "signature": "-10088959579-export const enum AWorker {\n ONE = 2\n}\n" }, "./b.d.ts": { - "original": { - "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": 1 - }, "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": "commonjs" + "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n" }, "./c.ts": { - "original": { - "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": 1 - }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -271,7 +227,7 @@ var a = 2 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1115 + "size": 977 } //// [/src/project/c.js] @@ -304,7 +260,7 @@ var a = 3 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","impliedFormat":1},{"version":"-6488945853-export { AWorker as A } from \"./worker\";\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","-6488945853-export { AWorker as A } from \"./worker\";\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -331,49 +287,27 @@ var a = 3 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./worker.d.ts": { - "original": { - "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": 1 - }, "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n" }, "./b.d.ts": { - "original": { - "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": 1 - }, "version": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n", - "impliedFormat": "commonjs" + "signature": "-6488945853-export { AWorker as A } from \"./worker\";\n" }, "./c.ts": { - "original": { - "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": 1 - }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -398,7 +332,7 @@ var a = 3 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1115 + "size": 977 } //// [/src/project/c.js] @@ -424,7 +358,7 @@ exitCode:: ExitStatus.Success //// [/src/project/a.js] file written with same contents //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","impliedFormat":1},{"version":"-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -451,51 +385,35 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./worker.d.ts": { - "original": { - "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": 1 - }, "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n" }, "./b.d.ts": { - "original": { - "version": "-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;", - "impliedFormat": 1 - }, "version": "-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;", - "signature": "-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;", - "impliedFormat": "commonjs" + "signature": "-7383473792-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { "original": { "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -520,7 +438,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1253 + "size": 1139 } //// [/src/project/c.js] file written with same contents @@ -540,7 +458,7 @@ exitCode:: ExitStatus.Success //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","impliedFormat":1},{"version":"2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./worker.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10088923642-export const enum AWorker {\n ONE = 3\n}\n","2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[5],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[4],[2],[3]],"referencedMap":[[5,1],[3,2],[4,3]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -567,50 +485,31 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./worker.d.ts": { - "original": { - "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": 1 - }, "version": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "signature": "-10088923642-export const enum AWorker {\n ONE = 3\n}\n" }, "./b.d.ts": { - "original": { - "version": "2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": 1 - }, "version": "2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;", - "signature": "2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": "commonjs" + "signature": "2191846063-export { AWorker as A } from \"./worker\";\nexport const randomThing = 10;export const randomThing2 = 10;" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -635,7 +534,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1244 + "size": 1118 } //// [/src/project/c.js] file written with same contents diff --git a/tests/baselines/reference/tsc/incremental/with-const-enums-with-preserveConstEnums.js b/tests/baselines/reference/tsc/incremental/with-const-enums-with-preserveConstEnums.js index 28c7a281efa87..c43fa17fa89ae 100644 --- a/tests/baselines/reference/tsc/incremental/with-const-enums-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsc/incremental/with-const-enums-with-preserveConstEnums.js @@ -52,7 +52,7 @@ var a = 1 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7434209142-export const enum A {\n ONE = 1\n}\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434209142-export const enum A {\n ONE = 1\n}\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -75,40 +75,23 @@ var a = 1 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-7434209142-export const enum A {\n ONE = 1\n}\n", - "impliedFormat": 1 - }, "version": "-7434209142-export const enum A {\n ONE = 1\n}\n", - "signature": "-7434209142-export const enum A {\n ONE = 1\n}\n", - "impliedFormat": "commonjs" + "signature": "-7434209142-export const enum A {\n ONE = 1\n}\n" }, "./c.ts": { - "original": { - "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": 1 - }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -131,7 +114,7 @@ var a = 1 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1019 + "size": 911 } //// [/src/project/c.js] @@ -167,7 +150,7 @@ var a = 2 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7434173205-export const enum A {\n ONE = 2\n}\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434173205-export const enum A {\n ONE = 2\n}\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -190,42 +173,31 @@ var a = 2 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-7434173205-export const enum A {\n ONE = 2\n}\n", - "impliedFormat": 1 - }, "version": "-7434173205-export const enum A {\n ONE = 2\n}\n", - "signature": "-7434173205-export const enum A {\n ONE = 2\n}\n", - "impliedFormat": "commonjs" + "signature": "-7434173205-export const enum A {\n ONE = 2\n}\n" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { "original": { "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -248,7 +220,7 @@ var a = 2 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1127 + "size": 1043 } //// [/src/project/c.js] @@ -284,7 +256,7 @@ var a = 3 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7434137268-export const enum A {\n ONE = 3\n}\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434137268-export const enum A {\n ONE = 3\n}\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -307,41 +279,27 @@ var a = 3 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-7434137268-export const enum A {\n ONE = 3\n}\n", - "impliedFormat": 1 - }, "version": "-7434137268-export const enum A {\n ONE = 3\n}\n", - "signature": "-7434137268-export const enum A {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "signature": "-7434137268-export const enum A {\n ONE = 3\n}\n" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -364,7 +322,7 @@ var a = 3 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1088 + "size": 992 } //// [/src/project/c.js] @@ -395,7 +353,7 @@ exitCode:: ExitStatus.Success //// [/src/project/a.js] file written with same contents //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -418,41 +376,27 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;", - "impliedFormat": 1 - }, "version": "-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;", - "signature": "-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;", - "impliedFormat": "commonjs" + "signature": "-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -475,7 +419,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1118 + "size": 1022 } //// [/src/project/c.js] file written with same contents @@ -498,7 +442,7 @@ exitCode:: ExitStatus.Success //// [/src/project/a.js] file written with same contents //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"preserveConstEnums":true,"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -521,41 +465,27 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": 1 - }, "version": "-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;", - "signature": "-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": "commonjs" + "signature": "-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -578,7 +508,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1150 + "size": 1054 } //// [/src/project/c.js] file written with same contents diff --git a/tests/baselines/reference/tsc/incremental/with-const-enums.js b/tests/baselines/reference/tsc/incremental/with-const-enums.js index 7a1a9c4bb428f..132fe91cd49a7 100644 --- a/tests/baselines/reference/tsc/incremental/with-const-enums.js +++ b/tests/baselines/reference/tsc/incremental/with-const-enums.js @@ -52,7 +52,7 @@ var a = 1 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7434209142-export const enum A {\n ONE = 1\n}\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434209142-export const enum A {\n ONE = 1\n}\n","-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -75,40 +75,23 @@ var a = 1 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-7434209142-export const enum A {\n ONE = 1\n}\n", - "impliedFormat": 1 - }, "version": "-7434209142-export const enum A {\n ONE = 1\n}\n", - "signature": "-7434209142-export const enum A {\n ONE = 1\n}\n", - "impliedFormat": "commonjs" + "signature": "-7434209142-export const enum A {\n ONE = 1\n}\n" }, "./c.ts": { - "original": { - "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": 1 - }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "impliedFormat": "commonjs" + "signature": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -130,7 +113,7 @@ var a = 1 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 993 + "size": 885 } //// [/src/project/c.js] @@ -163,7 +146,7 @@ var a = 2 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7434173205-export const enum A {\n ONE = 2\n}\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434173205-export const enum A {\n ONE = 2\n}\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -186,42 +169,31 @@ var a = 2 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-7434173205-export const enum A {\n ONE = 2\n}\n", - "impliedFormat": 1 - }, "version": "-7434173205-export const enum A {\n ONE = 2\n}\n", - "signature": "-7434173205-export const enum A {\n ONE = 2\n}\n", - "impliedFormat": "commonjs" + "signature": "-7434173205-export const enum A {\n ONE = 2\n}\n" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { "original": { "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -243,7 +215,7 @@ var a = 2 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1101 + "size": 1017 } //// [/src/project/c.js] @@ -276,7 +248,7 @@ var a = 3 /* A.ONE */; //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7434137268-export const enum A {\n ONE = 3\n}\n","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7434137268-export const enum A {\n ONE = 3\n}\n",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -299,41 +271,27 @@ var a = 3 /* A.ONE */; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-7434137268-export const enum A {\n ONE = 3\n}\n", - "impliedFormat": 1 - }, "version": "-7434137268-export const enum A {\n ONE = 3\n}\n", - "signature": "-7434137268-export const enum A {\n ONE = 3\n}\n", - "impliedFormat": "commonjs" + "signature": "-7434137268-export const enum A {\n ONE = 3\n}\n" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -355,7 +313,7 @@ var a = 3 /* A.ONE */; } }, "version": "FakeTSVersion", - "size": 1062 + "size": 966 } //// [/src/project/c.js] @@ -383,7 +341,7 @@ exitCode:: ExitStatus.Success //// [/src/project/a.js] file written with same contents //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -406,41 +364,27 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;", - "impliedFormat": 1 - }, "version": "-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;", - "signature": "-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;", - "impliedFormat": "commonjs" + "signature": "-1392741047-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -462,7 +406,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1092 + "size": 996 } //// [/src/project/c.js] file written with same contents @@ -485,7 +429,7 @@ exitCode:: ExitStatus.Success //// [/src/project/a.js] file written with same contents //// [/src/project/a.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;","impliedFormat":1},{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n","impliedFormat":1},{"version":"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n","impliedFormat":1}],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./b.d.ts","./c.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;",{"version":"-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n","signature":"3259150197-import { A } from \"./b\";\nexport { A };\n"},"-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n"],"root":[4],"options":{"tsBuildInfoFile":"./a.tsbuildinfo"},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/src/project/a.tsbuildinfo.readable.baseline.txt] { @@ -508,41 +452,27 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.d.ts": { - "original": { - "version": "-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": 1 - }, "version": "-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;", - "signature": "-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;", - "impliedFormat": "commonjs" + "signature": "-11013141160-export const enum A {\n ONE = 3\n}\nexport const randomThing = 10;export const randomThing2 = 10;" }, "./c.ts": { "original": { "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": 1 + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "version": "-3548623266-import {A} from \"./b\"\nlet b = A.ONE\nexport {A}\n", - "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n", - "impliedFormat": "commonjs" + "signature": "3259150197-import { A } from \"./b\";\nexport { A };\n" }, "./a.ts": { - "original": { - "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": 1 - }, "version": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n", - "impliedFormat": "commonjs" + "signature": "-5009241479-import {A} from \"./c\"\nlet a = A.ONE\n" } }, "root": [ @@ -564,7 +494,7 @@ exitCode:: ExitStatus.Success } }, "version": "FakeTSVersion", - "size": 1124 + "size": 1028 } //// [/src/project/c.js] file written with same contents diff --git a/tests/baselines/reference/tsc/incremental/with-only-dts-files.js b/tests/baselines/reference/tsc/incremental/with-only-dts-files.js index c3b47c6296fb9..ead08a27640fc 100644 --- a/tests/baselines/reference/tsc/incremental/with-only-dts-files.js +++ b/tests/baselines/reference/tsc/incremental/with-only-dts-files.js @@ -32,7 +32,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/another.d.ts","./src/main.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1}],"root":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/another.d.ts","./src/main.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13729955264-export const y = 10;","-10726455937-export const x = 10;"],"root":[2,3]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -46,31 +46,19 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/another.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./src/main.d.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" } }, "root": [ @@ -85,7 +73,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 769 + "size": 691 } @@ -114,7 +102,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/another.d.ts","./src/main.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-10808461502-export const x = 10;export const xy = 100;","impliedFormat":1}],"root":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/another.d.ts","./src/main.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-13729955264-export const y = 10;","-10808461502-export const x = 10;export const xy = 100;"],"root":[2,3]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -128,31 +116,19 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/another.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./src/main.d.ts": { - "original": { - "version": "-10808461502-export const x = 10;export const xy = 100;", - "impliedFormat": 1 - }, "version": "-10808461502-export const x = 10;export const xy = 100;", - "signature": "-10808461502-export const x = 10;export const xy = 100;", - "impliedFormat": "commonjs" + "signature": "-10808461502-export const x = 10;export const xy = 100;" } }, "root": [ @@ -167,6 +143,6 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 791 + "size": 713 } diff --git a/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js b/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js index f08490476b94a..cb103851c192c 100644 --- a/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js +++ b/tests/baselines/reference/tsc/libraryResolution/unknown-lib.js @@ -51,21 +51,6 @@ export const y = 10; Output:: /home/src/lib/tsc -p project1 --explainFiles -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -88,24 +73,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-scripthost' was not resolved. ======== -File '/home/src/lib/package.json' does not exist. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. project1/file2.ts:1:21 - error TS2727: Cannot find lib definition for 'webworker2'. Did you mean 'webworker'? 1 /// @@ -209,7 +176,7 @@ exports.x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[[3,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;"],"root":[[3,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -227,72 +194,52 @@ exports.x = "type1"; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-15920922626-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-15920922626-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": 1 + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -316,6 +263,6 @@ exports.x = "type1"; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1448 + "size": 1298 } diff --git a/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js index a74517a2a415a..418f10b7a9c0d 100644 --- a/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsc/libraryResolution/with-config-with-redirection.js @@ -191,21 +191,6 @@ export const y = 10; Output:: /home/src/lib/tsc -p project1 --explainFiles -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -221,13 +206,6 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist. -File '/home/src/projects/node_modules/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -243,13 +221,6 @@ File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -265,34 +236,10 @@ File '/home/src/projects/node_modules/@typescript/lib-es5/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/projects/project1/typeroot1/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. File '/home/src/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== @@ -311,13 +258,6 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-webworker/index.d.ts Library referenced via 'webworker' from file 'project1/file2.ts' node_modules/@typescript/lib-scripthost/index.d.ts @@ -433,7 +373,7 @@ exports.x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -454,103 +394,74 @@ exports.x = "type1"; "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": 1 + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -575,6 +486,6 @@ exports.x = "type1"; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1908 + "size": 1692 } diff --git a/tests/baselines/reference/tsc/libraryResolution/with-config.js b/tests/baselines/reference/tsc/libraryResolution/with-config.js index e19ccc12d1f7b..9a1224607f995 100644 --- a/tests/baselines/reference/tsc/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsc/libraryResolution/with-config.js @@ -152,21 +152,6 @@ export const y = 10; Output:: /home/src/lib/tsc -p project1 --explainFiles -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -193,10 +178,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-webworker' was not resolved. ======== -File '/home/src/lib/package.json' does not exist. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -223,10 +204,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-scripthost' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -253,31 +230,10 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-es5' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/projects/project1/typeroot1/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. File '/home/src/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== @@ -307,10 +263,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' Library 'lib.es5.d.ts' specified in compilerOptions @@ -426,7 +378,7 @@ exports.x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -447,103 +399,74 @@ exports.x = "type1"; "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": 1 + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -568,6 +491,6 @@ exports.x = "type1"; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1812 + "size": 1596 } diff --git a/tests/baselines/reference/tsc/libraryResolution/without-config-with-redirection.js b/tests/baselines/reference/tsc/libraryResolution/without-config-with-redirection.js index 7006320e89b29..95c948bd17ac6 100644 --- a/tests/baselines/reference/tsc/libraryResolution/without-config-with-redirection.js +++ b/tests/baselines/reference/tsc/libraryResolution/without-config-with-redirection.js @@ -191,31 +191,6 @@ export const y = 10; Output:: /home/src/lib/tsc project1/core.d.ts project1/utils.d.ts project1/file.ts project1/index.ts project1/file2.ts --lib es5,dom --traceResolution --explainFiles -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -229,13 +204,6 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist. -File '/home/src/projects/node_modules/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -249,13 +217,6 @@ File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -269,13 +230,6 @@ File '/home/src/projects/node_modules/@typescript/lib-es5/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -289,13 +243,6 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. node_modules/@typescript/lib-webworker/index.d.ts Library referenced via 'webworker' from file 'project1/file2.ts' node_modules/@typescript/lib-scripthost/index.d.ts diff --git a/tests/baselines/reference/tsc/libraryResolution/without-config.js b/tests/baselines/reference/tsc/libraryResolution/without-config.js index 1284bd16c6ce8..e55f6a5d8d971 100644 --- a/tests/baselines/reference/tsc/libraryResolution/without-config.js +++ b/tests/baselines/reference/tsc/libraryResolution/without-config.js @@ -152,31 +152,6 @@ export const y = 10; Output:: /home/src/lib/tsc project1/core.d.ts project1/utils.d.ts project1/file.ts project1/index.ts project1/file2.ts --lib es5,dom --traceResolution --explainFiles -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -200,10 +175,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-webworker' was not resolved. ======== -File '/home/src/lib/package.json' does not exist. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -227,10 +198,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-scripthost' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -254,10 +221,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-es5' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -281,10 +244,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' Library 'lib.es5.d.ts' specified in compilerOptions diff --git a/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js b/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js index 42030df877b6a..63c8bf7a21ef9 100644 --- a/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js +++ b/tests/baselines/reference/tsc/listFilesOnly/combined-with-incremental.js @@ -49,7 +49,7 @@ exports.x = 1; //// [/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./test.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12038591281-export const x = 1;","impliedFormat":1}],"root":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./test.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-12038591281-export const x = 1;"],"root":[2]},"version":"FakeTSVersion"} //// [/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -62,22 +62,15 @@ exports.x = 1; "../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./test.ts": { - "original": { - "version": "-12038591281-export const x = 1;", - "impliedFormat": 1 - }, "version": "-12038591281-export const x = 1;", - "signature": "-12038591281-export const x = 1;", - "impliedFormat": "commonjs" + "signature": "-12038591281-export const x = 1;" } }, "root": [ @@ -88,7 +81,7 @@ exports.x = 1; ] }, "version": "FakeTSVersion", - "size": 670 + "size": 622 } diff --git a/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js b/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js index 5461a053b77e1..37d45dc691a05 100644 --- a/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js +++ b/tests/baselines/reference/tsc/moduleResolution/pnpm-style-layout.js @@ -150,8 +150,6 @@ declare const console: { log(msg: any): void; }; /a/lib/tsc.js --traceResolution --explainFiles Output:: -File '/home/src/projects/component-type-checker/packages/app/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/component-type-checker/packages/app/package.json'. ======== Resolving module '@component-type-checker/sdk' from '/home/src/projects/component-type-checker/packages/app/src/app.tsx'. ======== Explicitly specified module resolution kind: 'Node10'. 'baseUrl' option is set to '/home/src/projects/component-type-checker/packages/app', using this value to resolve non-relative module name '@component-type-checker/sdk'. @@ -218,8 +216,6 @@ File '/home/src/projects/component-type-checker/packages/app/node_modules/@compo 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/home/src/projects/component-type-checker/packages/app/node_modules/@component-type-checker/button/src/index.ts', result '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/index.ts'. ======== Module name '@component-type-checker/button' was successfully resolved to '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/index.ts' with Package ID '@component-type-checker/button/src/index.ts@0.0.2'. ======== -File '/home/src/projects/component-type-checker/packages/sdk/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/component-type-checker/packages/sdk/package.json'. ======== Resolving module '@component-type-checker/components' from '/home/src/projects/component-type-checker/packages/sdk/src/index.ts'. ======== Explicitly specified module resolution kind: 'Node10'. 'baseUrl' option is set to '/home/src/projects/component-type-checker/packages/app', using this value to resolve non-relative module name '@component-type-checker/components'. @@ -244,8 +240,6 @@ Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/ Found peerDependency '@component-type-checker/button' with '0.0.1' version. Resolving real path for '/home/src/projects/component-type-checker/packages/sdk/node_modules/@component-type-checker/components/src/index.ts', result '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.1/node_modules/@component-type-checker/components/src/index.ts'. ======== Module name '@component-type-checker/components' was successfully resolved to '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.1/node_modules/@component-type-checker/components/src/index.ts' with Package ID '@component-type-checker/components/src/index.ts@0.0.1+@component-type-checker/button@0.0.1'. ======== -File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.1/node_modules/@component-type-checker/components/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.1/node_modules/@component-type-checker/components/package.json'. ======== Resolving module '@component-type-checker/button' from '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.1/node_modules/@component-type-checker/components/src/index.ts'. ======== Explicitly specified module resolution kind: 'Node10'. 'baseUrl' option is set to '/home/src/projects/component-type-checker/packages/app', using this value to resolve non-relative module name '@component-type-checker/button'. @@ -271,10 +265,6 @@ File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-ty 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.1/node_modules/@component-type-checker/button/src/index.ts', result '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.1/node_modules/@component-type-checker/button/src/index.ts'. ======== Module name '@component-type-checker/button' was successfully resolved to '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.1/node_modules/@component-type-checker/button/src/index.ts' with Package ID '@component-type-checker/button/src/index.ts@0.0.1'. ======== -File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.1/node_modules/@component-type-checker/button/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.1/node_modules/@component-type-checker/button/package.json'. -File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.2/node_modules/@component-type-checker/components/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.2/node_modules/@component-type-checker/components/package.json'. ======== Resolving module '@component-type-checker/button' from '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.2/node_modules/@component-type-checker/components/src/index.ts'. ======== Explicitly specified module resolution kind: 'Node10'. 'baseUrl' option is set to '/home/src/projects/component-type-checker/packages/app', using this value to resolve non-relative module name '@component-type-checker/button'. @@ -300,8 +290,6 @@ File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-ty 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+components@0.0.1_@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/index.ts', result '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/index.ts'. ======== Module name '@component-type-checker/button' was successfully resolved to '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/index.ts' with Package ID '@component-type-checker/button/src/index.ts@0.0.2'. ======== -File '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/component-type-checker/node_modules/.pnpm/@component-type-checker+button@0.0.2/node_modules/@component-type-checker/button/package.json'. ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/component-type-checker/packages/app/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -328,9 +316,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-es5' was not resolved. ======== -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. ../../../../../../a/lib/lib.es5.d.ts Library 'lib.es5.d.ts' specified in compilerOptions ../../node_modules/.pnpm/@component-type-checker+button@0.0.1/node_modules/@component-type-checker/button/src/index.ts diff --git a/tests/baselines/reference/tsc/noEmit/changes-composite-discrepancies.js b/tests/baselines/reference/tsc/noEmit/changes-composite-discrepancies.js index e6f69bbaa5375..64515ded17b9c 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-composite-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmit/changes-composite-discrepancies.js @@ -8,33 +8,26 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -99,33 +92,26 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -187,33 +173,26 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -278,33 +257,26 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -366,33 +338,26 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "version": "1786859709-export class classC {\n prop1 = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -501,33 +466,26 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "version": "1786859709-export class classC {\n prop1 = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -647,33 +605,26 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -738,33 +689,26 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -826,33 +770,26 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -917,33 +854,26 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1005,33 +935,26 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "version": "1786859709-export class classC {\n prop1 = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1140,33 +1063,26 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "version": "1786859709-export class classC {\n prop1 = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1272,33 +1188,26 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "version": "1786859709-export class classC {\n prop1 = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1407,33 +1316,26 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" + "version": "1786859709-export class classC {\n prop1 = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1539,33 +1441,26 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1630,33 +1525,26 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1732,33 +1620,26 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1823,33 +1704,26 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1911,33 +1785,26 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -2002,33 +1869,26 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-composite-outFile.js b/tests/baselines/reference/tsc/noEmit/changes-composite-outFile.js index fbc5e7da510ea..d0c10aa0cc43b 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-composite-outFile.js +++ b/tests/baselines/reference/tsc/noEmit/changes-composite-outFile.js @@ -87,7 +87,7 @@ function someFunc(arguments) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -102,62 +102,13 @@ function someFunc(arguments) { "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -183,7 +134,7 @@ function someFunc(arguments) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1630 + "size": 1420 } @@ -452,7 +403,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -467,62 +418,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": 1 - }, - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "1786859709-export class classC {\n prop1 = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -548,7 +450,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1632 + "size": 1422 } @@ -788,7 +690,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -803,62 +705,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -884,7 +737,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1630 + "size": 1420 } diff --git a/tests/baselines/reference/tsc/noEmit/changes-composite.js b/tests/baselines/reference/tsc/noEmit/changes-composite.js index a667d9acd0e57..cf7f2c037df91 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-composite.js +++ b/tests/baselines/reference/tsc/noEmit/changes-composite.js @@ -152,7 +152,7 @@ function someFunc(arguments) { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -178,75 +178,61 @@ function someFunc(arguments) { "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -297,7 +283,7 @@ function someFunc(arguments) { "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts" }, "version": "FakeTSVersion", - "size": 2273 + "size": 2147 } @@ -365,7 +351,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"emitSignatures":[[2,"-9508063301-export declare class classC {\n prop: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"emitSignatures":[[2,"-9508063301-export declare class classC {\n prop: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -391,73 +377,53 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": 1 + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -588,7 +554,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts" }, "version": "FakeTSVersion", - "size": 2953 + "size": 2803 } @@ -618,7 +584,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/src/class.js] file written with same contents //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -644,75 +610,61 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -763,7 +715,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts" }, "version": "FakeTSVersion", - "size": 2273 + "size": 2147 } @@ -895,7 +847,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/class.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/class.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -921,75 +873,61 @@ exports.classC = classC; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": 1 + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1084,7 +1022,7 @@ exports.classC = classC; "latestChangedDtsFile": "./src/class.d.ts" }, "version": "FakeTSVersion", - "size": 2809 + "size": 2683 } @@ -1264,7 +1202,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"emitSignatures":[[2,"-12157283604-export declare class classC {\n prop1: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/class.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"emitSignatures":[[2,"-12157283604-export declare class classC {\n prop1: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/class.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1290,73 +1228,53 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1443,7 +1361,7 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./src/class.d.ts" }, "version": "FakeTSVersion", - "size": 2363 + "size": 2213 } @@ -1486,7 +1404,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/class.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/class.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1512,75 +1430,61 @@ exports.classC = classC; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1631,7 +1535,7 @@ exports.classC = classC; "latestChangedDtsFile": "./src/class.d.ts" }, "version": "FakeTSVersion", - "size": 2245 + "size": 2119 } diff --git a/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration-outFile.js b/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration-outFile.js index 2562d5e8b72a8..52a34949e4335 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration-outFile.js +++ b/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration-outFile.js @@ -88,7 +88,7 @@ function someFunc(arguments) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -103,62 +103,13 @@ function someFunc(arguments) { "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -182,7 +133,7 @@ function someFunc(arguments) { } }, "version": "FakeTSVersion", - "size": 1492 + "size": 1282 } @@ -452,7 +403,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -467,62 +418,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": 1 - }, - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "1786859709-export class classC {\n prop1 = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -546,7 +448,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated } }, "version": "FakeTSVersion", - "size": 1494 + "size": 1284 } @@ -787,7 +689,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -802,62 +704,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -881,7 +734,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated } }, "version": "FakeTSVersion", - "size": 1492 + "size": 1282 } diff --git a/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration.js b/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration.js index 04c953e0b31d3..24ec8e9acb08f 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration.js +++ b/tests/baselines/reference/tsc/noEmit/changes-incremental-declaration.js @@ -153,7 +153,7 @@ function someFunc(arguments) { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -179,75 +179,61 @@ function someFunc(arguments) { "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -297,7 +283,7 @@ function someFunc(arguments) { ] }, "version": "FakeTSVersion", - "size": 2205 + "size": 2079 } @@ -365,7 +351,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -391,73 +377,53 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": 1 + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -573,7 +539,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "version": "FakeTSVersion", - "size": 2732 + "size": 2582 } @@ -607,7 +573,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -633,75 +599,61 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -751,7 +703,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "version": "FakeTSVersion", - "size": 2205 + "size": 2079 } @@ -886,7 +838,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -912,75 +864,61 @@ exports.classC = classC; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": 1 + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1074,7 +1012,7 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 2769 + "size": 2643 } @@ -1254,7 +1192,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1280,73 +1218,53 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1418,7 +1336,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 2168 + "size": 2018 } @@ -1464,7 +1382,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1490,75 +1408,61 @@ exports.classC = classC; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1608,7 +1512,7 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 2205 + "size": 2079 } diff --git a/tests/baselines/reference/tsc/noEmit/changes-incremental-outFile.js b/tests/baselines/reference/tsc/noEmit/changes-incremental-outFile.js index f26a4a36075f4..0cc660350a524 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-incremental-outFile.js +++ b/tests/baselines/reference/tsc/noEmit/changes-incremental-outFile.js @@ -83,7 +83,7 @@ function someFunc(arguments) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -98,62 +98,13 @@ function someFunc(arguments) { "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -176,7 +127,7 @@ function someFunc(arguments) { } }, "version": "FakeTSVersion", - "size": 1473 + "size": 1263 } @@ -445,7 +396,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -460,62 +411,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": 1 - }, - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "1786859709-export class classC {\n prop1 = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -538,7 +440,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated } }, "version": "FakeTSVersion", - "size": 1475 + "size": 1265 } @@ -778,7 +680,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -793,62 +695,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -871,7 +724,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated } }, "version": "FakeTSVersion", - "size": 1473 + "size": 1263 } diff --git a/tests/baselines/reference/tsc/noEmit/changes-incremental.js b/tests/baselines/reference/tsc/noEmit/changes-incremental.js index b17051e991a8a..beed6d4342261 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/changes-incremental.js @@ -123,7 +123,7 @@ function someFunc(arguments) { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -149,69 +149,40 @@ function someFunc(arguments) { "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "signature": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "signature": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -258,7 +229,7 @@ function someFunc(arguments) { ] }, "version": "FakeTSVersion", - "size": 1718 + "size": 1532 } @@ -326,7 +297,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,4,3,5]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,4,3,5]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -352,73 +323,56 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": 1 + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "signature": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -527,7 +481,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "version": "FakeTSVersion", - "size": 2600 + "size": 2462 } @@ -559,7 +513,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -585,71 +539,48 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "signature": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -696,7 +627,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated ] }, "version": "FakeTSVersion", - "size": 1921 + "size": 1759 } @@ -822,7 +753,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -848,71 +779,48 @@ exports.classC = classC; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": 1 + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "signature": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1003,7 +911,7 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 2485 + "size": 2323 } @@ -1183,7 +1091,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,3]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1209,71 +1117,48 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "signature": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1330,7 +1215,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1954 + "size": 1792 } @@ -1367,7 +1252,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1393,71 +1278,48 @@ exports.classC = classC; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "signature": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1504,7 +1366,7 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 1921 + "size": 1759 } diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-discrepancies.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-discrepancies.js index 15992ef47b088..dda5d9164bd46 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-discrepancies.js @@ -8,33 +8,26 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -99,33 +92,26 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "version": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "version": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-outFile.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-outFile.js index 66433fc32268c..0d5e61914d9e6 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-outFile.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite-outFile.js @@ -106,7 +106,7 @@ function someFunc(arguments) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -121,62 +121,13 @@ function someFunc(arguments) { "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -202,7 +153,7 @@ function someFunc(arguments) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1630 + "size": 1420 } @@ -261,7 +212,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -276,62 +227,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": 1 - }, - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "1786859709-export class classC {\n prop1 = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -357,7 +259,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1632 + "size": 1422 } @@ -413,7 +315,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"composite":true,"outFile":"./outFile.js"},"outSignature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -428,62 +330,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -509,6 +362,6 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 1630 + "size": 1420 } diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite.js index e96a7bbe099ec..e2cd9150f124c 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-composite.js @@ -57,7 +57,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,4,3,5,6,7],"emitSignatures":[2,3,4,5,6,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,4,3,5,6,7],"emitSignatures":[2,3,4,5,6,7]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -83,69 +83,40 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "signature": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "signature": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -229,7 +200,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1819 + "size": 1633 } @@ -339,7 +310,7 @@ function someFunc(arguments) { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/noChangeFileWithEmitSpecificError.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -365,75 +336,61 @@ function someFunc(arguments) { "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -484,7 +441,7 @@ function someFunc(arguments) { "latestChangedDtsFile": "./src/noChangeFileWithEmitSpecificError.d.ts" }, "version": "FakeTSVersion", - "size": 2273 + "size": 2147 } @@ -556,7 +513,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/class.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/class.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -582,75 +539,61 @@ exports.classC = classC; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": 1 + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -745,7 +688,7 @@ exports.classC = classC; "latestChangedDtsFile": "./src/class.d.ts" }, "version": "FakeTSVersion", - "size": 2809 + "size": 2683 } @@ -765,7 +708,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"emitSignatures":[[2,"-12157283604-export declare class classC {\n prop1: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/class.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]],"emitSignatures":[[2,"-12157283604-export declare class classC {\n prop1: number;\n}\n"],[4,"-3531856636-export {};\n"],[5,"-3531856636-export {};\n"]],"latestChangedDtsFile":"./src/class.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -791,73 +734,53 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -944,7 +867,7 @@ exitCode:: ExitStatus.Success "latestChangedDtsFile": "./src/class.d.ts" }, "version": "FakeTSVersion", - "size": 2363 + "size": 2213 } @@ -987,7 +910,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/class.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"composite":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"latestChangedDtsFile":"./src/class.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1013,75 +936,61 @@ exports.classC = classC; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1132,6 +1041,6 @@ exports.classC = classC; "latestChangedDtsFile": "./src/class.d.ts" }, "version": "FakeTSVersion", - "size": 2245 + "size": 2119 } diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration-outFile.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration-outFile.js index 9fa1a3d6a520a..e87f7a5e505e4 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration-outFile.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration-outFile.js @@ -107,7 +107,7 @@ function someFunc(arguments) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -122,62 +122,13 @@ function someFunc(arguments) { "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -201,7 +152,7 @@ function someFunc(arguments) { } }, "version": "FakeTSVersion", - "size": 1492 + "size": 1282 } @@ -261,7 +212,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -276,62 +227,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": 1 - }, - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "1786859709-export class classC {\n prop1 = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -355,7 +257,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated } }, "version": "FakeTSVersion", - "size": 1494 + "size": 1284 } @@ -412,7 +314,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/outFile.d.ts] file written with same contents //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"declaration":true,"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -427,62 +329,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -506,6 +359,6 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated } }, "version": "FakeTSVersion", - "size": 1492 + "size": 1282 } diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration.js index b1224b22b4acb..7db0c5ca63cbf 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-declaration.js @@ -58,7 +58,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,4,3,5,6,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,4,3,5,6,7]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -84,69 +84,40 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "signature": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "signature": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -222,7 +193,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1790 + "size": 1604 } @@ -332,7 +303,7 @@ function someFunc(arguments) { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -358,75 +329,61 @@ function someFunc(arguments) { "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -476,7 +433,7 @@ function someFunc(arguments) { ] }, "version": "FakeTSVersion", - "size": 2205 + "size": 2079 } @@ -551,7 +508,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -577,75 +534,61 @@ exports.classC = classC; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": 1 + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -739,7 +682,7 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 2769 + "size": 2643 } @@ -759,7 +702,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;",{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,[4],3,[5]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -785,73 +728,53 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -923,7 +846,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 2168 + "size": 2018 } @@ -969,7 +892,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.d.ts] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"6714567633-export function writeLog(s: string) {\n}","signature":"8055010000-export declare function writeLog(s: string): void;\n"},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","signature":"-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n","affectsGlobalScope":true}],"root":[[2,7]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -995,75 +918,61 @@ exports.classC = classC; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { "original": { "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": 1 + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "8055010000-export declare function writeLog(s: string): void;\n", - "impliedFormat": "commonjs" + "signature": "8055010000-export declare function writeLog(s: string): void;\n" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-5615417221-declare function someFunc(arguments: boolean, ...rest: any[]): void;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1113,6 +1022,6 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 2205 + "size": 2079 } diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-outFile.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-outFile.js index 66f876841fbee..0f678d85b6056 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-outFile.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental-outFile.js @@ -102,7 +102,7 @@ function someFunc(arguments) { //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -117,62 +117,13 @@ function someFunc(arguments) { "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -195,7 +146,7 @@ function someFunc(arguments) { } }, "version": "FakeTSVersion", - "size": 1473 + "size": 1263 } @@ -254,7 +205,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","1786859709-export class classC {\n prop1 = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -269,62 +220,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": 1 - }, - "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "1786859709-export class classC {\n prop1 = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -347,7 +249,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated } }, "version": "FakeTSVersion", - "size": 1475 + "size": 1265 } @@ -403,7 +305,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated //// [/src/outFile.js] file written with same contents //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","impliedFormat":1}],"root":[[2,7]],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/src/class.ts","./project/src/indirectclass.ts","./project/src/directuse.ts","./project/src/indirectuse.ts","./project/src/nochangefile.ts","./project/src/nochangefilewithemitspecificerror.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}","-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}"],"root":[[2,7]],"options":{"outFile":"./outFile.js"}},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -418,62 +320,13 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated "./project/src/nochangefilewithemitspecificerror.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" - }, - "./project/src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" - }, - "./project/src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" - }, - "./project/src/nochangefilewithemitspecificerror.ts": { - "original": { - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": 1 - }, - "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/src/class.ts": "545032748-export class classC {\n prop = 1;\n}", + "./project/src/indirectclass.ts": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", + "./project/src/directuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/indirectuse.ts": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", + "./project/src/nochangefile.ts": "6714567633-export function writeLog(s: string) {\n}", + "./project/src/nochangefilewithemitspecificerror.ts": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}" }, "root": [ [ @@ -496,6 +349,6 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated } }, "version": "FakeTSVersion", - "size": 1473 + "size": 1263 } diff --git a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental.js b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental.js index 0737ac54f12f2..a0ba85bbea5c5 100644 --- a/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental.js +++ b/tests/baselines/reference/tsc/noEmit/changes-with-initial-noEmit-incremental.js @@ -57,7 +57,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,4,3,5,6,7]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,4,3,5,6,7]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -83,69 +83,40 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "signature": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "signature": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -218,7 +189,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1759 + "size": 1573 } @@ -299,7 +270,7 @@ function someFunc(arguments) { //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"545032748-export class classC {\n prop = 1;\n}","6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -325,69 +296,40 @@ function someFunc(arguments) { "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { - "original": { - "version": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": 1 - }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "545032748-export class classC {\n prop = 1;\n}", - "impliedFormat": "commonjs" + "signature": "545032748-export class classC {\n prop = 1;\n}" }, "./src/indirectclass.ts": { - "original": { - "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": 1 - }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "impliedFormat": "commonjs" + "signature": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "signature": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -434,7 +376,7 @@ function someFunc(arguments) { ] }, "version": "FakeTSVersion", - "size": 1718 + "size": 1532 } @@ -502,7 +444,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/src/indirectUse.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"1786859709-export class classC {\n prop1 = 1;\n}","signature":"-12157283604-export declare class classC {\n prop1: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","signature":"-3531856636-export {};\n"},"6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[4,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[5,[{"start":76,"length":4,"code":2551,"category":1,"messageText":"Property 'prop' does not exist on type 'classC'. Did you mean 'prop1'?","relatedInformation":[{"file":"./src/class.ts","start":26,"length":5,"messageText":"'prop1' is declared here.","category":3,"code":2728}]}]],[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -528,73 +470,56 @@ exports.classC = classC; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": 1 + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "version": "1786859709-export class classC {\n prop1 = 1;\n}", - "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-12157283604-export declare class classC {\n prop1: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/indirectuse.ts": { "original": { "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "signature": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -685,7 +610,7 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 2563 + "size": 2425 } @@ -705,7 +630,7 @@ exitCode:: ExitStatus.Success //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]],"affectedFilesPendingEmit":[2,3]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -731,71 +656,48 @@ exitCode:: ExitStatus.Success "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "signature": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -852,7 +754,7 @@ exitCode:: ExitStatus.Success ] }, "version": "FakeTSVersion", - "size": 1954 + "size": 1792 } @@ -889,7 +791,7 @@ exports.classC = classC; //// [/src/project/src/indirectClass.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n","impliedFormat":1},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","impliedFormat":1},{"version":"6714567633-export function writeLog(s: string) {\n}","impliedFormat":1},{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/class.ts","./src/indirectclass.ts","./src/directuse.ts","./src/indirectuse.ts","./src/nochangefile.ts","./src/nochangefilewithemitspecificerror.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"545032748-export class classC {\n prop = 1;\n}","signature":"-9508063301-export declare class classC {\n prop: number;\n}\n"},{"version":"6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}","signature":"9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n"},"-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;","6714567633-export function writeLog(s: string) {\n}",{"version":"-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}","affectsGlobalScope":true}],"root":[[2,7]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2],[5,1]],"semanticDiagnosticsPerFile":[[7,[{"start":18,"length":18,"messageText":"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.","category":1,"code":2396,"skippedOn":"noEmit"}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -915,71 +817,48 @@ exports.classC = classC; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/class.ts": { "original": { "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": 1 + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "version": "545032748-export class classC {\n prop = 1;\n}", - "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9508063301-export declare class classC {\n prop: number;\n}\n" }, "./src/indirectclass.ts": { "original": { "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": 1 + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "version": "6324910780-import { classC } from './class';\nexport class indirectClass {\n classC = new classC();\n}", - "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n", - "impliedFormat": "commonjs" + "signature": "9337978648-import { classC } from './class';\nexport declare class indirectClass {\n classC: classC;\n}\n" }, "./src/directuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/indirectuse.ts": { - "original": { - "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": 1 - }, "version": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;", - "impliedFormat": "commonjs" + "signature": "-8953710208-import { indirectClass } from './indirectClass';\nnew indirectClass().classC.prop;" }, "./src/nochangefile.ts": { - "original": { - "version": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": 1 - }, "version": "6714567633-export function writeLog(s: string) {\n}", - "signature": "6714567633-export function writeLog(s: string) {\n}", - "impliedFormat": "commonjs" + "signature": "6714567633-export function writeLog(s: string) {\n}" }, "./src/nochangefilewithemitspecificerror.ts": { "original": { "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", "signature": "-19339541508-function someFunc(arguments: boolean, ...rest: any[]) {\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -1026,6 +905,6 @@ exports.classC = classC; ] }, "version": "FakeTSVersion", - "size": 1921 + "size": 1759 } diff --git a/tests/baselines/reference/tsc/noEmit/when-project-has-strict-true.js b/tests/baselines/reference/tsc/noEmit/when-project-has-strict-true.js index 4caf393808ccd..8a16b53f78238 100644 --- a/tests/baselines/reference/tsc/noEmit/when-project-has-strict-true.js +++ b/tests/baselines/reference/tsc/noEmit/when-project-has-strict-true.js @@ -56,7 +56,7 @@ Shape signatures in builder refreshed for:: //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7660182596-export class class1 {}","impliedFormat":1}],"root":[2],"options":{"strict":true},"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./class1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-7660182596-export class class1 {}"],"root":[2],"options":{"strict":true},"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -69,22 +69,15 @@ Shape signatures in builder refreshed for:: "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class1.ts": { - "original": { - "version": "-7660182596-export class class1 {}", - "impliedFormat": 1 - }, "version": "-7660182596-export class class1 {}", - "signature": "-7660182596-export class class1 {}", - "impliedFormat": "commonjs" + "signature": "-7660182596-export class class1 {}" } }, "root": [ @@ -104,7 +97,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 734 + "size": 686 } diff --git a/tests/baselines/reference/tsc/noEmitOnError/file-deleted-before-fixing-error-with-noEmitOnError.js b/tests/baselines/reference/tsc/noEmitOnError/file-deleted-before-fixing-error-with-noEmitOnError.js index adc2b3b951914..63d25d43f2277 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/file-deleted-before-fixing-error-with-noEmitOnError.js +++ b/tests/baselines/reference/tsc/noEmitOnError/file-deleted-before-fixing-error-with-noEmitOnError.js @@ -71,7 +71,7 @@ Shape signatures in builder refreshed for:: //// [/src/project/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../file1.ts","../file2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10927263693-export const x: 30 = \"hello\";","impliedFormat":1},{"version":"-7804761415-export class D { }","impliedFormat":1}],"root":[2,3],"options":{"noEmitOnError":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '\"hello\"' is not assignable to type '30'."}]]],"affectedFilesPendingEmit":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../file1.ts","../file2.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10927263693-export const x: 30 = \"hello\";","-7804761415-export class D { }"],"root":[2,3],"options":{"noEmitOnError":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '\"hello\"' is not assignable to type '30'."}]]],"affectedFilesPendingEmit":[2,3]},"version":"FakeTSVersion"} //// [/src/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -85,31 +85,19 @@ Shape signatures in builder refreshed for:: "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../file1.ts": { - "original": { - "version": "-10927263693-export const x: 30 = \"hello\";", - "impliedFormat": 1 - }, "version": "-10927263693-export const x: 30 = \"hello\";", - "signature": "-10927263693-export const x: 30 = \"hello\";", - "impliedFormat": "commonjs" + "signature": "-10927263693-export const x: 30 = \"hello\";" }, "../file2.ts": { - "original": { - "version": "-7804761415-export class D { }", - "impliedFormat": 1 - }, "version": "-7804761415-export class D { }", - "signature": "-7804761415-export class D { }", - "impliedFormat": "commonjs" + "signature": "-7804761415-export class D { }" } }, "root": [ @@ -152,7 +140,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 1000 + "size": 922 } @@ -194,7 +182,7 @@ No shapes updated in the builder:: //// [/src/project/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../lib/lib.d.ts","../file1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10927263693-export const x: 30 = \"hello\";","impliedFormat":1}],"root":[2],"options":{"noEmitOnError":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '\"hello\"' is not assignable to type '30'."}]]],"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../lib/lib.d.ts","../file1.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-10927263693-export const x: 30 = \"hello\";"],"root":[2],"options":{"noEmitOnError":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '\"hello\"' is not assignable to type '30'."}]]],"affectedFilesPendingEmit":[2]},"version":"FakeTSVersion"} //// [/src/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -207,22 +195,15 @@ No shapes updated in the builder:: "../../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../file1.ts": { - "original": { - "version": "-10927263693-export const x: 30 = \"hello\";", - "impliedFormat": 1 - }, "version": "-10927263693-export const x: 30 = \"hello\";", - "signature": "-10927263693-export const x: 30 = \"hello\";", - "impliedFormat": "commonjs" + "signature": "-10927263693-export const x: 30 = \"hello\";" } }, "root": [ @@ -257,6 +238,6 @@ No shapes updated in the builder:: ] }, "version": "FakeTSVersion", - "size": 919 + "size": 871 } diff --git a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js index fdc4e3278824e..943ddfacd9eee 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-declaration-with-incremental.js @@ -189,7 +189,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -201,38 +201,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": 1 - }, - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -255,7 +227,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1050 + "size": 930 } diff --git a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-incremental.js index 3d43d6f78553b..5d8cc841cbf22 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-outFile-with-incremental.js @@ -173,7 +173,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -185,38 +185,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": 1 - }, - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -238,7 +210,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1031 + "size": 911 } diff --git a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-declaration-with-incremental.js index f1990a03618c8..8d7d39b353ec6 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-declaration-with-incremental.js @@ -86,7 +86,7 @@ Shape signatures in builder refreshed for:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,40 +106,23 @@ Shape signatures in builder refreshed for:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { - "original": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "impliedFormat": 1 - }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "impliedFormat": "commonjs" + "signature": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -195,7 +178,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 1244 + "size": 1136 } @@ -310,7 +293,7 @@ console.log("hi"); //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -330,42 +313,31 @@ console.log("hi"); "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -393,7 +365,7 @@ console.log("hi"); } }, "version": "FakeTSVersion", - "size": 1141 + "size": 1057 } diff --git a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-incremental.js index 95aa6d3894360..fa2d77bd8e75a 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/semantic-errors-with-incremental.js @@ -84,7 +84,7 @@ Shape signatures in builder refreshed for:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,40 +104,23 @@ Shape signatures in builder refreshed for:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { - "original": { - "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "impliedFormat": 1 - }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "impliedFormat": "commonjs" + "signature": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -192,7 +175,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 1225 + "size": 1117 } @@ -291,7 +274,7 @@ console.log("hi"); //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -311,41 +294,27 @@ console.log("hi"); "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -372,7 +341,7 @@ console.log("hi"); } }, "version": "FakeTSVersion", - "size": 1083 + "size": 987 } diff --git a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js index 19e1ee15e0d46..c743de69273b2 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-declaration-with-incremental.js @@ -196,7 +196,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -208,38 +208,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": 1 - }, - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -262,7 +234,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1059 + "size": 939 } diff --git a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-incremental.js index 3f7cf478fb299..ff5e7b64a0d69 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-outFile-with-incremental.js @@ -180,7 +180,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -192,38 +192,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": 1 - }, - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -245,7 +217,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1040 + "size": 920 } diff --git a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-declaration-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-declaration-with-incremental.js index b1a0dd97c8506..c8e650662258a 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-declaration-with-incremental.js @@ -89,7 +89,7 @@ Shape signatures in builder refreshed for:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -109,40 +109,23 @@ Shape signatures in builder refreshed for:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { - "original": { - "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": 1 - }, "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "signature": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "signature": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -184,7 +167,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 1108 + "size": 1000 } @@ -303,7 +286,7 @@ console.log("hi"); //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -323,42 +306,31 @@ console.log("hi"); "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -386,7 +358,7 @@ console.log("hi"); } }, "version": "FakeTSVersion", - "size": 1150 + "size": 1066 } diff --git a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-incremental.js b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-incremental.js index 8c80979bf2a12..78e2e9b7a4261 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-incremental.js +++ b/tests/baselines/reference/tsc/noEmitOnError/syntax-errors-with-incremental.js @@ -87,7 +87,7 @@ Shape signatures in builder refreshed for:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,40 +107,23 @@ Shape signatures in builder refreshed for:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { - "original": { - "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": 1 - }, "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "signature": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "signature": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -181,7 +164,7 @@ Shape signatures in builder refreshed for:: ] }, "version": "FakeTSVersion", - "size": 1089 + "size": 981 } @@ -284,7 +267,7 @@ console.log("hi"); //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -304,41 +287,27 @@ console.log("hi"); "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -365,7 +334,7 @@ console.log("hi"); } }, "version": "FakeTSVersion", - "size": 1092 + "size": 996 } diff --git a/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-discrepancies.js b/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-discrepancies.js index c75c11c626749..1d00825605c48 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-discrepancies.js +++ b/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-discrepancies.js @@ -9,18 +9,15 @@ CleanBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "version": "5515933561-const x: 20 = 10;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.ts": { "version": "2026006654-const y = 10;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -66,18 +63,15 @@ IncrementalBuild: "fileInfos": { "../../lib/lib.d.ts": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "version": "5515933561-const x: 20 = 10;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.ts": { "version": "2026006654-const y = 10;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ diff --git a/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-with-outFile.js b/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-with-outFile.js index dca7210519078..82fc73e8c15e5 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-with-outFile.js +++ b/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes-with-outFile.js @@ -49,7 +49,7 @@ var y = 10; //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"5029505981-const x = 10;","impliedFormat":1},{"version":"2026006654-const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-2781996726-declare const x = 10;\ndeclare const y = 10;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-2781996726-declare const x = 10;\ndeclare const y = 10;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -60,30 +60,9 @@ var y = 10; "./project/b.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "5029505981-const x = 10;", - "impliedFormat": 1 - }, - "version": "5029505981-const x = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "2026006654-const y = 10;", - "impliedFormat": 1 - }, - "version": "2026006654-const y = 10;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "5029505981-const x = 10;", + "./project/b.ts": "2026006654-const y = 10;" }, "root": [ [ @@ -105,7 +84,7 @@ var y = 10; "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 927 + "size": 837 } @@ -153,7 +132,7 @@ declare const y = 10; {"version":3,"file":"outFile.d.ts","sourceRoot":"","sources":["project/a.ts","project/b.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,CAAC,KAAK,CAAC;ACAb,QAAA,MAAM,CAAC,KAAK,CAAC"} //// [/src/outFile.tsbuildinfo] -{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"5029505981-const x = 10;","impliedFormat":1},{"version":"2026006654-const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-2781996726-declare const x = 10;\ndeclare const y = 10;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../lib/lib.d.ts","./project/a.ts","./project/b.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","5029505981-const x = 10;","2026006654-const y = 10;"],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-2781996726-declare const x = 10;\ndeclare const y = 10;\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/src/outFile.tsbuildinfo.readable.baseline.txt] { @@ -164,30 +143,9 @@ declare const y = 10; "./project/b.ts" ], "fileInfos": { - "../lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./project/a.ts": { - "original": { - "version": "5029505981-const x = 10;", - "impliedFormat": 1 - }, - "version": "5029505981-const x = 10;", - "impliedFormat": "commonjs" - }, - "./project/b.ts": { - "original": { - "version": "2026006654-const y = 10;", - "impliedFormat": 1 - }, - "version": "2026006654-const y = 10;", - "impliedFormat": "commonjs" - } + "../lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./project/a.ts": "5029505981-const x = 10;", + "./project/b.ts": "2026006654-const y = 10;" }, "root": [ [ @@ -210,6 +168,6 @@ declare const y = 10; "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 949 + "size": 859 } diff --git a/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes.js b/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes.js index c5f02158819b0..4a3e7050ff757 100644 --- a/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes.js +++ b/tests/baselines/reference/tsc/noEmitOnError/when-declarationMap-changes.js @@ -54,7 +54,7 @@ var y = 10; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"2026006654-const y = 10;","signature":"-4332668712-declare const y = 10;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"noEmitOnError":true},"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-4332668712-declare const y = 10;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"declaration":true,"noEmitOnError":true},"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -68,37 +68,31 @@ var y = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.ts": { "original": { "version": "2026006654-const y = 10;", "signature": "-4332668712-declare const y = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2026006654-const y = 10;", "signature": "-4332668712-declare const y = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -119,7 +113,7 @@ var y = 10; "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 985 + "size": 931 } @@ -145,7 +139,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"5515933561-const x: 20 = 10;","signature":"-3041996843-declare const x: 20;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"2026006654-const y = 10;","signature":"-4332668712-declare const y = 10;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '10' is not assignable to type '20'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[[2,["-4001438729-declare const x = 10;\n"]],[3,[]]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5515933561-const x: 20 = 10;","signature":"-3041996843-declare const x: 20;\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-4332668712-declare const y = 10;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type '10' is not assignable to type '20'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[[2,["-4001438729-declare const x = 10;\n"]],[3,[]]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -159,37 +153,31 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "5515933561-const x: 20 = 10;", "signature": "-3041996843-declare const x: 20;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5515933561-const x: 20 = 10;", "signature": "-3041996843-declare const x: 20;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.ts": { "original": { "version": "2026006654-const y = 10;", "signature": "-4332668712-declare const y = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2026006654-const y = 10;", "signature": "-4332668712-declare const y = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -247,7 +235,7 @@ exitCode:: ExitStatus.DiagnosticsPresent_OutputsSkipped "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 1256 + "size": 1202 } @@ -281,7 +269,7 @@ declare const y = 10; //// [/src/project/b.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"2026006654-const y = 10;","signature":"-4332668712-declare const y = 10;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"2026006654-const y = 10;","signature":"-4332668712-declare const y = 10;\n","affectsGlobalScope":true}],"root":[2,3],"options":{"composite":true,"declaration":true,"declarationMap":true,"noEmitOnError":true},"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -295,37 +283,31 @@ declare const y = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./b.ts": { "original": { "version": "2026006654-const y = 10;", "signature": "-4332668712-declare const y = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2026006654-const y = 10;", "signature": "-4332668712-declare const y = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -347,6 +329,6 @@ declare const y = 10; "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 1007 + "size": 953 } diff --git a/tests/baselines/reference/tsc/projectReferences/default-import-interop-uses-referenced-project-settings.js b/tests/baselines/reference/tsc/projectReferences/default-import-interop-uses-referenced-project-settings.js index 866c833d4187b..cae334db82e54 100644 --- a/tests/baselines/reference/tsc/projectReferences/default-import-interop-uses-referenced-project-settings.js +++ b/tests/baselines/reference/tsc/projectReferences/default-import-interop-uses-referenced-project-settings.js @@ -82,7 +82,6 @@ export declare const esm: number; Output:: /lib/tsc --p app --pretty false app/src/index.ts(2,28): error TS2613: Module '"/app/src/local"' has no default export. Did you mean to use 'import { local } from "/app/src/local"' instead? -app/src/index.ts(3,28): error TS2613: Module '"/node_modules/esm-package/index"' has no default export. Did you mean to use 'import { esm } from "/node_modules/esm-package/index"' instead? exitCode:: ExitStatus.DiagnosticsPresent_OutputsGenerated diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/default-setup-was-created-correctly.js b/tests/baselines/reference/tsc/projectReferencesConfig/default-setup-was-created-correctly.js index ddd8595aa8621..09137d8e4982b 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/default-setup-was-created-correctly.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/default-setup-was-created-correctly.js @@ -60,7 +60,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/primary/bin/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3531955686-export { };","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3531955686-export { };","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/primary/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -73,23 +73,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../a.ts": { "original": { "version": "-3531955686-export { };", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-3531955686-export { };", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -105,6 +101,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 778 + "size": 742 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/doesnt-infer-the-rootDir-from-source-paths.js b/tests/baselines/reference/tsc/projectReferencesConfig/doesnt-infer-the-rootDir-from-source-paths.js index d50fb7c85918f..9cf8934cd59bb 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/doesnt-infer-the-rootDir-from-source-paths.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/doesnt-infer-the-rootDir-from-source-paths.js @@ -46,7 +46,7 @@ exports.m = 3; //// [/alpha/bin/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../src/a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12181672471-export const m: number = 3;","signature":"-6260611917-export declare const m: number;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../src/a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-12181672471-export const m: number = 3;","signature":"-6260611917-export declare const m: number;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./src/a.d.ts"},"version":"FakeTSVersion"} //// [/alpha/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -59,23 +59,19 @@ exports.m = 3; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/a.ts": { "original": { "version": "-12181672471-export const m: number = 3;", - "signature": "-6260611917-export declare const m: number;\n", - "impliedFormat": 1 + "signature": "-6260611917-export declare const m: number;\n" }, "version": "-12181672471-export const m: number = 3;", - "signature": "-6260611917-export declare const m: number;\n", - "impliedFormat": "commonjs" + "signature": "-6260611917-export declare const m: number;\n" } }, "root": [ @@ -91,6 +87,6 @@ exports.m = 3; "latestChangedDtsFile": "./src/a.d.ts" }, "version": "FakeTSVersion", - "size": 824 + "size": 788 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-a-file-is-outside-the-rootdir.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-a-file-is-outside-the-rootdir.js index 8a90086df18ee..b86c37526c6c2 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-a-file-is-outside-the-rootdir.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-a-file-is-outside-the-rootdir.js @@ -60,7 +60,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/alpha/bin/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../../beta/b.ts","../src/a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3360792065-export { }","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5654511483-import * as b from '../../beta/b'","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../../beta/b.ts","../src/a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3360792065-export { }","signature":"-3531856636-export {};\n"},{"version":"-5654511483-import * as b from '../../beta/b'","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./src/a.d.ts"},"version":"FakeTSVersion"} //// [/alpha/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -79,33 +79,27 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../beta/b.ts": { "original": { "version": "-3360792065-export { }", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-3360792065-export { }", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/a.ts": { "original": { "version": "-5654511483-import * as b from '../../beta/b'", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-5654511483-import * as b from '../../beta/b'", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -126,7 +120,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./src/a.d.ts" }, "version": "FakeTSVersion", - "size": 964 + "size": 910 } //// [/beta/b.d.ts] diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js index e5195f8fd979c..f7029770f547d 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-declaration-=-false.js @@ -53,7 +53,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/primary/bin/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3531955686-export { };","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declaration":false,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3531955686-export { };","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"declaration":false,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/primary/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -66,23 +66,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../a.ts": { "original": { "version": "-3531955686-export { };", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-3531955686-export { };", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -109,6 +105,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 833 + "size": 797 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-file-list-is-not-exhaustive.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-file-list-is-not-exhaustive.js index 8bbe0fb24b3c7..764a062311cb6 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-file-list-is-not-exhaustive.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-file-list-is-not-exhaustive.js @@ -67,7 +67,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/primary/bin/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../b.ts","../a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-2704852577-export {}","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-4190788607-import * as b from './b'","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../b.ts","../a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-2704852577-export {}","signature":"-3531856636-export {};\n"},{"version":"-4190788607-import * as b from './b'","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/primary/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -86,33 +86,27 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b.ts": { "original": { "version": "-2704852577-export {}", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-2704852577-export {}", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../a.ts": { "original": { "version": "-4190788607-import * as b from './b'", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-4190788607-import * as b from './b'", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -133,6 +127,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 938 + "size": 884 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-exist.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-exist.js index 2a4986e945da9..51c23d2e262b5 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-exist.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-exist.js @@ -60,7 +60,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/primary/bin/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3531955686-export { };","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3531955686-export { };","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/primary/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -73,23 +73,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../a.ts": { "original": { "version": "-3531955686-export { };", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-3531955686-export { };", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -115,6 +111,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 813 + "size": 777 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-have-composite.js b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-have-composite.js index e264c40bc95cd..db229a7ad9940 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-have-composite.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/errors-when-the-referenced-project-doesnt-have-composite.js @@ -75,7 +75,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/reference/bin/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9543969340-import * as mod_0 from \"../primary/a\"","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-9543969340-import * as mod_0 from \"../primary/a\"","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[1,2],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/reference/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -88,23 +88,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b.ts": { "original": { "version": "-9543969340-import * as mod_0 from \"../primary/a\"", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-9543969340-import * as mod_0 from \"../primary/a\"", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -130,6 +126,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 841 + "size": 805 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing-when-module-reference-is-not-relative.js b/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing-when-module-reference-is-not-relative.js index e7f853026d0a2..f8824ee8f6142 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing-when-module-reference-is-not-relative.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing-when-module-reference-is-not-relative.js @@ -74,7 +74,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/beta/bin/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"2892088637-import { m } from '@alpha/a'","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":18,"length":10,"messageText":"Output file '/alpha/bin/a.d.ts' has not been built from source file '/alpha/a.ts'.","category":1,"code":6305}]]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"2892088637-import { m } from '@alpha/a'","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":18,"length":10,"messageText":"Output file '/alpha/bin/a.d.ts' has not been built from source file '/alpha/a.ts'.","category":1,"code":6305}]]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/beta/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -87,23 +87,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b.ts": { "original": { "version": "2892088637-import { m } from '@alpha/a'", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "2892088637-import { m } from '@alpha/a'", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -133,6 +129,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 980 + "size": 944 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing.js b/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing.js index 191341ec0d2f4..a492b0152550f 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/issues-a-nice-error-when-the-input-file-is-missing.js @@ -68,7 +68,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/beta/bin/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4853599800-import { m } from '../alpha/a'","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":18,"length":12,"messageText":"Output file '/alpha/bin/a.d.ts' has not been built from source file '/alpha/a.ts'.","category":1,"code":6305}]]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-4853599800-import { m } from '../alpha/a'","signature":"-3531856636-export {};\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"semanticDiagnosticsPerFile":[[2,[{"start":18,"length":12,"messageText":"Output file '/alpha/bin/a.d.ts' has not been built from source file '/alpha/a.ts'.","category":1,"code":6305}]]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/beta/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -81,23 +81,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b.ts": { "original": { "version": "-4853599800-import { m } from '../alpha/a'", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-4853599800-import { m } from '../alpha/a'", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -127,6 +123,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 983 + "size": 947 } diff --git a/tests/baselines/reference/tsc/projectReferencesConfig/redirects-to-the-output-dts-file.js b/tests/baselines/reference/tsc/projectReferencesConfig/redirects-to-the-output-dts-file.js index acfdabafa9a7c..3e36ad5118150 100644 --- a/tests/baselines/reference/tsc/projectReferencesConfig/redirects-to-the-output-dts-file.js +++ b/tests/baselines/reference/tsc/projectReferencesConfig/redirects-to-the-output-dts-file.js @@ -78,7 +78,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); //// [/beta/bin/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../../alpha/bin/a.d.ts","../b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3531955686-export { };","impliedFormat":1},{"version":"-4853599800-import { m } from '../alpha/a'","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":9,"length":1,"messageText":"Module '\"../alpha/a\"' has no exported member 'm'.","category":1,"code":2305}]]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../../alpha/bin/a.d.ts","../b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-3531955686-export { };",{"version":"-4853599800-import { m } from '../alpha/a'","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":9,"length":1,"messageText":"Module '\"../alpha/a\"' has no exported member 'm'.","category":1,"code":2305}]]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/beta/bin/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -97,32 +97,23 @@ Object.defineProperty(exports, "__esModule", { value: true }); "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../alpha/bin/a.d.ts": { - "original": { - "version": "-3531955686-export { };", - "impliedFormat": 1 - }, "version": "-3531955686-export { };", - "signature": "-3531955686-export { };", - "impliedFormat": "commonjs" + "signature": "-3531955686-export { };" }, "../b.ts": { "original": { "version": "-4853599800-import { m } from '../alpha/a'", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-4853599800-import { m } from '../alpha/a'", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -157,6 +148,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 1075 + "size": 1009 } diff --git a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js index 53b7fac589998..a3f07dce330c3 100644 --- a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js +++ b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash-under---strict.js @@ -70,7 +70,7 @@ exports.App = App; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","impliedFormat":1},{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1,"strict":true},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"code":7016,"category":1,"messageText":"Could not find a declaration file for module 'react/jsx-runtime'. '/src/project/node_modules/react/jsx-runtime.js' implicitly has an 'any' type."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;",{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1,"strict":true},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"code":7016,"category":1,"messageText":"Could not find a declaration file for module 'react/jsx-runtime'. '/src/project/node_modules/react/jsx-runtime.js' implicitly has an 'any' type."}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -84,33 +84,24 @@ exports.App = App; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/index.tsx": { - "original": { - "version": "-14760199789-export const App = () =>
;", - "impliedFormat": 1 - }, "version": "-14760199789-export const App = () =>
;", - "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "signature": "-14760199789-export const App = () =>
;" }, "./node_modules/@types/react/index.d.ts": { "original": { "version": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", "signature": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -141,6 +132,6 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1353 + "size": 1287 } diff --git a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js index 8f02111ec5881..f13119f94d2db 100644 --- a/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js +++ b/tests/baselines/reference/tsc/react-jsx-emit-mode/with-no-backing-types-found-doesn't-crash.js @@ -62,7 +62,7 @@ exports.App = App; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","impliedFormat":1},{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./src/index.tsx","./node_modules/@types/react/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;",{"version":"-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}","affectsGlobalScope":true}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -76,33 +76,24 @@ exports.App = App; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/index.tsx": { - "original": { - "version": "-14760199789-export const App = () =>
;", - "impliedFormat": 1 - }, "version": "-14760199789-export const App = () =>
;", - "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "signature": "-14760199789-export const App = () =>
;" }, "./node_modules/@types/react/index.d.ts": { "original": { "version": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", "signature": "-16587767667-\nexport {};\ndeclare global {\n namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n }\n}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -118,6 +109,6 @@ exports.App = App; } }, "version": "FakeTSVersion", - "size": 1091 + "size": 1025 } diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js index 34db5e5684227..a95193625616f 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/elides-const-enums-correctly-in-incremental-compilation.js @@ -49,12 +49,6 @@ var v = 1 /* E2.V */; -PolledWatches:: -/user/someone/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/someone/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: *new* {} diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 9009c274867f3..fd6e8e3933d29 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -54,7 +54,7 @@ console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18774426152-export class C\n{\n d: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -77,40 +77,23 @@ console.log(b.c.d); "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": 1 - }, "version": "-18774426152-export class C\n{\n d: number;\n}", - "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "signature": "-18774426152-export class C\n{\n d: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -139,19 +122,15 @@ console.log(b.c.d); } }, "version": "FakeTSVersion", - "size": 988 + "size": 880 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -235,7 +214,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-21444928214-export class C\n{\n d2: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -258,40 +237,23 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": 1 - }, "version": "-21444928214-export class C\n{\n d2: number;\n}", - "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "signature": "-21444928214-export class C\n{\n d2: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -320,7 +282,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 989 + "size": 881 } @@ -380,7 +342,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18774426152-export class C\n{\n d: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -403,40 +365,23 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": 1 - }, "version": "-18774426152-export class C\n{\n d: number;\n}", - "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "signature": "-18774426152-export class C\n{\n d: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -465,7 +410,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 988 + "size": 880 } @@ -525,7 +470,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-21444928214-export class C\n{\n d2: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -548,40 +493,23 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": 1 - }, "version": "-21444928214-export class C\n{\n d2: number;\n}", - "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "signature": "-21444928214-export class C\n{\n d2: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -610,7 +538,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 989 + "size": 881 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js index dbb0ea009ca5f..3b53aed27a40c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js @@ -57,12 +57,8 @@ console.log(b.c.d); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js index 313aaae353cf7..6a43a69f28e01 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -81,7 +81,7 @@ console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22447130237-export class C\n{\n d = 1;\n}","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-22447130237-export class C\n{\n d = 1;\n}","-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,40 +104,23 @@ console.log(b.c.d); "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { - "original": { - "version": "-22447130237-export class C\n{\n d = 1;\n}", - "impliedFormat": 1 - }, "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-22447130237-export class C\n{\n d = 1;\n}", - "impliedFormat": "commonjs" + "signature": "-22447130237-export class C\n{\n d = 1;\n}" }, "./b.ts": { - "original": { - "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": 1 - }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": "commonjs" + "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -166,19 +149,15 @@ console.log(b.c.d); } }, "version": "FakeTSVersion", - "size": 987 + "size": 879 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -275,7 +254,7 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -298,43 +277,35 @@ exports.C = C; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": 1 + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -377,7 +348,7 @@ exports.C = C; ] }, "version": "FakeTSVersion", - "size": 1335 + "size": 1263 } @@ -458,7 +429,7 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -481,43 +452,35 @@ exports.C = C; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": 1 + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -560,7 +523,7 @@ exports.C = C; ] }, "version": "FakeTSVersion", - "size": 1333 + "size": 1261 } @@ -639,7 +602,7 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -662,43 +625,35 @@ exports.C = C; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": 1 + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -741,7 +696,7 @@ exports.C = C; ] }, "version": "FakeTSVersion", - "size": 1335 + "size": 1263 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js index ade51cdc29fed..ac6acc7f2f84e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js @@ -84,12 +84,8 @@ console.log(b.c.d); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 1570328b2fcbd..4b99dbc4d71d1 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -115,7 +115,7 @@ require("./d"); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","impliedFormat":1},{"version":"-5185546240-import \"./d\";","impliedFormat":1}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -146,58 +146,31 @@ require("./d"); "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "original": { - "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "impliedFormat": 1 - }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "impliedFormat": "commonjs" + "signature": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}" }, "./b.ts": { - "original": { - "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": 1 - }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": "commonjs" + "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}" }, "./c.ts": { - "original": { - "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": 1 - }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" }, "./d.ts": { - "original": { - "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": 1 - }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" }, "./e.ts": { - "original": { - "version": "-5185546240-import \"./d\";", - "impliedFormat": 1 - }, "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "signature": "-5185546240-import \"./d\";" } }, "root": [ @@ -270,19 +243,15 @@ require("./d"); ] }, "version": "FakeTSVersion", - "size": 1900 + "size": 1732 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -380,7 +349,7 @@ Output:: //// [/user/username/projects/myproject/d.js] file written with same contents //// [/user/username/projects/myproject/e.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -411,63 +380,51 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -504,7 +461,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1856 + "size": 1748 } @@ -580,7 +537,7 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -611,63 +568,51 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -704,7 +649,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1859 + "size": 1751 } @@ -774,7 +719,7 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -805,63 +750,51 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -898,7 +831,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1856 + "size": 1748 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js index c8742f7651a3c..70ae4c2f7dae4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -118,12 +118,8 @@ require("./d"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js index 17e29c3f4183a..ee8fd3a8cde83 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export-with-incremental.js @@ -164,7 +164,7 @@ exports.App = App; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -199,67 +199,35 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { - "original": { - "version": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": 1 - }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": "commonjs" + "signature": "-4369626085-export interface ITest {\n title: string;\n}" }, "./lib1/tools/public.ts": { - "original": { - "version": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": 1 - }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "signature": "-10750058173-export * from \"./toolsinterface\";" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data.ts": { - "original": { - "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -290,25 +258,15 @@ exports.App = App; } }, "version": "FakeTSVersion", - "size": 1517 + "size": 1319 } PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -405,7 +363,7 @@ Output:: //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -440,73 +398,59 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -551,7 +495,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 2204 + "size": 2078 } @@ -627,7 +571,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -662,73 +606,59 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -773,7 +703,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 2202 + "size": 2076 } @@ -841,7 +771,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -876,73 +806,59 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -987,7 +903,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 2204 + "size": 2078 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js index 3212950c9eaa3..b20336ad3c1bb 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/no-circular-import/export.js @@ -165,20 +165,10 @@ exports.App = App; PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js index 9489a2cca2fa0..11ee0879cf8ed 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -182,7 +182,7 @@ exports.App = App; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -219,76 +219,39 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { - "original": { - "version": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": 1 - }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": "commonjs" + "signature": "-4369626085-export interface ITest {\n title: string;\n}" }, "./lib1/tools/public.ts": { - "original": { - "version": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": 1 - }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "signature": "-10750058173-export * from \"./toolsinterface\";" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data2.ts": { - "original": { - "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": 1 - }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" }, "./lib2/data.ts": { - "original": { - "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -323,25 +286,15 @@ exports.App = App; } }, "version": "FakeTSVersion", - "size": 1724 + "size": 1496 } PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -444,7 +397,7 @@ Output:: //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -481,83 +434,67 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -606,7 +543,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 2577 + "size": 2433 } @@ -685,7 +622,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -722,83 +659,67 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -847,7 +768,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 2575 + "size": 2431 } @@ -916,7 +837,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -953,83 +874,67 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -1078,7 +983,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 2577 + "size": 2433 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js index b4835800c7341..b36ac813152dd 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/transitive-exports/yes-circular-import/exports.js @@ -183,20 +183,10 @@ exports.App = App; PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 5ff2bbd3d6032..71b635dd91220 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -58,7 +58,7 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18774426152-export class C\n{\n d: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -81,41 +81,27 @@ export {}; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": 1 - }, "version": "-18774426152-export class C\n{\n d: number;\n}", - "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "signature": "-18774426152-export class C\n{\n d: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -145,19 +131,15 @@ export {}; } }, "version": "FakeTSVersion", - "size": 1046 + "size": 950 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -242,7 +224,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-21444928214-export class C\n{\n d2: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -265,41 +247,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": 1 - }, "version": "-21444928214-export class C\n{\n d2: number;\n}", - "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "signature": "-21444928214-export class C\n{\n d2: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -329,7 +297,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1047 + "size": 951 } @@ -390,7 +358,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18774426152-export class C\n{\n d: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -413,41 +381,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": 1 - }, "version": "-18774426152-export class C\n{\n d: number;\n}", - "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "signature": "-18774426152-export class C\n{\n d: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -477,7 +431,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1046 + "size": 950 } @@ -538,7 +492,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-21444928214-export class C\n{\n d2: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -561,41 +515,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": 1 - }, "version": "-21444928214-export class C\n{\n d2: number;\n}", - "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "signature": "-21444928214-export class C\n{\n d2: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -625,7 +565,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1047 + "size": 951 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js index 7441643f5c051..74ec251c2f10a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -61,12 +61,8 @@ export {}; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index ffa5b4bd019cd..e23737e6d4bb3 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -98,7 +98,7 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -121,43 +121,35 @@ export {}; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": 1 + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -187,19 +179,15 @@ export {}; } }, "version": "FakeTSVersion", - "size": 1209 + "size": 1137 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -298,7 +286,7 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -321,43 +309,35 @@ export declare class C { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": 1 + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -387,7 +367,7 @@ export declare class C { } }, "version": "FakeTSVersion", - "size": 1211 + "size": 1139 } @@ -469,7 +449,7 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -492,43 +472,35 @@ export declare class C { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": 1 + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -558,7 +530,7 @@ export declare class C { } }, "version": "FakeTSVersion", - "size": 1209 + "size": 1137 } @@ -640,7 +612,7 @@ export declare class C { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -663,43 +635,35 @@ export declare class C { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": 1 + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -729,7 +693,7 @@ export declare class C { } }, "version": "FakeTSVersion", - "size": 1211 + "size": 1139 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js index 916ee3408e0cc..4c03d610521a0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js @@ -101,12 +101,8 @@ export {}; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 22ccd5d123af2..ee37aea1fa43f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -145,7 +145,7 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,63 +176,51 @@ import "./d"; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -306,19 +294,15 @@ import "./d"; ] }, "version": "FakeTSVersion", - "size": 2381 + "size": 2273 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -441,7 +425,7 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -472,63 +456,51 @@ export interface Coords { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -602,7 +574,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 2378 + "size": 2270 } @@ -700,7 +672,7 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -731,63 +703,51 @@ export interface Coords { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -861,7 +821,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 2381 + "size": 2273 } @@ -959,7 +919,7 @@ export interface Coords { //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -990,63 +950,51 @@ export interface Coords { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -1120,7 +1068,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 2378 + "size": 2270 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 05f1bb5c3775f..d365be05c2521 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -148,12 +148,8 @@ import "./d"; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js index b39f22e8789f0..030e84797eaa4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -195,7 +195,7 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -230,73 +230,59 @@ export declare class App { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -328,25 +314,15 @@ export declare class App { } }, "version": "FakeTSVersion", - "size": 1992 + "size": 1866 } PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -442,7 +418,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -477,73 +453,59 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -575,7 +537,7 @@ export interface ITest { } }, "version": "FakeTSVersion", - "size": 1994 + "size": 1868 } @@ -646,7 +608,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -681,73 +643,59 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -779,7 +727,7 @@ export interface ITest { } }, "version": "FakeTSVersion", - "size": 1992 + "size": 1866 } @@ -850,7 +798,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -885,73 +833,59 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -983,7 +917,7 @@ export interface ITest { } }, "version": "FakeTSVersion", - "size": 1994 + "size": 1868 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js index 432a5f5b12fce..86090c0b87aa0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/no-circular-import/export.js @@ -196,20 +196,10 @@ export declare class App { PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index 32dcce68fd38c..e10a938b07e2e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -222,7 +222,7 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -259,83 +259,67 @@ export declare class App { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -371,25 +355,15 @@ export declare class App { } }, "version": "FakeTSVersion", - "size": 2365 + "size": 2221 } PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -490,7 +464,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -527,83 +501,67 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -639,7 +597,7 @@ export interface ITest { } }, "version": "FakeTSVersion", - "size": 2367 + "size": 2223 } @@ -711,7 +669,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -748,83 +706,67 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -860,7 +802,7 @@ export interface ITest { } }, "version": "FakeTSVersion", - "size": 2365 + "size": 2221 } @@ -932,7 +874,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"assumeChangesOnlyAffectDirectDependencies":true,"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -969,83 +911,67 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -1081,7 +1007,7 @@ export interface ITest { } }, "version": "FakeTSVersion", - "size": 2367 + "size": 2223 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js index bb3637662fc15..88536e2c04bd0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/transitive-exports/yes-circular-import/exports.js @@ -223,20 +223,10 @@ export declare class App { PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 930d29d00cd52..0ce563840812e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -54,7 +54,7 @@ console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18774426152-export class C\n{\n d: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -77,40 +77,23 @@ console.log(b.c.d); "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": 1 - }, "version": "-18774426152-export class C\n{\n d: number;\n}", - "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "signature": "-18774426152-export class C\n{\n d: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -136,19 +119,15 @@ console.log(b.c.d); } }, "version": "FakeTSVersion", - "size": 927 + "size": 819 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -236,7 +215,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-21444928214-export class C\n{\n d2: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -259,40 +238,23 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": 1 - }, "version": "-21444928214-export class C\n{\n d2: number;\n}", - "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "signature": "-21444928214-export class C\n{\n d2: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -332,7 +294,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1071 + "size": 963 } @@ -393,7 +355,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18774426152-export class C\n{\n d: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -416,40 +378,23 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": 1 - }, "version": "-18774426152-export class C\n{\n d: number;\n}", - "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "signature": "-18774426152-export class C\n{\n d: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -475,7 +420,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 927 + "size": 819 } @@ -541,7 +486,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-21444928214-export class C\n{\n d2: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -564,40 +509,23 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": 1 - }, "version": "-21444928214-export class C\n{\n d2: number;\n}", - "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "signature": "-21444928214-export class C\n{\n d2: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -637,7 +565,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1071 + "size": 963 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js index 8797cacbcb024..7b5591a75002b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js @@ -57,12 +57,8 @@ console.log(b.c.d); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js index 27c37b48a07eb..cbbd48c5a955a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -81,7 +81,7 @@ console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22447130237-export class C\n{\n d = 1;\n}","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-22447130237-export class C\n{\n d = 1;\n}","-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,40 +104,23 @@ console.log(b.c.d); "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { - "original": { - "version": "-22447130237-export class C\n{\n d = 1;\n}", - "impliedFormat": 1 - }, "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-22447130237-export class C\n{\n d = 1;\n}", - "impliedFormat": "commonjs" + "signature": "-22447130237-export class C\n{\n d = 1;\n}" }, "./b.ts": { - "original": { - "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": 1 - }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": "commonjs" + "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -163,19 +146,15 @@ console.log(b.c.d); } }, "version": "FakeTSVersion", - "size": 926 + "size": 818 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -271,7 +250,7 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -294,43 +273,35 @@ exports.C = C; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": 1 + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -370,7 +341,7 @@ exports.C = C; ] }, "version": "FakeTSVersion", - "size": 1274 + "size": 1202 } @@ -445,7 +416,7 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -468,42 +439,31 @@ exports.C = C; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": 1 + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -529,7 +489,7 @@ exports.C = C; } }, "version": "FakeTSVersion", - "size": 1090 + "size": 1006 } @@ -609,7 +569,7 @@ exports.C = C; //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -632,42 +592,31 @@ exports.C = C; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": 1 + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -707,7 +656,7 @@ exports.C = C; ] }, "version": "FakeTSVersion", - "size": 1235 + "size": 1151 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js index ad360f5d63cd7..37f26acd77eb8 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js @@ -84,12 +84,8 @@ console.log(b.c.d); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index ead938d7f72d7..f7f0aefdf3fd3 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -115,7 +115,7 @@ require("./d"); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","impliedFormat":1},{"version":"-5185546240-import \"./d\";","impliedFormat":1}],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -146,58 +146,31 @@ require("./d"); "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "original": { - "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "impliedFormat": 1 - }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "impliedFormat": "commonjs" + "signature": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}" }, "./b.ts": { - "original": { - "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": 1 - }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": "commonjs" + "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}" }, "./c.ts": { - "original": { - "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": 1 - }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" }, "./d.ts": { - "original": { - "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": 1 - }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" }, "./e.ts": { - "original": { - "version": "-5185546240-import \"./d\";", - "impliedFormat": 1 - }, "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "signature": "-5185546240-import \"./d\";" } }, "root": [ @@ -267,19 +240,15 @@ require("./d"); ] }, "version": "FakeTSVersion", - "size": 1839 + "size": 1671 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -376,7 +345,7 @@ Output:: //// [/user/username/projects/myproject/d.js] file written with same contents //// [/user/username/projects/myproject/e.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -407,63 +376,51 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -497,7 +454,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1795 + "size": 1687 } @@ -587,7 +544,7 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","impliedFormat":1},{"version":"-5185546240-import \"./d\";","impliedFormat":1}],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -618,60 +575,39 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { - "original": { - "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": 1 - }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" }, "./d.ts": { - "original": { - "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": 1 - }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" }, "./e.ts": { - "original": { - "version": "-5185546240-import \"./d\";", - "impliedFormat": 1 - }, "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "signature": "-5185546240-import \"./d\";" } }, "root": [ @@ -741,7 +677,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 2101 + "size": 1957 } @@ -816,7 +752,7 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/b.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","impliedFormat":1},{"version":"-5185546240-import \"./d\";","impliedFormat":1}],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -847,60 +783,39 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { - "original": { - "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": 1 - }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" }, "./d.ts": { - "original": { - "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": 1 - }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" }, "./e.ts": { - "original": { - "version": "-5185546240-import \"./d\";", - "impliedFormat": 1 - }, "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "signature": "-5185546240-import \"./d\";" } }, "root": [ @@ -934,7 +849,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1595 + "size": 1451 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js index 7a1f195c0cdf8..8cf81ea7d0b2f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -118,12 +118,8 @@ require("./d"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js index af1280df642cd..3c4f3c250619a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export-with-incremental.js @@ -164,7 +164,7 @@ exports.App = App; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -199,67 +199,35 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { - "original": { - "version": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": 1 - }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": "commonjs" + "signature": "-4369626085-export interface ITest {\n title: string;\n}" }, "./lib1/tools/public.ts": { - "original": { - "version": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": 1 - }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "signature": "-10750058173-export * from \"./toolsinterface\";" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data.ts": { - "original": { - "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -287,25 +255,15 @@ exports.App = App; } }, "version": "FakeTSVersion", - "size": 1456 + "size": 1258 } PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -401,7 +359,7 @@ Output:: //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -436,73 +394,59 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -544,7 +488,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 2143 + "size": 2017 } @@ -614,7 +558,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},"-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -649,69 +593,43 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data.ts": { - "original": { - "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -739,7 +657,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1597 + "size": 1423 } @@ -814,7 +732,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},"-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -849,69 +767,43 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data.ts": { - "original": { - "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -953,7 +845,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1828 + "size": 1654 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js index 00031d4754946..f6cba70626e9d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/no-circular-import/export.js @@ -165,20 +165,10 @@ exports.App = App; PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js index fcaa3721e466b..9fd5e731aa15d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -182,7 +182,7 @@ exports.App = App; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -219,76 +219,39 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { - "original": { - "version": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": 1 - }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": "commonjs" + "signature": "-4369626085-export interface ITest {\n title: string;\n}" }, "./lib1/tools/public.ts": { - "original": { - "version": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": 1 - }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "signature": "-10750058173-export * from \"./toolsinterface\";" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data2.ts": { - "original": { - "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": 1 - }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" }, "./lib2/data.ts": { - "original": { - "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -320,25 +283,15 @@ exports.App = App; } }, "version": "FakeTSVersion", - "size": 1663 + "size": 1435 } PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -440,7 +393,7 @@ Output:: //// [/user/username/projects/myproject/lib2/public.js] file written with same contents //// [/user/username/projects/myproject/app.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -477,83 +430,67 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -599,7 +536,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 2516 + "size": 2372 } @@ -672,7 +609,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},"-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -709,78 +646,47 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data2.ts": { - "original": { - "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": 1 - }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" }, "./lib2/data.ts": { - "original": { - "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -812,7 +718,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1804 + "size": 1600 } @@ -890,7 +796,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/lib1/tools/public.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},"-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -927,78 +833,47 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data2.ts": { - "original": { - "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": 1 - }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" }, "./lib2/data.ts": { - "original": { - "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -1044,7 +919,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 2035 + "size": 1831 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js index 01705ae90e394..dab8266f8b307 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/transitive-exports/yes-circular-import/exports.js @@ -183,20 +183,10 @@ exports.App = App; PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 0fc045fa22dc1..7faaace4dd03e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -58,7 +58,7 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18774426152-export class C\n{\n d: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -81,41 +81,27 @@ export {}; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": 1 - }, "version": "-18774426152-export class C\n{\n d: number;\n}", - "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "signature": "-18774426152-export class C\n{\n d: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -144,19 +130,15 @@ export {}; } }, "version": "FakeTSVersion", - "size": 997 + "size": 901 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -246,7 +228,7 @@ Output:: //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-21444928214-export class C\n{\n d2: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -269,41 +251,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": 1 - }, "version": "-21444928214-export class C\n{\n d2: number;\n}", - "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "signature": "-21444928214-export class C\n{\n d2: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -346,7 +314,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1141 + "size": 1045 } @@ -409,7 +377,7 @@ Output:: //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18774426152-export class C\n{\n d: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -432,41 +400,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": 1 - }, "version": "-18774426152-export class C\n{\n d: number;\n}", - "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "signature": "-18774426152-export class C\n{\n d: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -495,7 +449,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 997 + "size": 901 } @@ -563,7 +517,7 @@ Output:: //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-21444928214-export class C\n{\n d2: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -586,41 +540,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": 1 - }, "version": "-21444928214-export class C\n{\n d2: number;\n}", - "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "signature": "-21444928214-export class C\n{\n d2: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -663,7 +603,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1141 + "size": 1045 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js index 92de82d17c5c3..466af958d175f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -61,12 +61,8 @@ export {}; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index 2192a54990c73..cfa77338c1168 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -98,7 +98,7 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -121,43 +121,35 @@ export {}; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": 1 + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -186,19 +178,15 @@ export {}; } }, "version": "FakeTSVersion", - "size": 1160 + "size": 1088 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -302,7 +290,7 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -325,43 +313,35 @@ export declare class C { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": 1 + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -404,7 +384,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1305 + "size": 1233 } @@ -488,7 +468,7 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -511,43 +491,35 @@ export declare class C { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": 1 + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -576,7 +548,7 @@ export declare class C { } }, "version": "FakeTSVersion", - "size": 1160 + "size": 1088 } @@ -665,7 +637,7 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -688,43 +660,35 @@ export declare class C { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": 1 + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -767,7 +731,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1305 + "size": 1233 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js index 8a1c2b58bd163..80f2eeb9f3229 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js @@ -101,12 +101,8 @@ export {}; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 5abbb52b7b0e7..7e3adbb3000d5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -145,7 +145,7 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,63 +176,51 @@ import "./d"; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -305,19 +293,15 @@ import "./d"; ] }, "version": "FakeTSVersion", - "size": 2332 + "size": 2224 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -427,7 +411,7 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -458,63 +442,51 @@ export interface Coords { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -551,7 +523,7 @@ export interface Coords { } }, "version": "FakeTSVersion", - "size": 1826 + "size": 1718 } @@ -657,7 +629,7 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -688,63 +660,51 @@ export interface Coords { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -817,7 +777,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 2332 + "size": 2224 } @@ -908,7 +868,7 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -939,63 +899,51 @@ export interface Coords { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -1032,7 +980,7 @@ export interface Coords { } }, "version": "FakeTSVersion", - "size": 1826 + "size": 1718 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index dc3c597fd88ba..56bfcb2ce9626 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -148,12 +148,8 @@ import "./d"; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js index 713c41ef12470..163f3089a4e5c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -195,7 +195,7 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -230,73 +230,59 @@ export declare class App { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -327,25 +313,15 @@ export declare class App { } }, "version": "FakeTSVersion", - "size": 1943 + "size": 1817 } PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -449,7 +425,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -484,73 +460,59 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -595,7 +557,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 2174 + "size": 2048 } @@ -677,7 +639,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -712,73 +674,59 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -809,7 +757,7 @@ export interface ITest { } }, "version": "FakeTSVersion", - "size": 1943 + "size": 1817 } @@ -896,7 +844,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -931,73 +879,59 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -1042,7 +976,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 2174 + "size": 2048 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js index 9e749be5767c7..1a41f433bdbdf 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/no-circular-import/export.js @@ -196,20 +196,10 @@ export declare class App { PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index 6e2153801fdf0..40d5f17dbfa08 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -222,7 +222,7 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -259,83 +259,67 @@ export declare class App { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -370,25 +354,15 @@ export declare class App { } }, "version": "FakeTSVersion", - "size": 2316 + "size": 2172 } PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -498,7 +472,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -535,83 +509,67 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -660,7 +618,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 2547 + "size": 2403 } @@ -746,7 +704,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -783,83 +741,67 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -894,7 +836,7 @@ export interface ITest { } }, "version": "FakeTSVersion", - "size": 2316 + "size": 2172 } @@ -985,7 +927,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1022,83 +964,67 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -1147,7 +1073,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 2547 + "size": 2403 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js index 2bd76f45094f3..6bd46f2748dca 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/transitive-exports/yes-circular-import/exports.js @@ -223,20 +223,10 @@ export declare class App { PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index f24acef6b663e..bcb60cf99a6f2 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -54,7 +54,7 @@ console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18774426152-export class C\n{\n d: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -77,40 +77,23 @@ console.log(b.c.d); "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": 1 - }, "version": "-18774426152-export class C\n{\n d: number;\n}", - "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "signature": "-18774426152-export class C\n{\n d: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -136,19 +119,15 @@ console.log(b.c.d); } }, "version": "FakeTSVersion", - "size": 927 + "size": 819 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -237,7 +216,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-21444928214-export class C\n{\n d2: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -260,40 +239,23 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": 1 - }, "version": "-21444928214-export class C\n{\n d2: number;\n}", - "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "signature": "-21444928214-export class C\n{\n d2: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -333,7 +295,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1071 + "size": 963 } @@ -395,7 +357,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18774426152-export class C\n{\n d: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -418,40 +380,23 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": 1 - }, "version": "-18774426152-export class C\n{\n d: number;\n}", - "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "signature": "-18774426152-export class C\n{\n d: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -477,7 +422,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 927 + "size": 819 } @@ -544,7 +489,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-21444928214-export class C\n{\n d2: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -567,40 +512,23 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": 1 - }, "version": "-21444928214-export class C\n{\n d2: number;\n}", - "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "signature": "-21444928214-export class C\n{\n d2: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -640,7 +568,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1071 + "size": 963 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js index cc33eee0c22d3..d69a10917a6b3 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js @@ -57,12 +57,8 @@ console.log(b.c.d); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js index d5fc0854afdf5..e0c37d6cf117f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -81,7 +81,7 @@ console.log(b.c.d); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22447130237-export class C\n{\n d = 1;\n}","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-22447130237-export class C\n{\n d = 1;\n}","-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,40 +104,23 @@ console.log(b.c.d); "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { - "original": { - "version": "-22447130237-export class C\n{\n d = 1;\n}", - "impliedFormat": 1 - }, "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-22447130237-export class C\n{\n d = 1;\n}", - "impliedFormat": "commonjs" + "signature": "-22447130237-export class C\n{\n d = 1;\n}" }, "./b.ts": { - "original": { - "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": 1 - }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": "commonjs" + "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -163,19 +146,15 @@ console.log(b.c.d); } }, "version": "FakeTSVersion", - "size": 926 + "size": 818 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -270,7 +249,7 @@ exports.C = C; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -293,41 +272,27 @@ exports.C = C; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": 1 + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "./b.ts": { - "original": { - "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": 1 - }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": "commonjs" + "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -367,7 +332,7 @@ exports.C = C; ] }, "version": "FakeTSVersion", - "size": 1143 + "size": 1047 } @@ -442,7 +407,7 @@ exports.C = C; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -465,41 +430,27 @@ exports.C = C; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": 1 + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "./b.ts": { - "original": { - "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": 1 - }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": "commonjs" + "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -525,7 +476,7 @@ exports.C = C; } }, "version": "FakeTSVersion", - "size": 998 + "size": 902 } @@ -605,7 +556,7 @@ exports.C = C; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","impliedFormat":1}],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);"],"root":[[2,4]],"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -628,41 +579,27 @@ exports.C = C; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": 1 + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "./b.ts": { - "original": { - "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": 1 - }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "impliedFormat": "commonjs" + "signature": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}" }, "./a.ts": { - "original": { - "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": 1 - }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "impliedFormat": "commonjs" + "signature": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);" } }, "root": [ @@ -702,7 +639,7 @@ exports.C = C; ] }, "version": "FakeTSVersion", - "size": 1143 + "size": 1047 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js index 74965e4a1accb..b4f4c016f7183 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js @@ -84,12 +84,8 @@ console.log(b.c.d); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 81e6ef0d3373b..233008051f88e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -115,7 +115,7 @@ require("./d"); //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","impliedFormat":1},{"version":"-5185546240-import \"./d\";","impliedFormat":1}],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -146,58 +146,31 @@ require("./d"); "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "original": { - "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "impliedFormat": 1 - }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "impliedFormat": "commonjs" + "signature": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}" }, "./b.ts": { - "original": { - "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": 1 - }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": "commonjs" + "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}" }, "./c.ts": { - "original": { - "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": 1 - }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" }, "./d.ts": { - "original": { - "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": 1 - }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" }, "./e.ts": { - "original": { - "version": "-5185546240-import \"./d\";", - "impliedFormat": 1 - }, "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "signature": "-5185546240-import \"./d\";" } }, "root": [ @@ -267,19 +240,15 @@ require("./d"); ] }, "version": "FakeTSVersion", - "size": 1839 + "size": 1671 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -373,7 +342,7 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","impliedFormat":1},{"version":"-5185546240-import \"./d\";","impliedFormat":1}],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -404,59 +373,35 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "./b.ts": { - "original": { - "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": 1 - }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": "commonjs" + "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}" }, "./c.ts": { - "original": { - "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": 1 - }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" }, "./d.ts": { - "original": { - "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": 1 - }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" }, "./e.ts": { - "original": { - "version": "-5185546240-import \"./d\";", - "impliedFormat": 1 - }, "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "signature": "-5185546240-import \"./d\";" } }, "root": [ @@ -490,7 +435,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1486 + "size": 1330 } @@ -580,7 +525,7 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","impliedFormat":1},{"version":"-5185546240-import \"./d\";","impliedFormat":1}],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -611,59 +556,35 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "./b.ts": { - "original": { - "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": 1 - }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": "commonjs" + "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}" }, "./c.ts": { - "original": { - "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": 1 - }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" }, "./d.ts": { - "original": { - "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": 1 - }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" }, "./e.ts": { - "original": { - "version": "-5185546240-import \"./d\";", - "impliedFormat": 1 - }, "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "signature": "-5185546240-import \"./d\";" } }, "root": [ @@ -733,7 +654,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1992 + "size": 1836 } @@ -808,7 +729,7 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","impliedFormat":1},{"version":"-5185546240-import \"./d\";","impliedFormat":1}],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","-5185546240-import \"./d\";"],"root":[[2,6]],"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -839,59 +760,35 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "./b.ts": { - "original": { - "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": 1 - }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "impliedFormat": "commonjs" + "signature": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}" }, "./c.ts": { - "original": { - "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": 1 - }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "impliedFormat": "commonjs" + "signature": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};" }, "./d.ts": { - "original": { - "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": 1 - }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "impliedFormat": "commonjs" + "signature": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;" }, "./e.ts": { - "original": { - "version": "-5185546240-import \"./d\";", - "impliedFormat": 1 - }, "version": "-5185546240-import \"./d\";", - "signature": "-5185546240-import \"./d\";", - "impliedFormat": "commonjs" + "signature": "-5185546240-import \"./d\";" } }, "root": [ @@ -925,7 +822,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1486 + "size": 1330 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js index d632029478a08..55ecba7765d24 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -118,12 +118,8 @@ require("./d"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js index fdaf5d1aff7ae..34d3c082fbc90 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export-with-incremental.js @@ -164,7 +164,7 @@ exports.App = App; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -199,67 +199,35 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { - "original": { - "version": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": 1 - }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": "commonjs" + "signature": "-4369626085-export interface ITest {\n title: string;\n}" }, "./lib1/tools/public.ts": { - "original": { - "version": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": 1 - }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "signature": "-10750058173-export * from \"./toolsinterface\";" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data.ts": { - "original": { - "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -287,25 +255,15 @@ exports.App = App; } }, "version": "FakeTSVersion", - "size": 1456 + "size": 1258 } PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -397,7 +355,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -432,68 +390,39 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { - "original": { - "version": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": 1 - }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "signature": "-10750058173-export * from \"./toolsinterface\";" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data.ts": { - "original": { - "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -535,7 +464,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1763 + "size": 1577 } @@ -605,7 +534,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -640,68 +569,39 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { - "original": { - "version": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": 1 - }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "signature": "-10750058173-export * from \"./toolsinterface\";" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data.ts": { - "original": { - "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -729,7 +629,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1532 + "size": 1346 } @@ -804,7 +704,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[7],"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -839,68 +739,39 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { - "original": { - "version": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": 1 - }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "signature": "-10750058173-export * from \"./toolsinterface\";" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data.ts": { - "original": { - "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -942,7 +813,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1763 + "size": 1577 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js index 96f85ee4d0088..ffddcc2c01390 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/no-circular-import/export.js @@ -165,20 +165,10 @@ exports.App = App; PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js index e59798981480e..0b7c585c7c281 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -182,7 +182,7 @@ exports.App = App; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-4369626085-export interface ITest {\n title: string;\n}","-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -219,76 +219,39 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { - "original": { - "version": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": 1 - }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-4369626085-export interface ITest {\n title: string;\n}", - "impliedFormat": "commonjs" + "signature": "-4369626085-export interface ITest {\n title: string;\n}" }, "./lib1/tools/public.ts": { - "original": { - "version": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": 1 - }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "signature": "-10750058173-export * from \"./toolsinterface\";" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data2.ts": { - "original": { - "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": 1 - }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" }, "./lib2/data.ts": { - "original": { - "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -320,25 +283,15 @@ exports.App = App; } }, "version": "FakeTSVersion", - "size": 1663 + "size": 1435 } PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -435,7 +388,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -472,77 +425,43 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { - "original": { - "version": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": 1 - }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "signature": "-10750058173-export * from \"./toolsinterface\";" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data2.ts": { - "original": { - "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": 1 - }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" }, "./lib2/data.ts": { - "original": { - "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -588,7 +507,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1970 + "size": 1754 } @@ -661,7 +580,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -698,77 +617,43 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { - "original": { - "version": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": 1 - }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "signature": "-10750058173-export * from \"./toolsinterface\";" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data2.ts": { - "original": { - "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": 1 - }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" }, "./lib2/data.ts": { - "original": { - "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -800,7 +685,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1739 + "size": 1523 } @@ -878,7 +763,7 @@ Output:: //// [/user/username/projects/myproject/lib1/tools/toolsinterface.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","impliedFormat":1}],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},"-10750058173-export * from \"./toolsinterface\";","-5078933600-export * from \"./tools/public\";","-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","-9530042629-export * from \"./data\";","-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}"],"root":[8],"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -915,77 +800,43 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { - "original": { - "version": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": 1 - }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-10750058173-export * from \"./toolsinterface\";", - "impliedFormat": "commonjs" + "signature": "-10750058173-export * from \"./toolsinterface\";" }, "./lib1/public.ts": { - "original": { - "version": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": 1 - }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-5078933600-export * from \"./tools/public\";", - "impliedFormat": "commonjs" + "signature": "-5078933600-export * from \"./tools/public\";" }, "./lib2/data2.ts": { - "original": { - "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": 1 - }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "impliedFormat": "commonjs" + "signature": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}" }, "./lib2/data.ts": { - "original": { - "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": 1 - }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "impliedFormat": "commonjs" + "signature": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}" }, "./lib2/public.ts": { - "original": { - "version": "-9530042629-export * from \"./data\";", - "impliedFormat": 1 - }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9530042629-export * from \"./data\";", - "impliedFormat": "commonjs" + "signature": "-9530042629-export * from \"./data\";" }, "./app.ts": { - "original": { - "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": 1 - }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "impliedFormat": "commonjs" + "signature": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}" } }, "root": [ @@ -1031,7 +882,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1970 + "size": 1754 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js index ed7900d174c94..e8666338ea375 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/transitive-exports/yes-circular-import/exports.js @@ -183,20 +183,10 @@ exports.App = App; PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js index 18ed173c9efa2..fc4054c103372 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change-with-incremental.js @@ -58,7 +58,7 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18774426152-export class C\n{\n d: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -81,41 +81,27 @@ export {}; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": 1 - }, "version": "-18774426152-export class C\n{\n d: number;\n}", - "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "signature": "-18774426152-export class C\n{\n d: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -144,19 +130,15 @@ export {}; } }, "version": "FakeTSVersion", - "size": 997 + "size": 901 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -247,7 +229,7 @@ Output:: //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-21444928214-export class C\n{\n d2: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -270,41 +252,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": 1 - }, "version": "-21444928214-export class C\n{\n d2: number;\n}", - "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "signature": "-21444928214-export class C\n{\n d2: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -347,7 +315,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1141 + "size": 1045 } @@ -411,7 +379,7 @@ Output:: //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18774426152-export class C\n{\n d: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18774426152-export class C\n{\n d: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -434,41 +402,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": 1 - }, "version": "-18774426152-export class C\n{\n d: number;\n}", - "signature": "-18774426152-export class C\n{\n d: number;\n}", - "impliedFormat": "commonjs" + "signature": "-18774426152-export class C\n{\n d: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -497,7 +451,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 997 + "size": 901 } @@ -566,7 +520,7 @@ Output:: //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-21444928214-export class C\n{\n d2: number;\n}","impliedFormat":1},{"version":"-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.d.ts","./b.d.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-21444928214-export class C\n{\n d2: number;\n}","-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}",{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -589,41 +543,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.d.ts": { - "original": { - "version": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": 1 - }, "version": "-21444928214-export class C\n{\n d2: number;\n}", - "signature": "-21444928214-export class C\n{\n d2: number;\n}", - "impliedFormat": "commonjs" + "signature": "-21444928214-export class C\n{\n d2: number;\n}" }, "./b.d.ts": { - "original": { - "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": 1 - }, "version": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}", - "impliedFormat": "commonjs" + "signature": "-1688906387-import {C} from './c';\nexport class B\n{\n c: C;\n}" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -666,7 +606,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1141 + "size": 1045 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js index 38b2b59785682..0a56964933685 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -61,12 +61,8 @@ export {}; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js index d2b957d1eb80a..8424b5792ee4b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change-with-incremental.js @@ -98,7 +98,7 @@ export {}; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -121,43 +121,35 @@ export {}; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": 1 + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -186,19 +178,15 @@ export {}; } }, "version": "FakeTSVersion", - "size": 1160 + "size": 1088 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -302,7 +290,7 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -325,43 +313,35 @@ export declare class C { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": 1 + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -404,7 +384,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1305 + "size": 1233 } @@ -488,7 +468,7 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22447130237-export class C\n{\n d = 1;\n}","signature":"-6977846840-export declare class C {\n d: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -511,43 +491,35 @@ export declare class C { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": 1 + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "version": "-22447130237-export class C\n{\n d = 1;\n}", - "signature": "-6977846840-export declare class C {\n d: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-6977846840-export declare class C {\n d: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -576,7 +548,7 @@ export declare class C { } }, "version": "FakeTSVersion", - "size": 1160 + "size": 1088 } @@ -665,7 +637,7 @@ export declare class C { //// [/user/username/projects/myproject/b.d.ts] file written with same contents //// [/user/username/projects/myproject/a.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n","impliedFormat":1},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n","impliedFormat":1},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-22846341163-export class C\n{\n d2 = 1;\n}","signature":"-4637923302-export declare class C {\n d2: number;\n}\n"},{"version":"-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}","signature":"-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n"},{"version":"4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true},"fileIdsList":[[3],[2]],"referencedMap":[[4,1],[3,2]],"semanticDiagnosticsPerFile":[[4,[{"start":82,"length":1,"code":2339,"category":1,"messageText":"Property 'd' does not exist on type 'C'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -688,43 +660,35 @@ export declare class C { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { "original": { "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": 1 + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "version": "-22846341163-export class C\n{\n d2 = 1;\n}", - "signature": "-4637923302-export declare class C {\n d2: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "-4637923302-export declare class C {\n d2: number;\n}\n" }, "./b.ts": { "original": { "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": 1 + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "version": "-6292386773-import {C} from './c';\nexport class B\n{\n c = new C();\n}", - "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "-165097315-import { C } from './c';\nexport declare class B {\n c: C;\n}\n" }, "./a.ts": { "original": { "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "4878398349-import {B} from './b';\ndeclare var console: any;\nlet b = new B();\nconsole.log(b.c.d);", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -767,7 +731,7 @@ export declare class C { ] }, "version": "FakeTSVersion", - "size": 1305 + "size": 1233 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js index c8c00e5b458a9..d51c8bc3c50b7 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js @@ -101,12 +101,8 @@ export {}; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js index 2b0683981c8eb..91017f22af8e0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes-with-incremental.js @@ -145,7 +145,7 @@ import "./d"; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -176,63 +176,51 @@ import "./d"; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -305,19 +293,15 @@ import "./d"; ] }, "version": "FakeTSVersion", - "size": 2332 + "size": 2224 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -427,7 +411,7 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -458,63 +442,51 @@ export interface Coords { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -551,7 +523,7 @@ export interface Coords { } }, "version": "FakeTSVersion", - "size": 1826 + "size": 1718 } @@ -657,7 +629,7 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}","signature":"8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]],"semanticDiagnosticsPerFile":[[4,[{"start":139,"length":1,"code":2353,"category":1,"messageText":"Object literal may only specify known properties, and 'x' does not exist in type 'Coords'.","relatedInformation":[{"file":"./a.ts","start":47,"length":1,"messageText":"The expected type comes from property 'c' which is declared here on type 'PointWrapper'","category":3,"code":6500}]}]],[5,[{"start":45,"length":1,"code":2339,"category":1,"messageText":"Property 'x' does not exist on type 'Coords'."}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -688,63 +660,51 @@ export interface Coords { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "version": "9889814467-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}", - "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "8536297517-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x2: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -817,7 +777,7 @@ export interface Coords { ] }, "version": "FakeTSVersion", - "size": 2332 + "size": 2224 } @@ -908,7 +868,7 @@ export interface Coords { //// [/user/username/projects/myproject/d.d.ts] file written with same contents //// [/user/username/projects/myproject/e.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n","impliedFormat":1},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n","impliedFormat":1},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n","impliedFormat":1},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n","impliedFormat":1}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts","./c.ts","./d.ts","./e.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}","signature":"696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n"},{"version":"-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}","signature":"-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n"},{"version":"-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};","signature":"-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n"},{"version":"-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;","signature":"-3531856636-export {};\n"},{"version":"-5185546240-import \"./d\";","signature":"-3619301366-import \"./d\";\n"}],"root":[[2,6]],"options":{"declaration":true},"fileIdsList":[[2],[3],[4],[5]],"referencedMap":[[3,1],[4,2],[5,3],[6,4]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -939,63 +899,51 @@ export interface Coords { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": 1 + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "version": "2103509937-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}", - "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n", - "impliedFormat": "commonjs" + "signature": "696351195-export interface Point {\n name: string;\n c: Coords;\n}\nexport interface Coords {\n x: number;\n y: number;\n}\n" }, "./b.ts": { "original": { "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": 1 + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "version": "-8029610078-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}", - "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n", - "impliedFormat": "commonjs" + "signature": "-7279094804-import { Point } from \"./a\";\nexport interface PointWrapper extends Point {\n}\n" }, "./c.ts": { "original": { "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": 1 + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "version": "-37232372138-import { PointWrapper } from \"./b\";\nexport function getPoint(): PointWrapper {\n return {\n name: \"test\",\n c: {\n x: 1,\n y: 2\n }\n }\n};", - "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n", - "impliedFormat": "commonjs" + "signature": "-3387333988-import { PointWrapper } from \"./b\";\nexport declare function getPoint(): PointWrapper;\n" }, "./d.ts": { "original": { "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-17875457076-import { getPoint } from \"./c\";\ngetPoint().c.x;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./e.ts": { "original": { "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": 1 + "signature": "-3619301366-import \"./d\";\n" }, "version": "-5185546240-import \"./d\";", - "signature": "-3619301366-import \"./d\";\n", - "impliedFormat": "commonjs" + "signature": "-3619301366-import \"./d\";\n" } }, "root": [ @@ -1032,7 +980,7 @@ export interface Coords { } }, "version": "FakeTSVersion", - "size": 1826 + "size": 1718 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index e68f719a432b7..e096e405b3018 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -148,12 +148,8 @@ import "./d"; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js index 98b64c3cc2d94..81fd461a35a29 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export-with-incremental.js @@ -195,7 +195,7 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -230,73 +230,59 @@ export declare class App { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -327,25 +313,15 @@ export declare class App { } }, "version": "FakeTSVersion", - "size": 1943 + "size": 1817 } PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -449,7 +425,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -484,73 +460,59 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -595,7 +557,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 2174 + "size": 2048 } @@ -677,7 +639,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -712,73 +674,59 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -809,7 +757,7 @@ export interface ITest { } }, "version": "FakeTSVersion", - "size": 1943 + "size": 1817 } @@ -896,7 +844,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[7],"options":{"declaration":true},"fileIdsList":[[6],[3],[2],[4],[5]],"referencedMap":[[7,1],[4,2],[3,3],[5,4],[6,5]],"semanticDiagnosticsPerFile":[[5,[{"start":121,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -931,73 +879,59 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data.ts": { "original": { "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "version": "-30573389178-import { ITest } from \"lib1/public\";\nexport class Data {\n public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-15758516261-import { ITest } from \"lib1/public\";\nexport declare class Data {\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -1042,7 +976,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 2174 + "size": 2048 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js index 10ea230624ddb..8956ab1dfd7ea 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/no-circular-import/export.js @@ -196,20 +196,10 @@ export declare class App { PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js index d813296a63ecb..df80568d52af5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports-with-incremental.js @@ -222,7 +222,7 @@ export declare class App { //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -259,83 +259,67 @@ export declare class App { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -370,25 +354,15 @@ export declare class App { } }, "version": "FakeTSVersion", - "size": 2316 + "size": 2172 } PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -498,7 +472,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -535,83 +509,67 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -660,7 +618,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 2547 + "size": 2403 } @@ -746,7 +704,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-4369626085-export interface ITest {\n title: string;\n}","signature":"-2463740027-export interface ITest {\n title: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -783,83 +741,67 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": 1 + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "version": "-4369626085-export interface ITest {\n title: string;\n}", - "signature": "-2463740027-export interface ITest {\n title: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-2463740027-export interface ITest {\n title: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -894,7 +836,7 @@ export interface ITest { } }, "version": "FakeTSVersion", - "size": 2316 + "size": 2172 } @@ -985,7 +927,7 @@ export interface ITest { //// [/user/username/projects/myproject/lib2/public.d.ts] file written with same contents //// [/user/username/projects/myproject/app.d.ts] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n","impliedFormat":1},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n","impliedFormat":1},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n","impliedFormat":1},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n","impliedFormat":1},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n","impliedFormat":1},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n","impliedFormat":1},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n","impliedFormat":1}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./lib1/tools/toolsinterface.ts","./lib1/tools/public.ts","./lib1/public.ts","./lib2/data2.ts","./lib2/data.ts","./lib2/public.ts","./app.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3501597171-export interface ITest {\n title2: string;\n}","signature":"-3883556937-export interface ITest {\n title2: string;\n}\n"},{"version":"-10750058173-export * from \"./toolsinterface\";","signature":"-11154536019-export * from \"./toolsinterface\";\n"},{"version":"-5078933600-export * from \"./tools/public\";","signature":"-4396051542-export * from \"./tools/public\";\n"},{"version":"-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}","signature":"-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n"},{"version":"-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}","signature":"-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n"},{"version":"-9530042629-export * from \"./data\";","signature":"-9548728731-export * from \"./data\";\n"},{"version":"-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}","signature":"-18990360330-export declare class App {\n constructor();\n}\n"}],"root":[8],"options":{"declaration":true},"fileIdsList":[[7],[3],[2],[4,5],[6]],"referencedMap":[[8,1],[4,2],[3,3],[6,4],[5,5],[7,5]],"semanticDiagnosticsPerFile":[[6,[{"start":174,"length":5,"code":2561,"category":1,"messageText":"Object literal may only specify known properties, but 'title' does not exist in type 'ITest'. Did you mean to write 'title2'?"}]]]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1022,83 +964,67 @@ export interface ITest { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./lib1/tools/toolsinterface.ts": { "original": { "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": 1 + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "version": "-3501597171-export interface ITest {\n title2: string;\n}", - "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3883556937-export interface ITest {\n title2: string;\n}\n" }, "./lib1/tools/public.ts": { "original": { "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": 1 + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "version": "-10750058173-export * from \"./toolsinterface\";", - "signature": "-11154536019-export * from \"./toolsinterface\";\n", - "impliedFormat": "commonjs" + "signature": "-11154536019-export * from \"./toolsinterface\";\n" }, "./lib1/public.ts": { "original": { "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": 1 + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "version": "-5078933600-export * from \"./tools/public\";", - "signature": "-4396051542-export * from \"./tools/public\";\n", - "impliedFormat": "commonjs" + "signature": "-4396051542-export * from \"./tools/public\";\n" }, "./lib2/data2.ts": { "original": { "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": 1 + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "version": "-11055285700-import { Data } from \"./data\";\nexport class Data2 {\n public dat?: Data;\n}", - "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n", - "impliedFormat": "commonjs" + "signature": "-17387821545-import { Data } from \"./data\";\nexport declare class Data2 {\n dat?: Data;\n}\n" }, "./lib2/data.ts": { "original": { "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": 1 + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "version": "-2056074887-import { ITest } from \"lib1/public\"; import { Data2 } from \"./data2\";\nexport class Data {\n public dat?: Data2; public test() {\n const result: ITest = {\n title: \"title\"\n }\n return result;\n }\n}", - "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n", - "impliedFormat": "commonjs" + "signature": "-14170088573-import { ITest } from \"lib1/public\";\nimport { Data2 } from \"./data2\";\nexport declare class Data {\n dat?: Data2;\n test(): ITest;\n}\n" }, "./lib2/public.ts": { "original": { "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": 1 + "signature": "-9548728731-export * from \"./data\";\n" }, "version": "-9530042629-export * from \"./data\";", - "signature": "-9548728731-export * from \"./data\";\n", - "impliedFormat": "commonjs" + "signature": "-9548728731-export * from \"./data\";\n" }, "./app.ts": { "original": { "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": 1 + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" }, "version": "-14937286564-import { Data } from \"lib2/public\";\nexport class App {\n public constructor() {\n new Data().test();\n }\n}", - "signature": "-18990360330-export declare class App {\n constructor();\n}\n", - "impliedFormat": "commonjs" + "signature": "-18990360330-export declare class App {\n constructor();\n}\n" } }, "root": [ @@ -1147,7 +1073,7 @@ export interface ITest { ] }, "version": "FakeTSVersion", - "size": 2547 + "size": 2403 } diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js index aaf2b891b637a..6bc164eecff4c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/transitive-exports/yes-circular-import/exports.js @@ -223,20 +223,10 @@ export declare class App { PolledWatches:: -/user/username/projects/myproject/lib1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib1/tools/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/lib2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/extends/configDir-template.js b/tests/baselines/reference/tscWatch/extends/configDir-template.js index 9f52dc3e5f12c..8f5c31d3dc11b 100644 --- a/tests/baselines/reference/tscWatch/extends/configDir-template.js +++ b/tests/baselines/reference/tscWatch/extends/configDir-template.js @@ -94,11 +94,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/myproject/main.ts","/home/src/projects/myproject/src/secondary.ts"] options: {"declarationDir":"/home/src/projects/myproject/decls","paths":{"@myscope/*":["/home/src/projects/myproject/types/*"],"other/*":["other/*"]},"baseUrl":"/home/src/projects/myproject","pathsBasePath":"/home/src/projects/configs/second","typeRoots":["/home/src/projects/configs/first/root1","/home/src/projects/myproject/root2","/home/src/projects/configs/first/root3"],"types":[],"declaration":true,"outDir":"/home/src/projects/myproject/outDir","traceResolution":true,"watch":true,"extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/myproject/tsconfig.json"} -File '/home/src/projects/myproject/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. ExcludeWatcher:: Added:: WatchInfo: /home/src/projects/myproject/main.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -109,19 +104,7 @@ Trying substitution '/home/src/projects/myproject/types/*', candidate module loc Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== -File '/home/src/projects/myproject/types/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/types/sometype.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file -File '/home/src/projects/myproject/src/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src/secondary.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -144,18 +127,7 @@ File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/index.d.ts', result '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== Module name 'other/sometype2' was successfully resolved to '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== -File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/root2/other/package.json' does not exist. -File '/home/src/projects/myproject/root2/package.json' does not exist. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/other/sometype2/index.d.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/other 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/other 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations @@ -169,13 +141,6 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/configs 1 {"excludeFile Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/configs 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations -FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/types/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/other/sometype2/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/other/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src/package.json 2000 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} File location affecting resolution ../../../../a/lib/lib.d.ts Default library for target 'es5' types/sometype.ts @@ -235,22 +200,8 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/myproject/other: *new* {"pollingInterval":500} -/home/src/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/root2/other/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/root2/other/sometype2/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/root2/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/types/package.json: *new* - {"pollingInterval":2000} /home/src/projects/node_modules: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -370,11 +321,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/myproject/main.ts","/home/src/projects/myproject/src/secondary.ts"] options: {"declarationDir":"/home/src/projects/myproject/decls","paths":{"@myscope/*":["/home/src/projects/myproject/types/*"],"other/*":["other/*"]},"baseUrl":"/home/src/projects/myproject","pathsBasePath":"/home/src/projects/configs/second","typeRoots":["/home/src/projects/myproject/root2"],"types":[],"declaration":true,"outDir":"/home/src/projects/myproject/outDir","traceResolution":true,"watch":true,"extendedDiagnostics":true,"explainFiles":true,"configFilePath":"/home/src/projects/myproject/tsconfig.json"} -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. @@ -384,18 +330,6 @@ Trying substitution '/home/src/projects/myproject/types/*', candidate module loc Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== -File '/home/src/projects/myproject/types/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. @@ -416,17 +350,6 @@ File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/index.d.ts', result '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== Module name 'other/sometype2' was successfully resolved to '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== -File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/root2/other/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/root2/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/configs 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/configs 1 {"excludeFiles":["/home/src/projects/myproject/main.ts"]} Failed Lookup Locations ../../../../a/lib/lib.d.ts @@ -449,22 +372,8 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/myproject/other: {"pollingInterval":500} -/home/src/projects/myproject/package.json: - {"pollingInterval":2000} -/home/src/projects/myproject/root2/other/package.json: - {"pollingInterval":2000} -/home/src/projects/myproject/root2/other/sometype2/package.json: - {"pollingInterval":2000} -/home/src/projects/myproject/root2/package.json: - {"pollingInterval":2000} -/home/src/projects/myproject/src/package.json: - {"pollingInterval":2000} -/home/src/projects/myproject/types/package.json: - {"pollingInterval":2000} /home/src/projects/node_modules: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/extends/resolves-the-symlink-path.js b/tests/baselines/reference/tscWatch/extends/resolves-the-symlink-path.js index 6256657658c41..8f3b135462595 100644 --- a/tests/baselines/reference/tscWatch/extends/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tscWatch/extends/resolves-the-symlink-path.js @@ -52,9 +52,6 @@ CreatingProgramWith:: options: {"composite":true,"removeComments":true,"watch":true,"project":"/users/user/projects/myproject/src","extendedDiagnostics":true,"configFilePath":"/users/user/projects/myproject/src/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src/index.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /users/user/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /users/user/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/node_modules/@types 1 undefined Type roots @@ -81,7 +78,7 @@ export declare const x = 10; //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"6873164248-// some comment\nexport const x = 10;\n","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"removeComments":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"6873164248-// some comment\nexport const x = 10;\n","signature":"-6821242887-export declare const x = 10;\n"}],"root":[2],"options":{"composite":true,"removeComments":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/users/user/projects/myproject/src/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -94,23 +91,19 @@ export declare const x = 10; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "6873164248-// some comment\nexport const x = 10;\n", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "6873164248-// some comment\nexport const x = 10;\n", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" } }, "root": [ @@ -126,23 +119,17 @@ export declare const x = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 769 + "size": 733 } PolledWatches:: /users/user/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/users/user/projects/myproject/package.json: *new* - {"pollingInterval":2000} /users/user/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/users/user/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /users/user/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/user/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js index eb171c06c3032..6de5b16cdd444 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/jsxImportSource-option-changed.js @@ -89,14 +89,8 @@ exports.App = App; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/react/Jsx-runtime/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js index 5c4a1b745e69b..c4411075476b4 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js @@ -73,8 +73,6 @@ a_2.b; PolledWatches:: c:/project/node_modules/@types: *new* {"pollingInterval":500} -c:/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: c:/a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js index 1bbcf7aaf84a0..371b16f40eea7 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js @@ -73,8 +73,6 @@ a_2.b; PolledWatches:: C:/project/node_modules/@types: *new* {"pollingInterval":500} -C:/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: C:/a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js index b448847a55fda..2ac3e822a793c 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js @@ -52,9 +52,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 unde FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -122,16 +119,10 @@ System.register("b", ["XY/a", "link/a"], function (exports_3, context_3) { PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js index f020c9635e300..f96cfceeb015f 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js @@ -50,8 +50,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 250 und FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -101,12 +99,8 @@ link_1.b; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js index 9eb0075fe131a..0ad784974b469 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js @@ -59,12 +59,8 @@ new logger_1.logger(); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js index e9f6bdcfd9053..c49f1305ed8db 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js @@ -52,9 +52,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 unde FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -122,16 +119,10 @@ System.register("b", ["XY/a", "link/a"], function (exports_3, context_3) { PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js index 8eece77e854b0..3f8289c5207fa 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js @@ -322,20 +322,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/node_modules/fp-ts/lib/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules/fp-ts/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js index a31c2bb8428ab..a0101b54ad853 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js @@ -50,8 +50,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 250 und FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -101,12 +99,8 @@ link_1.b; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js index 1967751b08978..058a317825a71 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js @@ -52,9 +52,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 unde FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/xY/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -130,16 +127,10 @@ System.register("b", ["xY/a", "link/a"], function (exports_3, context_3) { PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js index 9ac8c453c537a..16f23d59fc6dc 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js @@ -50,8 +50,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 250 und FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -109,12 +107,8 @@ link_1.b; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js index 67120ce615462..1ce555c7e4323 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js @@ -52,9 +52,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 unde FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/Xy/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -130,16 +127,10 @@ System.register("b", ["Xy/a", "link/a"], function (exports_3, context_3) { PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js index 8fe8de8212216..80266c71aa22b 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js @@ -50,8 +50,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 250 und FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -109,12 +107,8 @@ link_1.b; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js index cf00eed683969..6dcfc2779a6c6 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js @@ -52,9 +52,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 unde FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/Xy/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -130,16 +127,10 @@ System.register("b", ["Xy/a", "link/a"], function (exports_3, context_3) { PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js index 5da4bc1a8c8e6..ca77742b4a983 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js @@ -50,8 +50,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY.ts 250 und FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -109,12 +107,8 @@ link_1.b; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js index c756b7240ef79..5753649c99c67 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js @@ -98,12 +98,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js index f56e80195b854..c8647de820e8e 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js @@ -59,12 +59,8 @@ new logger_1.logger(); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js index 1bd1347948fec..4164b4b5a6f95 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-incremental.js @@ -45,7 +45,7 @@ var classnames_1 = require("classnames"); //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","impliedFormat":1},{"version":"-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }","impliedFormat":1}],"root":[3,4],"options":{"module":1},"fileIdsList":[[2,4],[2]],"referencedMap":[[3,1],[4,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"1239706283-export interface Result {} export default function classNames(): Result;","-5756287633-import classNames from \"classnames\"; classNames().foo;","-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }"],"root":[3,4],"options":{"module":1},"fileIdsList":[[2,4],[2]],"referencedMap":[[3,1],[4,2]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -69,40 +69,23 @@ var classnames_1 = require("classnames"); "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/classnames/index.d.ts": { - "original": { - "version": "1239706283-export interface Result {} export default function classNames(): Result;", - "impliedFormat": 1 - }, "version": "1239706283-export interface Result {} export default function classNames(): Result;", - "signature": "1239706283-export interface Result {} export default function classNames(): Result;", - "impliedFormat": "commonjs" + "signature": "1239706283-export interface Result {} export default function classNames(): Result;" }, "./src/index.ts": { - "original": { - "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", - "impliedFormat": 1 - }, "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", - "signature": "-5756287633-import classNames from \"classnames\"; classNames().foo;", - "impliedFormat": "commonjs" + "signature": "-5756287633-import classNames from \"classnames\"; classNames().foo;" }, "./src/types/classnames.d.ts": { - "original": { - "version": "-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }", - "impliedFormat": 1 - }, "version": "-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }", - "signature": "-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }", - "impliedFormat": "commonjs" + "signature": "-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }" } }, "root": [ @@ -129,7 +112,7 @@ var classnames_1 = require("classnames"); } }, "version": "FakeTSVersion", - "size": 1103 + "size": 995 } @@ -183,7 +166,7 @@ Found 1 error in src/index.ts:1 //// [/users/username/projects/project/src/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-14890340642-export {}; declare module \"classnames\" { interface Result {} }","impliedFormat":1}],"root":[3,4],"options":{"module":1},"fileIdsList":[[2,4],[2]],"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[3,[{"start":50,"length":3,"code":2339,"category":1,"messageText":"Property 'foo' does not exist on type 'Result'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"1239706283-export interface Result {} export default function classNames(): Result;",{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","signature":"-3531856636-export {};\n"},"-14890340642-export {}; declare module \"classnames\" { interface Result {} }"],"root":[3,4],"options":{"module":1},"fileIdsList":[[2,4],[2]],"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[3,[{"start":50,"length":3,"code":2339,"category":1,"messageText":"Property 'foo' does not exist on type 'Result'."}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -207,41 +190,27 @@ Found 1 error in src/index.ts:1 "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/classnames/index.d.ts": { - "original": { - "version": "1239706283-export interface Result {} export default function classNames(): Result;", - "impliedFormat": 1 - }, "version": "1239706283-export interface Result {} export default function classNames(): Result;", - "signature": "1239706283-export interface Result {} export default function classNames(): Result;", - "impliedFormat": "commonjs" + "signature": "1239706283-export interface Result {} export default function classNames(): Result;" }, "./src/index.ts": { "original": { "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/types/classnames.d.ts": { - "original": { - "version": "-14890340642-export {}; declare module \"classnames\" { interface Result {} }", - "impliedFormat": 1 - }, "version": "-14890340642-export {}; declare module \"classnames\" { interface Result {} }", - "signature": "-14890340642-export {}; declare module \"classnames\" { interface Result {} }", - "impliedFormat": "commonjs" + "signature": "-14890340642-export {}; declare module \"classnames\" { interface Result {} }" } }, "root": [ @@ -282,7 +251,7 @@ Found 1 error in src/index.ts:1 ] }, "version": "FakeTSVersion", - "size": 1287 + "size": 1191 } diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js index e06c33dc45e72..537559bd03ff2 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js @@ -50,7 +50,7 @@ var classnames_1 = require("classnames"); //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","impliedFormat":1},{"version":"-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }","impliedFormat":1}],"root":[3,4],"options":{"module":1},"fileIdsList":[[2,4],[2]],"referencedMap":[[3,1],[4,2]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"1239706283-export interface Result {} export default function classNames(): Result;","-5756287633-import classNames from \"classnames\"; classNames().foo;","-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }"],"root":[3,4],"options":{"module":1},"fileIdsList":[[2,4],[2]],"referencedMap":[[3,1],[4,2]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -74,40 +74,23 @@ var classnames_1 = require("classnames"); "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/classnames/index.d.ts": { - "original": { - "version": "1239706283-export interface Result {} export default function classNames(): Result;", - "impliedFormat": 1 - }, "version": "1239706283-export interface Result {} export default function classNames(): Result;", - "signature": "1239706283-export interface Result {} export default function classNames(): Result;", - "impliedFormat": "commonjs" + "signature": "1239706283-export interface Result {} export default function classNames(): Result;" }, "./src/index.ts": { - "original": { - "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", - "impliedFormat": 1 - }, "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", - "signature": "-5756287633-import classNames from \"classnames\"; classNames().foo;", - "impliedFormat": "commonjs" + "signature": "-5756287633-import classNames from \"classnames\"; classNames().foo;" }, "./src/types/classnames.d.ts": { - "original": { - "version": "-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }", - "impliedFormat": 1 - }, "version": "-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }", - "signature": "-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }", - "impliedFormat": "commonjs" + "signature": "-16510108606-export {}; declare module \"classnames\" { interface Result { foo } }" } }, "root": [ @@ -134,27 +117,15 @@ var classnames_1 = require("classnames"); } }, "version": "FakeTSVersion", - "size": 1103 + "size": 995 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/node_modules/classnames/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/src/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/src/types/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -217,20 +188,8 @@ export {}; declare module "classnames" { interface Result {} } PolledWatches *deleted*:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/node_modules/classnames/package.json: - {"pollingInterval":2000} -/users/username/projects/project/node_modules/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} -/users/username/projects/project/src/package.json: - {"pollingInterval":2000} -/users/username/projects/project/src/types/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -267,7 +226,7 @@ Output:: //// [/users/username/projects/project/src/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1239706283-export interface Result {} export default function classNames(): Result;","impliedFormat":1},{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-14890340642-export {}; declare module \"classnames\" { interface Result {} }","impliedFormat":1}],"root":[3,4],"options":{"module":1},"fileIdsList":[[2,4],[2]],"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[3,[{"start":50,"length":3,"code":2339,"category":1,"messageText":"Property 'foo' does not exist on type 'Result'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/classnames/index.d.ts","./src/index.ts","./src/types/classnames.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"1239706283-export interface Result {} export default function classNames(): Result;",{"version":"-5756287633-import classNames from \"classnames\"; classNames().foo;","signature":"-3531856636-export {};\n"},"-14890340642-export {}; declare module \"classnames\" { interface Result {} }"],"root":[3,4],"options":{"module":1},"fileIdsList":[[2,4],[2]],"referencedMap":[[3,1],[4,2]],"semanticDiagnosticsPerFile":[[3,[{"start":50,"length":3,"code":2339,"category":1,"messageText":"Property 'foo' does not exist on type 'Result'."}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -291,41 +250,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/classnames/index.d.ts": { - "original": { - "version": "1239706283-export interface Result {} export default function classNames(): Result;", - "impliedFormat": 1 - }, "version": "1239706283-export interface Result {} export default function classNames(): Result;", - "signature": "1239706283-export interface Result {} export default function classNames(): Result;", - "impliedFormat": "commonjs" + "signature": "1239706283-export interface Result {} export default function classNames(): Result;" }, "./src/index.ts": { "original": { "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-5756287633-import classNames from \"classnames\"; classNames().foo;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./src/types/classnames.d.ts": { - "original": { - "version": "-14890340642-export {}; declare module \"classnames\" { interface Result {} }", - "impliedFormat": 1 - }, "version": "-14890340642-export {}; declare module \"classnames\" { interface Result {} }", - "signature": "-14890340642-export {}; declare module \"classnames\" { interface Result {} }", - "impliedFormat": "commonjs" + "signature": "-14890340642-export {}; declare module \"classnames\" { interface Result {} }" } }, "root": [ @@ -366,27 +311,15 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1287 + "size": 1191 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/node_modules/classnames/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/src/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/src/types/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js index ebd760b295432..1ccaa460ebd6d 100644 --- a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-incremental.js @@ -48,7 +48,7 @@ exports.x = tslib_1.__assign({}); //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/tslib/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"1620578607-export function __assign(...args: any[]): any;","impliedFormat":1},{"version":"-14168389096-export const x = {...{}};","impliedFormat":1}],"root":[3],"options":{"importHelpers":true},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/tslib/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"1620578607-export function __assign(...args: any[]): any;","-14168389096-export const x = {...{}};"],"root":[3],"options":{"importHelpers":true},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -67,31 +67,19 @@ exports.x = tslib_1.__assign({}); "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/tslib/index.d.ts": { - "original": { - "version": "1620578607-export function __assign(...args: any[]): any;", - "impliedFormat": 1 - }, "version": "1620578607-export function __assign(...args: any[]): any;", - "signature": "1620578607-export function __assign(...args: any[]): any;", - "impliedFormat": "commonjs" + "signature": "1620578607-export function __assign(...args: any[]): any;" }, "./index.tsx": { - "original": { - "version": "-14168389096-export const x = {...{}};", - "impliedFormat": 1 - }, "version": "-14168389096-export const x = {...{}};", - "signature": "-14168389096-export const x = {...{}};", - "impliedFormat": "commonjs" + "signature": "-14168389096-export const x = {...{}};" } }, "root": [ @@ -110,7 +98,7 @@ exports.x = tslib_1.__assign({}); } }, "version": "FakeTSVersion", - "size": 890 + "size": 812 } @@ -159,7 +147,7 @@ Found 1 error in index.tsx:1 //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14168389096-export const x = {...{}};","signature":"-6508651827-export declare const x: {};\n","impliedFormat":1}],"root":[2],"options":{"importHelpers":true},"semanticDiagnosticsPerFile":[[2,[{"start":18,"length":5,"messageText":"This syntax requires an imported helper but module 'tslib' cannot be found.","category":1,"code":2354}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14168389096-export const x = {...{}};","signature":"-6508651827-export declare const x: {};\n"}],"root":[2],"options":{"importHelpers":true},"semanticDiagnosticsPerFile":[[2,[{"start":18,"length":5,"messageText":"This syntax requires an imported helper but module 'tslib' cannot be found.","category":1,"code":2354}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,23 +160,19 @@ Found 1 error in index.tsx:1 "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.tsx": { "original": { "version": "-14168389096-export const x = {...{}};", - "signature": "-6508651827-export declare const x: {};\n", - "impliedFormat": 1 + "signature": "-6508651827-export declare const x: {};\n" }, "version": "-14168389096-export const x = {...{}};", - "signature": "-6508651827-export declare const x: {};\n", - "impliedFormat": "commonjs" + "signature": "-6508651827-export declare const x: {};\n" } }, "root": [ @@ -216,7 +200,7 @@ Found 1 error in index.tsx:1 ] }, "version": "FakeTSVersion", - "size": 956 + "size": 920 } diff --git a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js index 65cd17704bd5d..e6c69e4388c6f 100644 --- a/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/importHelpers-backing-types-removed-watch.js @@ -56,12 +56,8 @@ exports.x = tslib_1.__assign({}); PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -116,12 +112,8 @@ Input:: PolledWatches *deleted*:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -161,12 +153,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js index b036897956ab6..6cbbe75a47251 100644 --- a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-incremental.js @@ -84,7 +84,7 @@ export { C } from "./c"; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","impliedFormat":1},{"version":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","impliedFormat":1},{"version":"-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n","impliedFormat":1},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -116,49 +116,27 @@ export { C } from "./c"; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { - "original": { - "version": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": 1 - }, "version": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "./b.ts": { - "original": { - "version": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": 1 - }, "version": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "./a.ts": { - "original": { - "version": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "impliedFormat": 1 - }, "version": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n" }, "./index.ts": { - "original": { - "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": 1 - }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n" } }, "root": [ @@ -199,7 +177,7 @@ export { C } from "./c"; } }, "version": "FakeTSVersion", - "size": 1180 + "size": 1042 } @@ -268,7 +246,7 @@ export interface A { //// [/users/username/projects/project/index.d.ts] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","impliedFormat":1},{"version":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","impliedFormat":1},{"version":"-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n","impliedFormat":1},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -300,49 +278,27 @@ export interface A { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { - "original": { - "version": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": 1 - }, "version": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "./b.ts": { - "original": { - "version": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": 1 - }, "version": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "./a.ts": { - "original": { - "version": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": 1 - }, "version": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": "commonjs" + "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n" }, "./index.ts": { - "original": { - "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": 1 - }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n" } }, "root": [ @@ -383,7 +339,7 @@ export interface A { } }, "version": "FakeTSVersion", - "size": 1195 + "size": 1057 } diff --git a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js index ba7b5069e11af..163b67850bf50 100644 --- a/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/incremental-with-circular-references-watch.js @@ -89,7 +89,7 @@ export { C } from "./c"; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","impliedFormat":1},{"version":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","impliedFormat":1},{"version":"-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n","impliedFormat":1},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -121,49 +121,27 @@ export { C } from "./c"; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { - "original": { - "version": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": 1 - }, "version": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "./b.ts": { - "original": { - "version": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": 1 - }, "version": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "./a.ts": { - "original": { - "version": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "impliedFormat": 1 - }, "version": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9690779495-import { B } from \"./b\";\nexport interface A {\n b: B;\n}\n" }, "./index.ts": { - "original": { - "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": 1 - }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n" } }, "root": [ @@ -204,19 +182,15 @@ export { C } from "./c"; } }, "version": "FakeTSVersion", - "size": 1180 + "size": 1042 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -290,12 +264,8 @@ export interface A { PolledWatches *deleted*:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -335,7 +305,7 @@ export interface A { //// [/users/username/projects/project/index.d.ts] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","impliedFormat":1},{"version":"2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","impliedFormat":1},{"version":"-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n","impliedFormat":1},{"version":"1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n","impliedFormat":1}],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./c.ts","./b.ts","./a.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n","2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n","-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n","1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n"],"root":[[2,5]],"options":{"declaration":true,"emitDeclarationOnly":true,"module":1,"target":1},"fileIdsList":[[3],[2],[4],[2,3,4]],"referencedMap":[[4,1],[3,2],[2,3],[5,4]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -367,49 +337,27 @@ export interface A { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./c.ts": { - "original": { - "version": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": 1 - }, "version": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n", - "impliedFormat": "commonjs" + "signature": "-3358372745-import { A } from \"./a\";\nexport interface C {\n a: A;\n}\n" }, "./b.ts": { - "original": { - "version": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": 1 - }, "version": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n", - "impliedFormat": "commonjs" + "signature": "2102342013-import { C } from \"./c\";\nexport interface B {\n b: C;\n}\n" }, "./a.ts": { - "original": { - "version": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": 1 - }, "version": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n", - "impliedFormat": "commonjs" + "signature": "-7623824316-import { B } from \"./b\";\nexport interface A {\n b: B;\n foo: any;\n}\n" }, "./index.ts": { - "original": { - "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": 1 - }, "version": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n", - "impliedFormat": "commonjs" + "signature": "1286756397-export { A } from \"./a\";\nexport { B } from \"./b\";\nexport { C } from \"./c\";\n" } }, "root": [ @@ -450,19 +398,15 @@ export interface A { } }, "version": "FakeTSVersion", - "size": 1195 + "size": 1057 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js index 408c4dbf80433..40bb47bb8c51e 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-incremental.js @@ -51,7 +51,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"Cannot find module 'react/jsx-runtime' or its corresponding type declarations.","category":1,"code":2307}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;"],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"Cannot find module 'react/jsx-runtime' or its corresponding type declarations.","category":1,"code":2307}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -64,22 +64,15 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.tsx": { - "original": { - "version": "-14760199789-export const App = () =>
;", - "impliedFormat": 1 - }, "version": "-14760199789-export const App = () =>
;", - "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "signature": "-14760199789-export const App = () =>
;" } }, "root": [ @@ -109,7 +102,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 953 + "size": 905 } @@ -167,7 +160,7 @@ Output:: //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n","impliedFormat":1}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n",{"version":"-14760199789-export const App = () =>
;","signature":"-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -186,32 +179,23 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/react/jsx-runtime/index.d.ts": { - "original": { - "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": 1 - }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" }, "./index.tsx": { "original": { "version": "-14760199789-export const App = () =>
;", - "signature": "-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n", - "impliedFormat": 1 + "signature": "-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n" }, "version": "-14760199789-export const App = () =>
;", - "signature": "-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n", - "impliedFormat": "commonjs" + "signature": "-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n" } }, "root": [ @@ -232,7 +216,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1292 + "size": 1226 } diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js index df06e45964c68..2f39e6c95b8db 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-added-watch.js @@ -53,7 +53,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"Cannot find module 'react/jsx-runtime' or its corresponding type declarations.","category":1,"code":2307}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-14760199789-export const App = () =>
;"],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"Cannot find module 'react/jsx-runtime' or its corresponding type declarations.","category":1,"code":2307}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -66,22 +66,15 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.tsx": { - "original": { - "version": "-14760199789-export const App = () =>
;", - "impliedFormat": 1 - }, "version": "-14760199789-export const App = () =>
;", - "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "signature": "-14760199789-export const App = () =>
;" } }, "root": [ @@ -111,7 +104,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 953 + "size": 905 } @@ -120,14 +113,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -196,14 +185,10 @@ PolledWatches *deleted*:: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -227,7 +212,7 @@ Output:: //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n","impliedFormat":1}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n",{"version":"-14760199789-export const App = () =>
;","signature":"-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -246,32 +231,23 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/react/jsx-runtime/index.d.ts": { - "original": { - "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": 1 - }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" }, "./index.tsx": { "original": { "version": "-14760199789-export const App = () =>
;", - "signature": "-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n", - "impliedFormat": 1 + "signature": "-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n" }, "version": "-14760199789-export const App = () =>
;", - "signature": "-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n", - "impliedFormat": "commonjs" + "signature": "-17269688391-export declare const App: () => import(\"react/jsx-runtime\").JSX.Element;\n" } }, "root": [ @@ -292,21 +268,15 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1292 + "size": 1226 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/node_modules/react/jsx-runtime/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js index eedbf5d96ce0a..847dbbf894f54 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-incremental.js @@ -63,7 +63,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","impliedFormat":1}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -82,31 +82,19 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/react/jsx-runtime/index.d.ts": { - "original": { - "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": 1 - }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" }, "./index.tsx": { - "original": { - "version": "-14760199789-export const App = () =>
;", - "impliedFormat": 1 - }, "version": "-14760199789-export const App = () =>
;", - "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "signature": "-14760199789-export const App = () =>
;" } }, "root": [ @@ -127,7 +115,7 @@ exports.App = App; } }, "version": "FakeTSVersion", - "size": 1188 + "size": 1110 } @@ -178,7 +166,7 @@ Found 1 error in index.tsx:1 //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-11175433774-export declare const App: () => any;\n","impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"Cannot find module 'react/jsx-runtime' or its corresponding type declarations.","category":1,"code":2307}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14760199789-export const App = () =>
;","signature":"-11175433774-export declare const App: () => any;\n"}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"Cannot find module 'react/jsx-runtime' or its corresponding type declarations.","category":1,"code":2307}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -191,23 +179,19 @@ Found 1 error in index.tsx:1 "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.tsx": { "original": { "version": "-14760199789-export const App = () =>
;", - "signature": "-11175433774-export declare const App: () => any;\n", - "impliedFormat": 1 + "signature": "-11175433774-export declare const App: () => any;\n" }, "version": "-14760199789-export const App = () =>
;", - "signature": "-11175433774-export declare const App: () => any;\n", - "impliedFormat": "commonjs" + "signature": "-11175433774-export declare const App: () => any;\n" } }, "root": [ @@ -237,7 +221,7 @@ Found 1 error in index.tsx:1 ] }, "version": "FakeTSVersion", - "size": 1019 + "size": 983 } diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js index 3ddb6c06206a7..cf58b6a5e260c 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-backing-types-removed-watch.js @@ -68,7 +68,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","impliedFormat":1}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -87,31 +87,19 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/react/jsx-runtime/index.d.ts": { - "original": { - "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": 1 - }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" }, "./index.tsx": { - "original": { - "version": "-14760199789-export const App = () =>
;", - "impliedFormat": 1 - }, "version": "-14760199789-export const App = () =>
;", - "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "signature": "-14760199789-export const App = () =>
;" } }, "root": [ @@ -132,21 +120,15 @@ exports.App = App; } }, "version": "FakeTSVersion", - "size": 1188 + "size": 1110 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/node_modules/react/jsx-runtime/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -204,14 +186,8 @@ Input:: PolledWatches *deleted*:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/node_modules/react/jsx-runtime/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -246,7 +222,7 @@ Output:: //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-11175433774-export declare const App: () => any;\n","impliedFormat":1}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"Cannot find module 'react/jsx-runtime' or its corresponding type declarations.","category":1,"code":2307}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-14760199789-export const App = () =>
;","signature":"-11175433774-export declare const App: () => any;\n"}],"root":[2],"options":{"jsx":4,"jsxImportSource":"react","module":1},"semanticDiagnosticsPerFile":[[2,[{"start":25,"length":24,"messageText":"Cannot find module 'react/jsx-runtime' or its corresponding type declarations.","category":1,"code":2307}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -259,23 +235,19 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.tsx": { "original": { "version": "-14760199789-export const App = () =>
;", - "signature": "-11175433774-export declare const App: () => any;\n", - "impliedFormat": 1 + "signature": "-11175433774-export declare const App: () => any;\n" }, "version": "-14760199789-export const App = () =>
;", - "signature": "-11175433774-export declare const App: () => any;\n", - "impliedFormat": "commonjs" + "signature": "-11175433774-export declare const App: () => any;\n" } }, "root": [ @@ -305,7 +277,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1019 + "size": 983 } @@ -314,12 +286,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js index 68d120a559ce2..7c00ee7185fc4 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-incremental.js @@ -89,7 +89,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","impliedFormat":1}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -108,31 +108,19 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/react/jsx-runtime/index.d.ts": { - "original": { - "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": 1 - }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" }, "./index.tsx": { - "original": { - "version": "-14760199789-export const App = () =>
;", - "impliedFormat": 1 - }, "version": "-14760199789-export const App = () =>
;", - "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "signature": "-14760199789-export const App = () =>
;" } }, "root": [ @@ -153,7 +141,7 @@ exports.App = App; } }, "version": "FakeTSVersion", - "size": 1188 + "size": 1110 } @@ -228,7 +216,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/preact/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n","impliedFormat":1}],"root":[3],"options":{"jsx":4,"jsxImportSource":"preact","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":30,"length":5,"code":2322,"category":1,"messageText":{"messageText":"Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'.","category":1,"code":2322,"next":[{"messageText":"Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'?","category":1,"code":2551}]}}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/preact/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n",{"version":"-14760199789-export const App = () =>
;","signature":"-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"preact","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":30,"length":5,"code":2322,"category":1,"messageText":{"messageText":"Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'.","category":1,"code":2322,"next":[{"messageText":"Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'?","category":1,"code":2551}]}}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -247,32 +235,23 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/preact/jsx-runtime/index.d.ts": { - "original": { - "version": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": 1 - }, "version": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "signature": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" }, "./index.tsx": { "original": { "version": "-14760199789-export const App = () =>
;", - "signature": "-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n", - "impliedFormat": 1 + "signature": "-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n" }, "version": "-14760199789-export const App = () =>
;", - "signature": "-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n", - "impliedFormat": "commonjs" + "signature": "-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n" } }, "root": [ @@ -318,7 +297,7 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1652 + "size": 1586 } diff --git a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js index ca07a34e488d8..3245e0224fef1 100644 --- a/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/jsxImportSource-option-changed-watch.js @@ -94,7 +94,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","impliedFormat":1}],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/react/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","-14760199789-export const App = () =>
;"],"root":[3],"options":{"jsx":4,"jsxImportSource":"react","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -113,31 +113,19 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/react/jsx-runtime/index.d.ts": { - "original": { - "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": 1 - }, "version": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "signature": "-35656056833-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propA?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" }, "./index.tsx": { - "original": { - "version": "-14760199789-export const App = () =>
;", - "impliedFormat": 1 - }, "version": "-14760199789-export const App = () =>
;", - "signature": "-14760199789-export const App = () =>
;", - "impliedFormat": "commonjs" + "signature": "-14760199789-export const App = () =>
;" } }, "root": [ @@ -158,21 +146,15 @@ exports.App = App; } }, "version": "FakeTSVersion", - "size": 1188 + "size": 1110 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/node_modules/react/jsx-runtime/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -239,14 +221,8 @@ Input:: PolledWatches *deleted*:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/node_modules/react/jsx-runtime/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -296,7 +272,7 @@ exports.App = App; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/preact/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n","impliedFormat":1},{"version":"-14760199789-export const App = () =>
;","signature":"-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n","impliedFormat":1}],"root":[3],"options":{"jsx":4,"jsxImportSource":"preact","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":30,"length":5,"code":2322,"category":1,"messageText":{"messageText":"Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'.","category":1,"code":2322,"next":[{"messageText":"Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'?","category":1,"code":2551}]}}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./node_modules/preact/jsx-runtime/index.d.ts","./index.tsx"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n",{"version":"-14760199789-export const App = () =>
;","signature":"-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n"}],"root":[3],"options":{"jsx":4,"jsxImportSource":"preact","module":1},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":30,"length":5,"code":2322,"category":1,"messageText":{"messageText":"Type '{ propA: boolean; }' is not assignable to type '{ propB?: boolean; }'.","category":1,"code":2322,"next":[{"messageText":"Property 'propA' does not exist on type '{ propB?: boolean; }'. Did you mean 'propB'?","category":1,"code":2551}]}}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -315,32 +291,23 @@ exports.App = App; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./node_modules/preact/jsx-runtime/index.d.ts": { - "original": { - "version": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": 1 - }, "version": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "signature": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n", - "impliedFormat": "commonjs" + "signature": "-17896129664-export namespace JSX {\n interface Element {}\n interface IntrinsicElements {\n div: {\n propB?: boolean;\n };\n }\n}\nexport function jsx(...args: any[]): void;\nexport function jsxs(...args: any[]): void;\nexport const Fragment: unique symbol;\n" }, "./index.tsx": { "original": { "version": "-14760199789-export const App = () =>
;", - "signature": "-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n", - "impliedFormat": 1 + "signature": "-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n" }, "version": "-14760199789-export const App = () =>
;", - "signature": "-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n", - "impliedFormat": "commonjs" + "signature": "-8162467991-export declare const App: () => import(\"preact/jsx-runtime\").JSX.Element;\n" } }, "root": [ @@ -386,21 +353,15 @@ exports.App = App; ] }, "version": "FakeTSVersion", - "size": 1652 + "size": 1586 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/node_modules/preact/jsx-runtime/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js index 731a6291aadfb..cd383ae7a9983 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-incremental.js @@ -59,7 +59,7 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13939690350-export const y: string = 20;","impliedFormat":1}],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13939690350-export const y: string = 20;"],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -73,31 +73,19 @@ define(["require", "exports"], function (require, exports) { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" }, "./file2.ts": { - "original": { - "version": "-13939690350-export const y: string = 20;", - "impliedFormat": 1 - }, "version": "-13939690350-export const y: string = 20;", - "signature": "-13939690350-export const y: string = 20;", - "impliedFormat": "commonjs" + "signature": "-13939690350-export const y: string = 20;" } }, "root": [ @@ -129,7 +117,7 @@ define(["require", "exports"], function (require, exports) { ] }, "version": "FakeTSVersion", - "size": 867 + "size": 789 } @@ -188,7 +176,7 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n","impliedFormat":1},{"version":"-13939690350-export const y: string = 20;","impliedFormat":1}],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n"},"-13939690350-export const y: string = 20;"],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -202,32 +190,23 @@ define(["require", "exports"], function (require, exports) { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "-12438487295-export const z = 10;", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": 1 + "signature": "-7483702853-export declare const z = 10;\n" }, "version": "-12438487295-export const z = 10;", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7483702853-export declare const z = 10;\n" }, "./file2.ts": { - "original": { - "version": "-13939690350-export const y: string = 20;", - "impliedFormat": 1 - }, "version": "-13939690350-export const y: string = 20;", - "signature": "-13939690350-export const y: string = 20;", - "impliedFormat": "commonjs" + "signature": "-13939690350-export const y: string = 20;" } }, "root": [ @@ -259,7 +238,7 @@ define(["require", "exports"], function (require, exports) { ] }, "version": "FakeTSVersion", - "size": 924 + "size": 858 } diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js index 7f8eceb5fa95f..8add8d422bc40 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-with-errors-watch.js @@ -61,7 +61,7 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13939690350-export const y: string = 20;","impliedFormat":1}],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13939690350-export const y: string = 20;"],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -75,31 +75,19 @@ define(["require", "exports"], function (require, exports) { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" }, "./file2.ts": { - "original": { - "version": "-13939690350-export const y: string = 20;", - "impliedFormat": 1 - }, "version": "-13939690350-export const y: string = 20;", - "signature": "-13939690350-export const y: string = 20;", - "impliedFormat": "commonjs" + "signature": "-13939690350-export const y: string = 20;" } }, "root": [ @@ -131,19 +119,15 @@ define(["require", "exports"], function (require, exports) { ] }, "version": "FakeTSVersion", - "size": 867 + "size": 789 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -197,12 +181,8 @@ export const z = 10; PolledWatches *deleted*:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -241,7 +221,7 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n","impliedFormat":1},{"version":"-13939690350-export const y: string = 20;","impliedFormat":1}],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n"},"-13939690350-export const y: string = 20;"],"root":[2,3],"options":{"module":2},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -255,32 +235,23 @@ define(["require", "exports"], function (require, exports) { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "-12438487295-export const z = 10;", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": 1 + "signature": "-7483702853-export declare const z = 10;\n" }, "version": "-12438487295-export const z = 10;", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7483702853-export declare const z = 10;\n" }, "./file2.ts": { - "original": { - "version": "-13939690350-export const y: string = 20;", - "impliedFormat": 1 - }, "version": "-13939690350-export const y: string = 20;", - "signature": "-13939690350-export const y: string = 20;", - "impliedFormat": "commonjs" + "signature": "-13939690350-export const y: string = 20;" } }, "root": [ @@ -312,19 +283,15 @@ define(["require", "exports"], function (require, exports) { ] }, "version": "FakeTSVersion", - "size": 924 + "size": 858 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js index 187571993cd3e..94d7b7c300954 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-incremental.js @@ -51,7 +51,7 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729954175-export const y = 20;","impliedFormat":1}],"root":[2,3],"options":{"module":2}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"root":[2,3],"options":{"module":2}},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -65,31 +65,19 @@ define(["require", "exports"], function (require, exports) { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" }, "./file2.ts": { - "original": { - "version": "-13729954175-export const y = 20;", - "impliedFormat": 1 - }, "version": "-13729954175-export const y = 20;", - "signature": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" + "signature": "-13729954175-export const y = 20;" } }, "root": [ @@ -107,7 +95,7 @@ define(["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 707 + "size": 629 } @@ -158,7 +146,7 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"module":2}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-10726455937-export const x = 10;",{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n"}],"root":[2,3],"options":{"module":2}},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,32 +160,23 @@ define(["require", "exports"], function (require, exports) { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" }, "./file2.ts": { "original": { "version": "-12438487295-export const z = 10;", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": 1 + "signature": "-7483702853-export declare const z = 10;\n" }, "version": "-12438487295-export const z = 10;", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7483702853-export declare const z = 10;\n" } }, "root": [ @@ -215,7 +194,7 @@ define(["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 764 + "size": 698 } diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js index 700fca7ab0ddd..98d8b5dd23f62 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/own-file-emit-without-errors-watch.js @@ -56,7 +56,7 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729954175-export const y = 20;","impliedFormat":1}],"root":[2,3],"options":{"module":2}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"root":[2,3],"options":{"module":2}},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -70,31 +70,19 @@ define(["require", "exports"], function (require, exports) { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" }, "./file2.ts": { - "original": { - "version": "-13729954175-export const y = 20;", - "impliedFormat": 1 - }, "version": "-13729954175-export const y = 20;", - "signature": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" + "signature": "-13729954175-export const y = 20;" } }, "root": [ @@ -112,19 +100,15 @@ define(["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 707 + "size": 629 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -178,12 +162,8 @@ export const z = 10; PolledWatches *deleted*:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -217,7 +197,7 @@ define(["require", "exports"], function (require, exports) { //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"module":2}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-10726455937-export const x = 10;",{"version":"-12438487295-export const z = 10;","signature":"-7483702853-export declare const z = 10;\n"}],"root":[2,3],"options":{"module":2}},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -231,32 +211,23 @@ define(["require", "exports"], function (require, exports) { "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" }, "./file2.ts": { "original": { "version": "-12438487295-export const z = 10;", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": 1 + "signature": "-7483702853-export declare const z = 10;\n" }, "version": "-12438487295-export const z = 10;", - "signature": "-7483702853-export declare const z = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7483702853-export declare const z = 10;\n" } }, "root": [ @@ -274,19 +245,15 @@ define(["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 764 + "size": 698 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js index 7e5b1f8349dac..51516f1dd7747 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-incremental.js @@ -49,7 +49,7 @@ define("file2", ["require", "exports"], function (require, exports) { //// [/users/username/projects/project/out.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729954175-export const y = 20;","impliedFormat":1}],"root":[2,3],"options":{"module":2,"outFile":"./out.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"root":[2,3],"options":{"module":2,"outFile":"./out.js"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -60,30 +60,9 @@ define("file2", ["require", "exports"], function (require, exports) { "./file2.ts" ], "fileInfos": { - "../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./file1.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, - "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" - }, - "./file2.ts": { - "original": { - "version": "-13729954175-export const y = 20;", - "impliedFormat": 1 - }, - "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" - } + "../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./file1.ts": "-10726455937-export const x = 10;", + "./file2.ts": "-13729954175-export const y = 20;" }, "root": [ [ @@ -101,7 +80,7 @@ define("file2", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 702 + "size": 612 } diff --git a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js index fb244f4e0ec5a..bd0efddd29deb 100644 --- a/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/module-compilation/with---out-watch.js @@ -54,7 +54,7 @@ define("file2", ["require", "exports"], function (require, exports) { //// [/users/username/projects/project/out.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729954175-export const y = 20;","impliedFormat":1}],"root":[2,3],"options":{"module":2,"outFile":"./out.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-10726455937-export const x = 10;","-13729954175-export const y = 20;"],"root":[2,3],"options":{"module":2,"outFile":"./out.js"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -65,30 +65,9 @@ define("file2", ["require", "exports"], function (require, exports) { "./file2.ts" ], "fileInfos": { - "../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./file1.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, - "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" - }, - "./file2.ts": { - "original": { - "version": "-13729954175-export const y = 20;", - "impliedFormat": 1 - }, - "version": "-13729954175-export const y = 20;", - "impliedFormat": "commonjs" - } + "../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./file1.ts": "-10726455937-export const x = 10;", + "./file2.ts": "-13729954175-export const y = 20;" }, "root": [ [ @@ -106,19 +85,15 @@ define("file2", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 702 + "size": 612 } PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js index 6d1af9f9c64ea..19df7712b52f4 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-incremental.js @@ -48,7 +48,7 @@ var y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","affectsGlobalScope":true,"impliedFormat":1},{"version":"2414573776-const y: string = 20;","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2414573776-const y: string = 20;","affectsGlobalScope":true}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -62,35 +62,29 @@ var y = 20; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "5029505981-const x = 10;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "5029505981-const x = 10;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "2414573776-const y: string = 20;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2414573776-const y: string = 20;", "signature": "2414573776-const y: string = 20;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -119,7 +113,7 @@ var y = 20; ] }, "version": "FakeTSVersion", - "size": 877 + "size": 823 } @@ -173,7 +167,7 @@ var z = 10; //// [/users/username/projects/project/file2.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"2414573776-const y: string = 20;","signature":"509180395-declare const y: string;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true},{"version":"2414573776-const y: string = 20;","signature":"509180395-declare const y: string;\n","affectsGlobalScope":true}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -187,37 +181,31 @@ var z = 10; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "2414573776-const y: string = 20;", "signature": "509180395-declare const y: string;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2414573776-const y: string = 20;", "signature": "509180395-declare const y: string;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -246,7 +234,7 @@ var z = 10; ] }, "version": "FakeTSVersion", - "size": 977 + "size": 923 } diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js index 6e26653146e8b..ffd83d9f26230 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-with-errors-watch.js @@ -50,7 +50,7 @@ var y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","affectsGlobalScope":true,"impliedFormat":1},{"version":"2414573776-const y: string = 20;","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2414573776-const y: string = 20;","affectsGlobalScope":true}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -64,35 +64,29 @@ var y = 20; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "5029505981-const x = 10;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "5029505981-const x = 10;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "2414573776-const y: string = 20;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2414573776-const y: string = 20;", "signature": "2414573776-const y: string = 20;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -121,7 +115,7 @@ var y = 20; ] }, "version": "FakeTSVersion", - "size": 877 + "size": 823 } @@ -218,7 +212,7 @@ var z = 10; //// [/users/username/projects/project/file2.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"2414573776-const y: string = 20;","signature":"509180395-declare const y: string;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true},{"version":"2414573776-const y: string = 20;","signature":"509180395-declare const y: string;\n","affectsGlobalScope":true}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":6,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -232,37 +226,31 @@ var z = 10; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "2414573776-const y: string = 20;", "signature": "509180395-declare const y: string;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2414573776-const y: string = 20;", "signature": "509180395-declare const y: string;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -291,7 +279,7 @@ var z = 10; ] }, "version": "FakeTSVersion", - "size": 977 + "size": 923 } diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js index 1e6fd0dea6a0d..6c04b47e029bd 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-incremental.js @@ -40,7 +40,7 @@ var y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","affectsGlobalScope":true,"impliedFormat":1},{"version":"2026007743-const y = 20;","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2026007743-const y = 20;","affectsGlobalScope":true}],"root":[2,3]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -54,35 +54,29 @@ var y = 20; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "5029505981-const x = 10;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "5029505981-const x = 10;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "2026007743-const y = 20;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2026007743-const y = 20;", "signature": "2026007743-const y = 20;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -97,7 +91,7 @@ var y = 20; ] }, "version": "FakeTSVersion", - "size": 718 + "size": 664 } @@ -144,7 +138,7 @@ var z = 10; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true}],"root":[2,3]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -158,37 +152,31 @@ var z = 10; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -203,7 +191,7 @@ var z = 10; ] }, "version": "FakeTSVersion", - "size": 817 + "size": 763 } diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js index fed72e35ff11c..36a7f1349e6a3 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/with-commandline-parameters-that-are-not-relative-watch.js @@ -45,7 +45,7 @@ var y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","affectsGlobalScope":true,"impliedFormat":1},{"version":"2026007743-const y = 20;","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2026007743-const y = 20;","affectsGlobalScope":true}],"root":[2,3]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -59,35 +59,29 @@ var y = 20; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "5029505981-const x = 10;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "5029505981-const x = 10;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "2026007743-const y = 20;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2026007743-const y = 20;", "signature": "2026007743-const y = 20;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -102,7 +96,7 @@ var y = 20; ] }, "version": "FakeTSVersion", - "size": 718 + "size": 664 } @@ -195,7 +189,7 @@ var z = 10; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true}],"root":[2,3]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -209,37 +203,31 @@ var z = 10; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -254,7 +242,7 @@ var z = 10; ] }, "version": "FakeTSVersion", - "size": 817 + "size": 763 } diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js index ec7346bb2ac6d..4edbd6540901a 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-incremental.js @@ -40,7 +40,7 @@ var y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","affectsGlobalScope":true,"impliedFormat":1},{"version":"2026007743-const y = 20;","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2026007743-const y = 20;","affectsGlobalScope":true}],"root":[2,3]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -54,35 +54,29 @@ var y = 20; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "5029505981-const x = 10;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "5029505981-const x = 10;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "2026007743-const y = 20;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2026007743-const y = 20;", "signature": "2026007743-const y = 20;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -97,7 +91,7 @@ var y = 20; ] }, "version": "FakeTSVersion", - "size": 718 + "size": 664 } @@ -143,7 +137,7 @@ var z = 10; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true}],"root":[2,3]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -157,37 +151,31 @@ var z = 10; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -202,7 +190,7 @@ var z = 10; ] }, "version": "FakeTSVersion", - "size": 817 + "size": 763 } diff --git a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js index a134505234c02..56b9c42029567 100644 --- a/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/own-file-emit-without-errors/without-commandline-options-watch.js @@ -45,7 +45,7 @@ var y = 20; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","affectsGlobalScope":true,"impliedFormat":1},{"version":"2026007743-const y = 20;","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","affectsGlobalScope":true},{"version":"2026007743-const y = 20;","affectsGlobalScope":true}],"root":[2,3]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -59,35 +59,29 @@ var y = 20; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "5029505981-const x = 10;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "5029505981-const x = 10;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "2026007743-const y = 20;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "2026007743-const y = 20;", "signature": "2026007743-const y = 20;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -102,7 +96,7 @@ var y = 20; ] }, "version": "FakeTSVersion", - "size": 718 + "size": 664 } @@ -194,7 +188,7 @@ var z = 10; //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"5029505981-const x = 10;","signature":"-4001438729-declare const x = 10;\n","affectsGlobalScope":true},{"version":"3317474623-const z = 10;","signature":"-368931399-declare const z = 10;\n","affectsGlobalScope":true}],"root":[2,3]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -208,37 +202,31 @@ var z = 10; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file1.ts": { "original": { "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5029505981-const x = 10;", "signature": "-4001438729-declare const x = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file2.ts": { "original": { "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3317474623-const z = 10;", "signature": "-368931399-declare const z = 10;\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -253,7 +241,7 @@ var z = 10; ] }, "version": "FakeTSVersion", - "size": 817 + "size": 763 } diff --git a/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js b/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js index 06e16a8d2b1ba..dffb244e10005 100644 --- a/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js +++ b/tests/baselines/reference/tscWatch/incremental/tsbuildinfo-has-error.js @@ -33,7 +33,7 @@ Output:: //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1}],"root":[2]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-10726455937-export const x = 10;"],"root":[2]},"version":"FakeTSVersion"} //// [/src/project/main.js] "use strict"; @@ -53,22 +53,15 @@ exports.x = 10; "../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" } }, "root": [ @@ -79,7 +72,7 @@ exports.x = 10; ] }, "version": "FakeTSVersion", - "size": 596 + "size": 548 } diff --git a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js index 1b3fe10d304fb..b6ef8ca39cbf1 100644 --- a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-incremental.js @@ -38,7 +38,7 @@ console.log(Config.value); //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./globals.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6314871648-declare namespace Config { const value: string;} ","affectsGlobalScope":true,"impliedFormat":1},{"version":"5371023861-console.log(Config.value);","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./globals.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6314871648-declare namespace Config { const value: string;} ","affectsGlobalScope":true},{"version":"5371023861-console.log(Config.value);","affectsGlobalScope":true}],"root":[2,3]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -52,35 +52,29 @@ console.log(Config.value); "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./globals.d.ts": { "original": { "version": "-6314871648-declare namespace Config { const value: string;} ", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-6314871648-declare namespace Config { const value: string;} ", "signature": "-6314871648-declare namespace Config { const value: string;} ", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "5371023861-console.log(Config.value);", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5371023861-console.log(Config.value);", "signature": "5371023861-console.log(Config.value);", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -95,7 +89,7 @@ console.log(Config.value); ] }, "version": "FakeTSVersion", - "size": 852 + "size": 798 } @@ -143,7 +137,7 @@ Found 1 error in index.ts:1 //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"5371023861-console.log(Config.value);","signature":"5381-","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":12,"length":6,"messageText":"Cannot find name 'Config'.","category":1,"code":2304}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5371023861-console.log(Config.value);","signature":"5381-","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":12,"length":6,"messageText":"Cannot find name 'Config'.","category":1,"code":2304}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -156,25 +150,21 @@ Found 1 error in index.ts:1 "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "5371023861-console.log(Config.value);", "signature": "5381-", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5371023861-console.log(Config.value);", "signature": "5381-", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -199,7 +189,7 @@ Found 1 error in index.ts:1 ] }, "version": "FakeTSVersion", - "size": 862 + "size": 826 } diff --git a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js index f7d63e59601c0..65f643347f617 100644 --- a/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/when-file-with-ambient-global-declaration-file-is-deleted-watch.js @@ -43,7 +43,7 @@ console.log(Config.value); //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./globals.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6314871648-declare namespace Config { const value: string;} ","affectsGlobalScope":true,"impliedFormat":1},{"version":"5371023861-console.log(Config.value);","affectsGlobalScope":true,"impliedFormat":1}],"root":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./globals.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6314871648-declare namespace Config { const value: string;} ","affectsGlobalScope":true},{"version":"5371023861-console.log(Config.value);","affectsGlobalScope":true}],"root":[2,3]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -57,35 +57,29 @@ console.log(Config.value); "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./globals.d.ts": { "original": { "version": "-6314871648-declare namespace Config { const value: string;} ", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-6314871648-declare namespace Config { const value: string;} ", "signature": "-6314871648-declare namespace Config { const value: string;} ", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "5371023861-console.log(Config.value);", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5371023861-console.log(Config.value);", "signature": "5371023861-console.log(Config.value);", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -100,7 +94,7 @@ console.log(Config.value); ] }, "version": "FakeTSVersion", - "size": 852 + "size": 798 } @@ -191,7 +185,7 @@ Output:: //// [/users/username/projects/project/index.js] file written with same contents //// [/users/username/projects/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"5371023861-console.log(Config.value);","signature":"5381-","affectsGlobalScope":true,"impliedFormat":1}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":12,"length":6,"messageText":"Cannot find name 'Config'.","category":1,"code":2304}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"5371023861-console.log(Config.value);","signature":"5381-","affectsGlobalScope":true}],"root":[2],"semanticDiagnosticsPerFile":[[2,[{"start":12,"length":6,"messageText":"Cannot find name 'Config'.","category":1,"code":2304}]]]},"version":"FakeTSVersion"} //// [/users/username/projects/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -204,25 +198,21 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "5371023861-console.log(Config.value);", "signature": "5381-", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "5371023861-console.log(Config.value);", "signature": "5381-", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -247,7 +237,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 862 + "size": 826 } diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js index d0c2f01b2c8be..12c8db74047ca 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-incremental.js @@ -38,7 +38,7 @@ var y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"5029505981-const x = 10;","impliedFormat":1},{"version":"2026007743-const y = 20;","impliedFormat":1}],"root":[2,3],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","5029505981-const x = 10;","2026007743-const y = 20;"],"root":[2,3],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -49,30 +49,9 @@ var y = 20; "./file2.ts" ], "fileInfos": { - "../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./file1.ts": { - "original": { - "version": "5029505981-const x = 10;", - "impliedFormat": 1 - }, - "version": "5029505981-const x = 10;", - "impliedFormat": "commonjs" - }, - "./file2.ts": { - "original": { - "version": "2026007743-const y = 20;", - "impliedFormat": 1 - }, - "version": "2026007743-const y = 20;", - "impliedFormat": "commonjs" - } + "../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./file1.ts": "5029505981-const x = 10;", + "./file2.ts": "2026007743-const y = 20;" }, "root": [ [ @@ -89,7 +68,7 @@ var y = 20; } }, "version": "FakeTSVersion", - "size": 673 + "size": 583 } diff --git a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js index 19695e989d7ee..15de7700866f4 100644 --- a/tests/baselines/reference/tscWatch/incremental/with---out-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/with---out-watch.js @@ -43,7 +43,7 @@ var y = 20; //// [/users/username/projects/project/out.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"5029505981-const x = 10;","impliedFormat":1},{"version":"2026007743-const y = 20;","impliedFormat":1}],"root":[2,3],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./file1.ts","./file2.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","5029505981-const x = 10;","2026007743-const y = 20;"],"root":[2,3],"options":{"outFile":"./out.js"}},"version":"FakeTSVersion"} //// [/users/username/projects/project/out.tsbuildinfo.readable.baseline.txt] { @@ -54,30 +54,9 @@ var y = 20; "./file2.ts" ], "fileInfos": { - "../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./file1.ts": { - "original": { - "version": "5029505981-const x = 10;", - "impliedFormat": 1 - }, - "version": "5029505981-const x = 10;", - "impliedFormat": "commonjs" - }, - "./file2.ts": { - "original": { - "version": "2026007743-const y = 20;", - "impliedFormat": 1 - }, - "version": "2026007743-const y = 20;", - "impliedFormat": "commonjs" - } + "../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./file1.ts": "5029505981-const x = 10;", + "./file2.ts": "2026007743-const y = 20;" }, "root": [ [ @@ -94,7 +73,7 @@ var y = 20; } }, "version": "FakeTSVersion", - "size": 673 + "size": 583 } diff --git a/tests/baselines/reference/tscWatch/libraryResolution/unknwon-lib.js b/tests/baselines/reference/tscWatch/libraryResolution/unknwon-lib.js index e274053a357ca..9a336bdb4d70b 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/unknwon-lib.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/unknwon-lib.js @@ -58,23 +58,8 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/core.d.ts","/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts"] options: {"composite":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/core.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/file.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/file2.ts 250 undefined Source file ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -102,30 +87,10 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/node_modules 1 Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -File '/home/src/lib/package.json' does not exist. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.scripthost.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/index.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/utils.d.ts 250 undefined Source file -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots @@ -192,7 +157,7 @@ export declare const x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[[3,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;"],"root":[[3,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -210,72 +175,52 @@ export declare const x = "type1"; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-15920922626-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-15920922626-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": 1 + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -299,7 +244,7 @@ export declare const x = "type1"; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1448 + "size": 1298 } @@ -308,14 +253,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project1/node_modules: *new* {"pollingInterval":500} /home/src/projects/project1/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project1/package.json: *new* - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.d.ts: *new* @@ -413,39 +354,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/core.d.ts","/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts"] options: {"composite":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. project1/file2.ts:1:21 - error TS2727: Cannot find lib definition for 'webworker2'. Did you mean 'webworker'? @@ -489,7 +397,7 @@ export declare const xyz = 10; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[[3,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;"],"root":[[3,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -507,72 +415,52 @@ export declare const xyz = 10; "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-15920922626-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-15920922626-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -596,7 +484,7 @@ export declare const xyz = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1501 + "size": 1351 } @@ -665,35 +553,7 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts"] options: {"composite":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/project1/core.d.ts 250 undefined Source file project1/file2.ts:1:21 - error TS2727: Cannot find lib definition for 'webworker2'. Did you mean 'webworker'? @@ -722,7 +582,7 @@ project1/utils.d.ts //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../../lib/lib.scripthost.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[[3,6]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../../lib/lib.scripthost.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-15920922626-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;"],"root":[[3,6]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -739,63 +599,48 @@ project1/utils.d.ts "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-15920922626-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-15920922626-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -818,7 +663,7 @@ project1/utils.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1418 + "size": 1298 } @@ -827,14 +672,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} /home/src/projects/project1/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.d.ts: @@ -921,63 +762,7 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts"] options: {"composite":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. project1/file2.ts:1:21 - error TS2727: Cannot find lib definition for 'webworker2'. Did you mean 'webworker'? 1 /// @@ -1005,7 +790,7 @@ project1/utils.d.ts //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../../lib/lib.scripthost.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-13885971376-/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[[3,6]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../../lib/lib.scripthost.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-13885971376-/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;"],"root":[[3,6]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1022,63 +807,48 @@ project1/utils.d.ts "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-13885971376-/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-13885971376-/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -1101,7 +871,7 @@ project1/utils.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1381 + "size": 1261 } @@ -1168,44 +938,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts"] options: {"composite":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1228,30 +960,8 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-webworker' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.d.ts Default library for target 'es5' ../lib/lib.webworker.d.ts @@ -1278,7 +988,7 @@ project1/utils.d.ts //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-17945718466-/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[[4,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-17945718466-/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;"],"root":[[4,7]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1296,74 +1006,57 @@ project1/utils.d.ts "../../lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-17945718466-/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-17945718466-/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -1386,7 +1079,7 @@ project1/utils.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1514 + "size": 1376 } @@ -1395,14 +1088,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} /home/src/projects/project1/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js index 941927a970169..02b95cee0375b 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/with-config-with-redirection.js @@ -183,23 +183,8 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/core.d.ts","/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/core.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/file.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/file2.ts 250 undefined Source file ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -220,13 +205,6 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/node_modules 1 Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist. -File '/home/src/projects/node_modules/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -243,13 +221,6 @@ File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -266,38 +237,14 @@ File '/home/src/projects/node_modules/@typescript/lib-es5/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-es5/index.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/index.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/utils.d.ts 250 undefined Source file -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/projects/project1/typeroot1/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/index.d.ts 250 undefined Source file ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. File '/home/src/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== @@ -318,18 +265,7 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Type roots node_modules/@typescript/lib-webworker/index.d.ts @@ -392,7 +328,7 @@ export declare const x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -413,103 +349,74 @@ export declare const x = "type1"; "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": 1 + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -534,21 +441,13 @@ export declare const x = "type1"; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1908 + "size": 1692 } PolledWatches:: -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project1/node_modules: *new* {"pollingInterval":500} -/home/src/projects/project1/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: *new* - {"pollingInterval":2000} FsWatches:: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts: *new* @@ -676,91 +575,10 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/core.d.ts","/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -768,7 +586,7 @@ Loading module '@typescript/lib-dom' from 'node_modules' folder, target file typ Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'typescript__lib-dom' -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.d.ts' does not exist. @@ -795,10 +613,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file ../lib/lib.dom.d.ts Library 'lib.dom.d.ts' specified in compilerOptions @@ -830,7 +644,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -851,103 +665,74 @@ project1/typeroot1/sometype/index.d.ts "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": 1 + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -972,21 +757,13 @@ project1/typeroot1/sometype/index.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1884 + "size": 1668 } PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: *new* @@ -1118,63 +895,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/core.d.ts","/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. @@ -1219,7 +939,7 @@ export declare const xyz = 10; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1240,103 +960,74 @@ export declare const xyz = 10; "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -1361,7 +1052,7 @@ export declare const xyz = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1937 + "size": 1721 } @@ -1441,63 +1132,11 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/project1/core.d.ts 250 undefined Source file ../lib/lib.dom.d.ts Library 'lib.dom.d.ts' specified in compilerOptions @@ -1524,7 +1163,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1544,94 +1183,70 @@ project1/typeroot1/sometype/index.d.ts "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -1655,21 +1270,13 @@ project1/typeroot1/sometype/index.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1853 + "size": 1667 } PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: @@ -1788,58 +1395,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. @@ -1858,62 +1413,7 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file node_modules/@typescript/lib-webworker/index.d.ts @@ -1944,7 +1444,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1964,94 +1464,70 @@ project1/typeroot1/sometype/index.d.ts "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -2075,21 +1551,13 @@ project1/typeroot1/sometype/index.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1877 + "size": 1691 } PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts: *new* @@ -2226,57 +1694,9 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1","/home/src/projects/project1/typeroot2"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1,/home/src/projects/project1/typeroot2'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1, /home/src/projects/project1/typeroot2'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -2285,13 +1705,6 @@ File '/home/src/projects/project1/typeroot1/sometype/index.d.ts' exists - use it Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Type roots node_modules/@typescript/lib-webworker/index.d.ts @@ -2320,16 +1733,8 @@ project1/typeroot1/sometype/index.d.ts PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} /home/src/projects/project1/typeroot2: *new* {"pollingInterval":500} @@ -2456,57 +1861,9 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -2547,10 +1904,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Type roots @@ -2583,7 +1936,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2603,94 +1956,70 @@ project1/typeroot1/sometype/index.d.ts "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -2714,21 +2043,13 @@ project1/typeroot1/sometype/index.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1853 + "size": 1667 } PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/project1/typeroot2: @@ -2861,35 +2182,14 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'typescript__lib-webworker' -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.d.ts' does not exist. @@ -2916,50 +2216,11 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-webworker' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.dom.d.ts Library 'lib.dom.d.ts' specified in compilerOptions ../lib/lib.webworker.d.ts @@ -2988,7 +2249,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -3008,94 +2269,70 @@ project1/typeroot1/sometype/index.d.ts "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -3119,21 +2356,13 @@ project1/typeroot1/sometype/index.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1829 + "size": 1643 } PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: @@ -3272,55 +2501,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -3336,63 +2516,11 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file ../lib/lib.dom.d.ts Library 'lib.dom.d.ts' specified in compilerOptions @@ -3422,7 +2550,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.dom.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-scripthost/index.d.ts","../node_modules/@typescript/lib-es5/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -3442,94 +2570,70 @@ project1/typeroot1/sometype/index.d.ts "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-scripthost/index.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-es5/index.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -3553,21 +2657,13 @@ project1/typeroot1/sometype/index.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1853 + "size": 1667 } PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: diff --git a/tests/baselines/reference/tscWatch/libraryResolution/with-config.js b/tests/baselines/reference/tscWatch/libraryResolution/with-config.js index fdaf64491238c..d81774c258d2b 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/with-config.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/with-config.js @@ -144,23 +144,8 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/core.d.ts","/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/core.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/file.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/file2.ts 250 undefined Source file ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -192,10 +177,6 @@ DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/node_modules 1 Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -File '/home/src/lib/package.json' does not exist. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -223,10 +204,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-scripthost' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.scripthost.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -254,35 +231,14 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-es5' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.es5.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/index.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/utils.d.ts 250 undefined Source file -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. -File '/home/src/projects/project1/typeroot1/package.json' does not exist. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/index.d.ts 250 undefined Source file ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. File '/home/src/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== @@ -314,15 +270,7 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Type roots ../lib/lib.es5.d.ts @@ -385,7 +333,7 @@ export declare const x = "type1"; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -406,103 +354,74 @@ export declare const x = "type1"; "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": 1 + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -527,21 +446,13 @@ export declare const x = "type1"; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1812 + "size": 1596 } PolledWatches:: -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project1/node_modules: *new* {"pollingInterval":500} -/home/src/projects/project1/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: *new* - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: *new* @@ -682,54 +593,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/core.d.ts","/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. @@ -748,58 +611,7 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist. -File '/home/src/projects/node_modules/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file ../lib/lib.es5.d.ts @@ -832,7 +644,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-11532698187-export const x = \"type1\";","signature":"-5899226897-export declare const x = \"type1\";\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -853,103 +665,74 @@ project1/typeroot1/sometype/index.d.ts "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": 1 + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "version": "-11532698187-export const x = \"type1\";", - "signature": "-5899226897-export declare const x = \"type1\";\n", - "impliedFormat": "commonjs" + "signature": "-5899226897-export declare const x = \"type1\";\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -974,21 +757,13 @@ project1/typeroot1/sometype/index.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1836 + "size": 1620 } PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.es5.d.ts: @@ -1117,57 +892,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/core.d.ts","/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. @@ -1212,7 +936,7 @@ export declare const xyz = 10; //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15683237936-export const core = 10;","impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./core.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},"-15683237936-export const core = 10;",{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,10]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1233,103 +957,74 @@ export declare const xyz = 10; "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./core.d.ts": { - "original": { - "version": "-15683237936-export const core = 10;", - "impliedFormat": 1 - }, "version": "-15683237936-export const core = 10;", - "signature": "-15683237936-export const core = 10;", - "impliedFormat": "commonjs" + "signature": "-15683237936-export const core = 10;" }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -1354,7 +1049,7 @@ export declare const xyz = 10; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1889 + "size": 1673 } @@ -1434,57 +1129,11 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/project1/core.d.ts 250 undefined Source file ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' @@ -1511,7 +1160,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1531,94 +1180,70 @@ project1/typeroot1/sometype/index.d.ts "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -1642,21 +1267,13 @@ project1/typeroot1/sometype/index.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1805 + "size": 1619 } PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.es5.d.ts: @@ -1765,68 +1382,10 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -1834,7 +1393,7 @@ Loading module '@typescript/lib-dom' from 'node_modules' folder, target file typ Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'typescript__lib-dom' -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.d.ts' does not exist. @@ -1861,10 +1420,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' @@ -1894,7 +1449,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.dom.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1914,94 +1469,70 @@ project1/typeroot1/sometype/index.d.ts "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.dom.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -2025,21 +1556,13 @@ project1/typeroot1/sometype/index.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1781 + "size": 1595 } PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: *new* @@ -2179,48 +1702,9 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1","/home/src/projects/project1/typeroot2"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1,/home/src/projects/project1/typeroot2'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1, /home/src/projects/project1/typeroot2'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -2229,10 +1713,6 @@ File '/home/src/projects/project1/typeroot1/sometype/index.d.ts' exists - use it Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Type roots ../lib/lib.es5.d.ts @@ -2261,16 +1741,8 @@ project1/typeroot1/sometype/index.d.ts PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} /home/src/projects/project1/typeroot2: *new* {"pollingInterval":500} @@ -2395,48 +1867,9 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Resolving with primary search path '/home/src/projects/project1/typeroot1'. File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -2459,13 +1892,6 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Type roots @@ -2498,7 +1924,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2518,94 +1944,70 @@ project1/typeroot1/sometype/index.d.ts "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -2629,21 +2031,13 @@ project1/typeroot1/sometype/index.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1805 + "size": 1619 } PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/project1/typeroot2: @@ -2789,52 +2183,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -2850,60 +2198,11 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' @@ -2933,7 +2232,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-webworker/index.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-7827135529-interface WebworkerInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2953,94 +2252,70 @@ project1/typeroot1/sometype/index.d.ts "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-webworker/index.d.ts": { "original": { "version": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7827135529-interface WebworkerInterface { }", "signature": "-7827135529-interface WebworkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -3064,21 +2339,13 @@ project1/typeroot1/sometype/index.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1829 + "size": 1643 } PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.es5.d.ts: @@ -3204,39 +2471,14 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project1/file.ts","/home/src/projects/project1/file2.ts","/home/src/projects/project1/index.ts","/home/src/projects/project1/utils.d.ts","/home/src/projects/project1/typeroot1/sometype/index.d.ts"] options: {"composite":true,"typeRoots":["/home/src/projects/project1/typeroot1"],"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"watch":true,"project":"/home/src/projects/project1","explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/home/src/projects/project1/tsconfig.json"} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Scoped package detected, looking in 'typescript__lib-webworker' -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.d.ts' does not exist. @@ -3263,47 +2505,11 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-webworker' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../lib/lib.es5.d.ts Library referenced via 'es5' from file 'project1/file2.ts' Library 'lib.es5.d.ts' specified in compilerOptions @@ -3332,7 +2538,7 @@ project1/typeroot1/sometype/index.d.ts //// [/home/src/projects/project1/file2.js] file written with same contents //// [/home/src/projects/project1/index.js] file written with same contents //// [/home/src/projects/project1/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n","impliedFormat":1},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-","impliedFormat":1},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1},{"version":"-12476477079-export type TheNum = \"type1\";","impliedFormat":1}],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.es5.d.ts","../../lib/lib.webworker.d.ts","../../lib/lib.scripthost.d.ts","../node_modules/@typescript/lib-dom/index.d.ts","./file.ts","./file2.ts","./index.ts","./utils.d.ts","./typeroot1/sometype/index.d.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-3990185033-interface WebWorkerInterface { }","affectsGlobalScope":true},{"version":"-5403980302-interface ScriptHostInterface { }","affectsGlobalScope":true},{"version":"-8673759361-interface DOMInterface { }","affectsGlobalScope":true},{"version":"-16628394009-export const file = 10;","signature":"-9025507999-export declare const file = 10;\n"},{"version":"-11916614574-/// \n/// \n/// \n","signature":"5381-"},{"version":"-6136895998-export const x = \"type1\";export const xyz = 10;","signature":"-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n"},"-13729955264-export const y = 10;","-12476477079-export type TheNum = \"type1\";"],"root":[[5,9]],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project1/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -3352,94 +2558,70 @@ project1/typeroot1/sometype/index.d.ts "../../lib/lib.es5.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.webworker.d.ts": { "original": { "version": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3990185033-interface WebWorkerInterface { }", "signature": "-3990185033-interface WebWorkerInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../lib/lib.scripthost.d.ts": { "original": { "version": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-5403980302-interface ScriptHostInterface { }", "signature": "-5403980302-interface ScriptHostInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/@typescript/lib-dom/index.d.ts": { "original": { "version": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-8673759361-interface DOMInterface { }", "signature": "-8673759361-interface DOMInterface { }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./file.ts": { "original": { "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": 1 + "signature": "-9025507999-export declare const file = 10;\n" }, "version": "-16628394009-export const file = 10;", - "signature": "-9025507999-export declare const file = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9025507999-export declare const file = 10;\n" }, "./file2.ts": { "original": { "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": 1 + "signature": "5381-" }, "version": "-11916614574-/// \n/// \n/// \n", - "signature": "5381-", - "impliedFormat": "commonjs" + "signature": "5381-" }, "./index.ts": { "original": { "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": 1 + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "version": "-6136895998-export const x = \"type1\";export const xyz = 10;", - "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n", - "impliedFormat": "commonjs" + "signature": "-9988949802-export declare const x = \"type1\";\nexport declare const xyz = 10;\n" }, "./utils.d.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" }, "./typeroot1/sometype/index.d.ts": { - "original": { - "version": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": 1 - }, "version": "-12476477079-export type TheNum = \"type1\";", - "signature": "-12476477079-export type TheNum = \"type1\";", - "impliedFormat": "commonjs" + "signature": "-12476477079-export type TheNum = \"type1\";" } }, "root": [ @@ -3463,21 +2645,13 @@ project1/typeroot1/sometype/index.d.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1805 + "size": 1619 } PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.es5.d.ts: diff --git a/tests/baselines/reference/tscWatch/libraryResolution/without-config-with-redirection.js b/tests/baselines/reference/tscWatch/libraryResolution/without-config-with-redirection.js index 17cb61da6ed61..8c888d505b6c3 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/without-config-with-redirection.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/without-config-with-redirection.js @@ -182,35 +182,10 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: project1/core.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: project1/utils.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: project1/file.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: project1/index.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: project1/file2.ts 250 undefined Source file ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -227,13 +202,6 @@ Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webwork ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist. -File '/home/src/projects/node_modules/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -248,13 +216,6 @@ File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -269,13 +230,6 @@ File '/home/src/projects/node_modules/@typescript/lib-es5/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-es5/index.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -290,16 +244,7 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots node_modules/@typescript/lib-webworker/index.d.ts @@ -349,10 +294,6 @@ exports.x = "type1"; PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/package.json: *new* - {"pollingInterval":2000} FsWatches:: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts: *new* @@ -462,89 +403,15 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.d.ts' does not exist. @@ -570,10 +437,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file ../lib/lib.dom.d.ts Library 'lib.dom.d.ts' specified in compilerOptions @@ -605,10 +468,6 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: *new* @@ -722,56 +581,6 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. @@ -872,91 +681,11 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: project1/core.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: project1/core.d.ts 500 undefined Missing file error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: @@ -987,12 +716,8 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: *new* {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: @@ -1096,51 +821,6 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. @@ -1157,59 +837,6 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file error TS6053: File 'project1/core.d.ts' not found. @@ -1244,12 +871,8 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts: *new* @@ -1350,44 +973,12 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.d.ts' does not exist. @@ -1413,35 +1004,10 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-webworker' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: Root file specified for compilation @@ -1474,12 +1040,8 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.webworker.d.ts: *new* @@ -1593,51 +1155,6 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1651,63 +1168,10 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: @@ -1741,12 +1205,8 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts: diff --git a/tests/baselines/reference/tscWatch/libraryResolution/without-config.js b/tests/baselines/reference/tscWatch/libraryResolution/without-config.js index d989a64734dbf..ca28625b0b756 100644 --- a/tests/baselines/reference/tscWatch/libraryResolution/without-config.js +++ b/tests/baselines/reference/tscWatch/libraryResolution/without-config.js @@ -143,35 +143,10 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/projects/project1/package.json' does not exist. -File '/home/src/projects/package.json' does not exist. -File '/home/src/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: project1/core.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: project1/utils.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: project1/file.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: project1/index.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: project1/file2.ts 250 undefined Source file ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -198,10 +173,6 @@ Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-webworker' was not resolved. ======== DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -File '/home/src/lib/package.json' does not exist. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -226,10 +197,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-scripthost' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.scripthost.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -254,10 +221,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-es5' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.es5.d.ts 250 undefined Source file ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. @@ -282,13 +245,7 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Type roots ../lib/lib.es5.d.ts @@ -338,10 +295,6 @@ exports.x = "type1"; PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/package.json: *new* - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: *new* @@ -464,47 +417,6 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. @@ -521,50 +433,6 @@ File '/home/src/projects/node_modules/@typescript/lib-dom/index.tsx' does not ex File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist. -File '/home/src/projects/node_modules/package.json' does not exist. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file ../lib/lib.es5.d.ts @@ -597,10 +465,6 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.es5.d.ts: @@ -711,50 +575,6 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. @@ -855,79 +675,11 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: project1/core.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: project1/core.d.ts 500 undefined Missing file error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: @@ -958,12 +710,8 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: *new* {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.es5.d.ts: @@ -1057,71 +805,15 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-dom/index.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-dom.d.ts' does not exist. @@ -1147,10 +839,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-dom' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 250 undefined Source file error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: @@ -1184,12 +872,8 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: *new* @@ -1306,42 +990,6 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1355,54 +1003,10 @@ File '/home/src/projects/node_modules/@typescript/lib-webworker/index.tsx' does File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: @@ -1436,12 +1040,8 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: @@ -1542,56 +1142,12 @@ Synchronizing program CreatingProgramWith:: roots: ["project1/core.d.ts","project1/utils.d.ts","project1/file.ts","project1/index.ts","project1/file2.ts"] options: {"watch":true,"lib":["lib.es5.d.ts","lib.dom.d.ts"],"traceResolution":true,"explainFiles":true,"extendedDiagnostics":true} -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. -File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts 250 undefined Source file -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Explicitly specified module resolution kind: 'Node10'. Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. -File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.ts' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.tsx' does not exist. File '/home/src/projects/node_modules/@typescript/lib-webworker.d.ts' does not exist. @@ -1617,26 +1173,10 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@typescript/lib-webworker' was not resolved. ======== -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.webworker.d.ts 250 undefined Source file Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -File '/home/src/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. error TS6053: File 'project1/core.d.ts' not found. The file is in the program because: Root file specified for compilation @@ -1669,12 +1209,8 @@ project1/file2.ts PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/core.d.ts: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: diff --git a/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js b/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js index 41d935f00d2b7..5d505315f53cc 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/late-discovered-dependency-symlink.js @@ -62,7 +62,6 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -Found 'package.json' at '/workspace/packageC/package.json'. ======== Resolving module 'package-b' from '/workspace/packageC/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package-b' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -80,7 +79,6 @@ File '/workspace/packageC/node_modules/package-b/index.tsx' does not exist. File '/workspace/packageC/node_modules/package-b/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/workspace/packageC/node_modules/package-b/index.d.ts', result '/workspace/packageB/index.d.ts'. ======== Module name 'package-b' was successfully resolved to '/workspace/packageB/index.d.ts'. ======== -Found 'package.json' at '/workspace/packageB/package.json'. ======== Resolving module 'package-a' from '/workspace/packageB/index.d.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package-a' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -94,12 +92,6 @@ File '/workspace/packageB/node_modules/package-a/index.tsx' does not exist. File '/workspace/packageB/node_modules/package-a/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/workspace/packageB/node_modules/package-a/index.d.ts', result '/workspace/packageA/index.d.ts'. ======== Module name 'package-a' was successfully resolved to '/workspace/packageA/index.d.ts'. ======== -File '/workspace/packageA/package.json' does not exist. -File '/workspace/package.json' does not exist. -File '/package.json' does not exist. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'package-b' from '/workspace/packageC/package.json'. ======== Resolution for module 'package-b' was found in cache from location '/workspace/packageC'. ======== Module name 'package-b' was successfully resolved to '/workspace/packageB/index.d.ts'. ======== @@ -209,14 +201,6 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/workspace/packageA/package.json' does not exist according to earlier cached lookups. -File '/workspace/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/workspace/packageB/package.json' exists according to earlier cached lookups. -File '/workspace/packageC/package.json' exists according to earlier cached lookups. Reusing resolution of module 'package-b' from '/workspace/packageC/index.ts' of old program, it was successfully resolved to '/workspace/packageB/index.d.ts'. ======== Resolving module 'package-b' from '/workspace/packageC/package.json'. ======== Module resolution kind is not specified, using 'Node10'. diff --git a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js index 10a3baf80cfa1..be0f58a488751 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js @@ -54,7 +54,6 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -Found 'package.json' at '/user/username/projects/myproject/packages/pkg1/package.json'. ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -76,8 +75,6 @@ File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exis 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== -File '/user/username/projects/myproject/packages/pkg2/build/package.json' does not exist. -Found 'package.json' at '/user/username/projects/myproject/packages/pkg2/package.json'. ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, Declaration. @@ -86,11 +83,6 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not e File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exists - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.ts'. ======== -File '/user/username/projects/myproject/packages/pkg2/build/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -114,8 +106,6 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/packages/pkg1/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/pkg2/build/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -124,8 +114,6 @@ FsWatches:: {} /user/username/projects/myproject/packages/pkg1/index.ts: *new* {} -/user/username/projects/myproject/packages/pkg1/package.json: *new* - {} /user/username/projects/myproject/packages/pkg1/tsconfig.json: *new* {} /user/username/projects/myproject/packages/pkg2/build/const.d.ts: *new* @@ -208,15 +196,6 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/packages/pkg2/build/package.json' does not exist according to earlier cached lookups. -Found 'package.json' at '/user/username/projects/myproject/packages/pkg2/package.json'. -File '/user/username/projects/myproject/packages/pkg2/build/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. -File '/user/username/projects/myproject/packages/pkg1/package.json' exists according to earlier cached lookups. -File '/user/username/projects/myproject/packages/pkg1/package.json' exists according to earlier cached lookups. ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -238,11 +217,6 @@ File '/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts' exis 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/other.d.ts'. ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/other.d.ts' with Package ID 'pkg2/build/other.d.ts@1.0.0'. ======== -File '/user/username/projects/myproject/packages/pkg2/build/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. packages/pkg1/index.ts:1:15 - error TS2305: Module '"pkg2"' has no exported member 'TheNum'. 1 import type { TheNum } from 'pkg2' @@ -265,8 +239,6 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/packages/pkg1/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/packages/pkg2/build/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -275,8 +247,6 @@ FsWatches:: {} /user/username/projects/myproject/packages/pkg1/index.ts: {} -/user/username/projects/myproject/packages/pkg1/package.json: - {} /user/username/projects/myproject/packages/pkg1/tsconfig.json: {} /user/username/projects/myproject/packages/pkg2/build/other.d.ts: *new* @@ -361,13 +331,6 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/packages/pkg2/build/package.json' does not exist according to earlier cached lookups. -Found 'package.json' at '/user/username/projects/myproject/packages/pkg2/package.json'. -File '/user/username/projects/myproject/packages/pkg1/package.json' exists according to earlier cached lookups. -File '/user/username/projects/myproject/packages/pkg1/package.json' exists according to earlier cached lookups. ======== Resolving module 'pkg2' from '/user/username/projects/myproject/packages/pkg1/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'pkg2' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -389,8 +352,6 @@ File '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts' exis 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/index.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/index.d.ts' with Package ID 'pkg2/build/index.d.ts@1.0.0'. ======== -File '/user/username/projects/myproject/packages/pkg2/build/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. ======== Resolving module './const.js' from '/user/username/projects/myproject/packages/pkg2/build/index.d.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/packages/pkg2/build/const.js', target file types: TypeScript, Declaration. @@ -399,11 +360,6 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not e File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exists - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.ts'. ======== -File '/user/username/projects/myproject/packages/pkg2/build/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/packages/pkg2/package.json' exists according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -421,8 +377,6 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/packages/pkg1/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/packages/pkg2/build/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -431,8 +385,6 @@ FsWatches:: {} /user/username/projects/myproject/packages/pkg1/index.ts: {} -/user/username/projects/myproject/packages/pkg1/package.json: - {} /user/username/projects/myproject/packages/pkg1/tsconfig.json: {} /user/username/projects/myproject/packages/pkg2/build/const.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-declaration-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-declaration-with-incremental.js index 8e8efdd68bff2..8bc7b535fc998 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-declaration-with-incremental.js @@ -63,18 +63,8 @@ Output:: PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -194,7 +184,7 @@ declare module "src/other" { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -206,38 +196,10 @@ declare module "src/other" { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": 1 - }, - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -260,7 +222,7 @@ declare module "src/other" { } }, "version": "FakeTSVersion", - "size": 1059 + "size": 939 } @@ -410,7 +372,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.d.ts] file written with same contents //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -422,38 +384,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": 1 - }, - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -476,7 +410,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1050 + "size": 930 } diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-declaration.js b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-declaration.js index 05e1522a00a60..b1d2cd0b9f16a 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-declaration.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-declaration.js @@ -62,18 +62,8 @@ Output:: PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-incremental.js index 7a3a3c35e07a0..c0dae1e0df620 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile-with-incremental.js @@ -62,18 +62,8 @@ Output:: PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -180,7 +170,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -192,38 +182,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": 1 - }, - "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -245,7 +207,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1040 + "size": 920 } @@ -392,7 +354,7 @@ define("src/other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/dev-build.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./noemitonerror/shared/types/db.ts","./noemitonerror/src/main.ts","./noemitonerror/src/other.ts"],"fileInfos":["3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","-5014788164-export interface A {\n name: string;\n}\n","-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"module":2,"noEmitOnError":true,"outFile":"./dev-build.js"}},"version":"FakeTSVersion"} //// [/user/username/projects/dev-build.tsbuildinfo.readable.baseline.txt] { @@ -404,38 +366,10 @@ define("src/other", ["require", "exports"], function (require, exports) { "./noemitonerror/src/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": 1 - }, - "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "impliedFormat": "commonjs" - }, - "./noemitonerror/shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/main.ts": { - "original": { - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": 1 - }, - "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "impliedFormat": "commonjs" - }, - "./noemitonerror/src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "./noemitonerror/shared/types/db.ts": "-5014788164-export interface A {\n name: string;\n}\n", + "./noemitonerror/src/main.ts": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", + "./noemitonerror/src/other.ts": "9084524823-console.log(\"hi\");\nexport { }\n" }, "root": [ [ @@ -457,7 +391,7 @@ define("src/other", ["require", "exports"], function (require, exports) { } }, "version": "FakeTSVersion", - "size": 1031 + "size": 911 } diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile.js b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile.js index b97e86b360a4d..183a8ab8e3613 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-outFile.js @@ -61,18 +61,8 @@ Output:: PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-declaration-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-declaration-with-incremental.js index 0d551bef2e464..88504ce9587ae 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-declaration-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-declaration-with-incremental.js @@ -59,7 +59,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -79,40 +79,23 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { - "original": { - "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": 1 - }, "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "signature": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "signature": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -154,25 +137,15 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1108 + "size": 1000 } PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -268,7 +241,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -288,42 +261,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -351,7 +313,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1150 + "size": 1066 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -447,7 +409,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -467,42 +429,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -550,7 +501,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1318 + "size": 1234 } @@ -625,7 +576,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","signature":"-3531856636-export {};\n"}],"root":[[2,4]],"options":{"declaration":true,"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -645,42 +596,31 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { "original": { "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -708,7 +648,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1141 + "size": 1057 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-declaration.js b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-declaration.js index f23761396274f..eb78ea36d043e 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-declaration.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-declaration.js @@ -61,18 +61,8 @@ Output:: PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-incremental.js index 2484f14225a3c..e5a4b05ed9725 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError-with-incremental.js @@ -58,7 +58,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n","-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n","9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"affectedFilesPendingEmit":[2,3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -78,40 +78,23 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { - "original": { - "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": 1 - }, "version": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "signature": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n", - "impliedFormat": "commonjs" + "signature": "-2574607723-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n;\n" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -152,25 +135,15 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1089 + "size": 981 } PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -265,7 +238,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -285,41 +258,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-2574605496-import { A } from \"../shared/types/db\";\nconst a = {\n lastName: 'sdsd'\n};", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -346,7 +305,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1092 + "size": 996 } //// [/user/username/projects/noEmitOnError/dev-build/shared/types/db.js] @@ -427,7 +386,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[3,[{"start":46,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[3]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -447,41 +406,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-11111345725-import { A } from \"../shared/types/db\";\nconst a: string = 10;", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -528,7 +473,7 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1260 + "size": 1164 } @@ -602,7 +547,7 @@ Output:: //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5014788164-export interface A {\n name: string;\n}\n","impliedFormat":1},{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"9084524823-console.log(\"hi\");\nexport { }\n","impliedFormat":1}],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../shared/types/db.ts","../src/main.ts","../src/other.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-5014788164-export interface A {\n name: string;\n}\n",{"version":"-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";","signature":"-3531856636-export {};\n"},"9084524823-console.log(\"hi\");\nexport { }\n"],"root":[[2,4]],"options":{"noEmitOnError":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]]},"version":"FakeTSVersion"} //// [/user/username/projects/noEmitOnError/dev-build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -622,41 +567,27 @@ Output:: "../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../shared/types/db.ts": { - "original": { - "version": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": 1 - }, "version": "-5014788164-export interface A {\n name: string;\n}\n", - "signature": "-5014788164-export interface A {\n name: string;\n}\n", - "impliedFormat": "commonjs" + "signature": "-5014788164-export interface A {\n name: string;\n}\n" }, "../src/main.ts": { "original": { "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-8373351622-import { A } from \"../shared/types/db\";\nconst a: string = \"hello\";", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../src/other.ts": { - "original": { - "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": 1 - }, "version": "9084524823-console.log(\"hi\");\nexport { }\n", - "signature": "9084524823-console.log(\"hi\");\nexport { }\n", - "impliedFormat": "commonjs" + "signature": "9084524823-console.log(\"hi\");\nexport { }\n" } }, "root": [ @@ -683,7 +614,7 @@ Output:: } }, "version": "FakeTSVersion", - "size": 1083 + "size": 987 } //// [/user/username/projects/noEmitOnError/dev-build/src/main.js] diff --git a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError.js b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError.js index 5b5c161b01df1..16ee93653c6aa 100644 --- a/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/noEmitOnError/noEmitOnError.js @@ -60,18 +60,8 @@ Output:: PolledWatches:: /user/username/projects/noEmitOnError/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/noEmitOnError/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/shared/types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/noEmitOnError/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js b/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js index ff3ecc44f929f..515e5ea615a92 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js +++ b/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js @@ -39,12 +39,6 @@ T.bar(); -PolledWatches:: -/users/username/projects/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: *new* {} @@ -117,12 +111,6 @@ function bar() { } -PolledWatches:: -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js index 96a9192a1f4b6..e3ceba3c1e7b3 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js @@ -45,16 +45,10 @@ exports.x = 10; PolledWatches:: /user/username/projects/myproject/Project/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/Project/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -125,16 +119,10 @@ exports.y = 10; PolledWatches:: /user/username/projects/myproject/Project/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/Project/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js b/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js index 00736c34d38e3..4b11b5f19927e 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js +++ b/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js @@ -44,8 +44,6 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/f1.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/f2.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -79,7 +77,7 @@ export declare const y = 1; //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./f1.ts","./f2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10906998252-export const x = 1","signature":"-7495133367-export declare const x = 1;\n","impliedFormat":1},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./f2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./f1.ts","./f2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10906998252-export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./f2.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -93,33 +91,27 @@ export declare const y = 1; "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./f1.ts": { "original": { "version": "-10906998252-export const x = 1", - "signature": "-7495133367-export declare const x = 1;\n", - "impliedFormat": 1 + "signature": "-7495133367-export declare const x = 1;\n" }, "version": "-10906998252-export const x = 1", - "signature": "-7495133367-export declare const x = 1;\n", - "impliedFormat": "commonjs" + "signature": "-7495133367-export declare const x = 1;\n" }, "./f2.ts": { "original": { "version": "-10905812331-export const y = 1", - "signature": "-6203665398-export declare const y = 1;\n", - "impliedFormat": 1 + "signature": "-6203665398-export declare const y = 1;\n" }, "version": "-10905812331-export const y = 1", - "signature": "-6203665398-export declare const y = 1;\n", - "impliedFormat": "commonjs" + "signature": "-6203665398-export declare const y = 1;\n" } }, "root": [ @@ -138,19 +130,15 @@ export declare const y = 1; "latestChangedDtsFile": "./f2.d.ts" }, "version": "FakeTSVersion", - "size": 850 + "size": 796 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -235,7 +223,7 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./f1.ts","./f2.ts","./new-file.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10906998252-export const x = 1","signature":"-7495133367-export declare const x = 1;\n","impliedFormat":1},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n","impliedFormat":1},{"version":"-11960320495-export const z = 1;","signature":"-9207164725-export declare const z = 1;\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true},"latestChangedDtsFile":"./new-file.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./f1.ts","./f2.ts","./new-file.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10906998252-export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"},{"version":"-11960320495-export const z = 1;","signature":"-9207164725-export declare const z = 1;\n"}],"root":[[2,4]],"options":{"composite":true},"latestChangedDtsFile":"./new-file.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -250,43 +238,35 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./f1.ts": { "original": { "version": "-10906998252-export const x = 1", - "signature": "-7495133367-export declare const x = 1;\n", - "impliedFormat": 1 + "signature": "-7495133367-export declare const x = 1;\n" }, "version": "-10906998252-export const x = 1", - "signature": "-7495133367-export declare const x = 1;\n", - "impliedFormat": "commonjs" + "signature": "-7495133367-export declare const x = 1;\n" }, "./f2.ts": { "original": { "version": "-10905812331-export const y = 1", - "signature": "-6203665398-export declare const y = 1;\n", - "impliedFormat": 1 + "signature": "-6203665398-export declare const y = 1;\n" }, "version": "-10905812331-export const y = 1", - "signature": "-6203665398-export declare const y = 1;\n", - "impliedFormat": "commonjs" + "signature": "-6203665398-export declare const y = 1;\n" }, "./new-file.ts": { "original": { "version": "-11960320495-export const z = 1;", - "signature": "-9207164725-export declare const z = 1;\n", - "impliedFormat": 1 + "signature": "-9207164725-export declare const z = 1;\n" }, "version": "-11960320495-export const z = 1;", - "signature": "-9207164725-export declare const z = 1;\n", - "impliedFormat": "commonjs" + "signature": "-9207164725-export declare const z = 1;\n" } }, "root": [ @@ -308,7 +288,7 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec "latestChangedDtsFile": "./new-file.d.ts" }, "version": "FakeTSVersion", - "size": 995 + "size": 923 } //// [/user/username/projects/myproject/new-file.js] @@ -326,12 +306,8 @@ export declare const z = 1; PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -410,7 +386,7 @@ CreatingProgramWith:: //// [/user/username/projects/myproject/f1.js] file written with same contents //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./new-file.ts","./f1.ts","./f2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11960320495-export const z = 1;","signature":"-9207164725-export declare const z = 1;\n","impliedFormat":1},{"version":"1363236232-import { z } from \"./new-file\";export const x = 1","signature":"-7495133367-export declare const x = 1;\n","impliedFormat":1},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n","impliedFormat":1}],"root":[[2,4]],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./new-file.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./new-file.ts","./f1.ts","./f2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-11960320495-export const z = 1;","signature":"-9207164725-export declare const z = 1;\n"},{"version":"1363236232-import { z } from \"./new-file\";export const x = 1","signature":"-7495133367-export declare const x = 1;\n"},{"version":"-10905812331-export const y = 1","signature":"-6203665398-export declare const y = 1;\n"}],"root":[[2,4]],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./new-file.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -430,43 +406,35 @@ CreatingProgramWith:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./new-file.ts": { "original": { "version": "-11960320495-export const z = 1;", - "signature": "-9207164725-export declare const z = 1;\n", - "impliedFormat": 1 + "signature": "-9207164725-export declare const z = 1;\n" }, "version": "-11960320495-export const z = 1;", - "signature": "-9207164725-export declare const z = 1;\n", - "impliedFormat": "commonjs" + "signature": "-9207164725-export declare const z = 1;\n" }, "./f1.ts": { "original": { "version": "1363236232-import { z } from \"./new-file\";export const x = 1", - "signature": "-7495133367-export declare const x = 1;\n", - "impliedFormat": 1 + "signature": "-7495133367-export declare const x = 1;\n" }, "version": "1363236232-import { z } from \"./new-file\";export const x = 1", - "signature": "-7495133367-export declare const x = 1;\n", - "impliedFormat": "commonjs" + "signature": "-7495133367-export declare const x = 1;\n" }, "./f2.ts": { "original": { "version": "-10905812331-export const y = 1", - "signature": "-6203665398-export declare const y = 1;\n", - "impliedFormat": 1 + "signature": "-6203665398-export declare const y = 1;\n" }, "version": "-10905812331-export const y = 1", - "signature": "-6203665398-export declare const y = 1;\n", - "impliedFormat": "commonjs" + "signature": "-6203665398-export declare const y = 1;\n" } }, "root": [ @@ -493,7 +461,7 @@ CreatingProgramWith:: "latestChangedDtsFile": "./new-file.d.ts" }, "version": "FakeTSVersion", - "size": 1070 + "size": 998 } diff --git a/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js index b91a56d95b12f..5cdf9ff30e3bd 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js @@ -50,10 +50,6 @@ console.log(module_1.f); -PolledWatches:: -/a/b/c/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/b/c/app.ts: *new* {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js index 1b7cc0e0d476b..84bc364061564 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js +++ b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js @@ -51,12 +51,8 @@ T.bar(); PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -141,14 +137,10 @@ function bar() { } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -249,12 +241,8 @@ function bar() { } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile: diff --git a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js index 01d31abe1331a..5a7097c83b07d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js +++ b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js @@ -45,12 +45,6 @@ T.bar(); -PolledWatches:: -/users/username/projects/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: *new* {} @@ -114,12 +108,6 @@ Output:: //// [/users/username/projects/project/file1.js] file written with same contents -PolledWatches:: -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: {} @@ -201,12 +189,6 @@ function bar() { } -PolledWatches:: -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js index 20e72b92c40bd..4ca342b502dc0 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js +++ b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js @@ -58,12 +58,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js index 71c58478d2981..4fe6e5053bfa2 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js +++ b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js @@ -55,12 +55,8 @@ var b = a_1.a; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js index 8f624d61f0e60..9145b792faa99 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js @@ -68,14 +68,8 @@ export declare const d = 30; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -172,14 +166,8 @@ export declare const y = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js index fb77d9e6f1da4..32c4426478feb 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js @@ -69,14 +69,8 @@ export declare const d = 30; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -174,14 +168,8 @@ export declare const y = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js index 66fa3f8f2700d..5742d21be35a5 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js @@ -59,14 +59,8 @@ define(["require", "exports"], function (require, exports) { PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -158,14 +152,8 @@ define(["require", "exports"], function (require, exports) { PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js index 53a171222e210..14653f6b0043c 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js @@ -56,14 +56,8 @@ define("src/file2", ["require", "exports"], function (require, exports) { PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -161,14 +155,8 @@ define("src/file3", ["require", "exports"], function (require, exports) { PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js index 783b54f07476c..1e881424540b3 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js @@ -67,14 +67,8 @@ export declare const d = 30; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -170,14 +164,8 @@ export declare const y = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js index 88b13f4ca03a6..013c1bb949db3 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js @@ -58,14 +58,8 @@ define(["require", "exports"], function (require, exports) { PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -156,14 +150,8 @@ define(["require", "exports"], function (require, exports) { PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js index 356bce1af4071..f161151883369 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js @@ -46,10 +46,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -PolledWatches:: -/a/b/node_modules/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/b/file1.ts: *new* {} @@ -122,10 +118,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -PolledWatches *deleted*:: -/a/b/node_modules/package.json: - {"pollingInterval":2000} - FsWatches:: /a/b/file1.ts: {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-verbatimModuleSyntax-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-verbatimModuleSyntax-changes.js index defeafd32da17..dd46d133f7f11 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-verbatimModuleSyntax-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-verbatimModuleSyntax-changes.js @@ -58,12 +58,8 @@ function f(p) { return p; } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js index 985942dfc189b..37560c479d96b 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js @@ -46,12 +46,8 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js index c1d052d42d5de..0bfde1ed78e8f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-default-options.js @@ -54,12 +54,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js index 15213781cefa8..14b2f639876ae 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipDefaultLibCheck.js @@ -49,12 +49,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js index c258d4061b10c..841d6645fd059 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-in-lib-file/when-module-file-with-global-definitions-changes/with-skipLibCheck.js @@ -49,12 +49,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js index 1a7b2723d960a..15feaa6a74d1f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js @@ -52,12 +52,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -131,12 +127,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-changing-`allowImportingTsExtensions`-of-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/when-changing-`allowImportingTsExtensions`-of-config-file.js index cb72c9580b96d..f3305c75856fc 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-changing-`allowImportingTsExtensions`-of-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-changing-`allowImportingTsExtensions`-of-config-file.js @@ -41,8 +41,6 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -62,12 +60,8 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mypr PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-changing-checkJs-of-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/when-changing-checkJs-of-config-file.js index 85790cbdcfdce..454ef09b31212 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-changing-checkJs-of-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-changing-checkJs-of-config-file.js @@ -43,8 +43,6 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mypr DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -68,12 +66,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -164,12 +158,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js b/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js index f2bbb1a9f8cf4..7ecae3e1b7115 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js @@ -50,11 +50,6 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client/folder1/module1.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client/linktofolder2/module2.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client/folder1/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder2/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -86,20 +81,10 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: -/user/username/projects/myproject/client/folder1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/client/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/folder2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -196,20 +181,10 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: -/user/username/projects/myproject/client/folder1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/client/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/folder2/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js index 9dcb12b52fad8..20e45403babf4 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js @@ -93,7 +93,7 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[3],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,36 +107,30 @@ declare class class2 { "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "original": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -152,7 +146,7 @@ declare class class2 { "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 881 + "size": 827 } @@ -388,7 +382,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -403,47 +397,39 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "original": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class3.d.ts": { "original": { "version": "-3469165364-declare class class3 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469165364-declare class class3 {}", "signature": "-3469165364-declare class class3 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -459,7 +445,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 1001 + "size": 929 } @@ -595,7 +581,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[2,3],"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[2,3],"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -609,36 +595,30 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "original": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -664,7 +644,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 916 + "size": 862 } @@ -802,7 +782,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -817,47 +797,39 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "original": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class3.d.ts": { "original": { "version": "-3469165364-declare class class3 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469165364-declare class class3 {}", "signature": "-3469165364-declare class class3 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -873,7 +845,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 1001 + "size": 929 } diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index ba469a56c52af..0f49fb227cbf3 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -127,7 +127,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -142,44 +142,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -204,7 +196,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } //// [/user/username/projects/sample1/logic/index.js.map] @@ -230,7 +222,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -251,41 +243,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -309,7 +287,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } //// [/user/username/projects/sample1/tests/index.js] @@ -330,7 +308,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -356,50 +334,31 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 - }, "version": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -426,7 +385,7 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1623 + "size": 1497 } @@ -435,12 +394,6 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -File '/user/username/projects/sample1/tests/package.json' does not exist. -File '/user/username/projects/sample1/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '../core/index' from '/user/username/projects/sample1/tests/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/index', target file types: TypeScript, Declaration. @@ -456,31 +409,10 @@ Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/anotherModule', target file types: TypeScript, Declaration. File '/user/username/projects/sample1/core/anotherModule.ts' exists - use it as a name resolution result. ======== Module name '../core/anotherModule' was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ======== -File '/user/username/projects/sample1/core/package.json' does not exist. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/logic/package.json' does not exist. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '../core/anotherModule' from '/user/username/projects/sample1/logic/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/sample1/logic/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '../core/anotherModule' was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ======== -File '/user/username/projects/sample1/core/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' core/index.d.ts @@ -503,20 +435,10 @@ tests/index.ts PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} /user/username/projects/sample1/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} /user/username/projects/sample1/tests/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/sample1/tests/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -620,7 +542,7 @@ function foo() { } //# sourceMappingURL=index.js.map //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-6497638357-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-6497638357-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -641,41 +563,27 @@ function foo() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-6497638357-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-6497638357-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -699,7 +607,7 @@ function foo() { } "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1473 + "size": 1377 } @@ -745,7 +653,7 @@ export declare function gfoo(): void; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -766,41 +674,27 @@ export declare function gfoo(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }", - "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n", - "impliedFormat": 1 + "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n" }, "version": "-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }", - "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n" } }, "root": [ @@ -824,7 +718,7 @@ export declare function gfoo(): void; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1539 + "size": 1443 } @@ -839,33 +733,6 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/core/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/core/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/logic/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/tests/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../core/anotherModule' from '/user/username/projects/sample1/logic/index.ts' of old program, it was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ../../../../a/lib/lib.d.ts Default library for target 'es5' @@ -887,7 +754,7 @@ tests/index.ts //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -913,50 +780,31 @@ tests/index.ts "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/index.d.ts": { - "original": { - "version": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n", - "impliedFormat": 1 - }, "version": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n", - "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -983,7 +831,7 @@ tests/index.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1663 + "size": 1537 } @@ -1074,7 +922,7 @@ function gfoo() { } //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./decls"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./decls/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }","signature":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"declarationDir":"./decls"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./decls/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1095,41 +943,27 @@ function gfoo() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }", - "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n", - "impliedFormat": 1 + "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n" }, "version": "-1796860121-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\nfunction foo() { }export function gfoo() { }", - "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n" } }, "root": [ @@ -1152,7 +986,7 @@ function gfoo() { } "latestChangedDtsFile": "./decls/index.d.ts" }, "version": "FakeTSVersion", - "size": 1528 + "size": 1432 } //// [/user/username/projects/sample1/logic/decls/index.d.ts] @@ -1174,41 +1008,13 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/sample1/tests/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../core/index' from '/user/username/projects/sample1/tests/index.ts' of old program, it was successfully resolved to '/user/username/projects/sample1/core/index.ts'. Reusing resolution of module '../logic/index' from '/user/username/projects/sample1/tests/index.ts' of old program, it was successfully resolved to '/user/username/projects/sample1/logic/index.ts'. Reusing resolution of module '../core/anotherModule' from '/user/username/projects/sample1/tests/index.ts' of old program, it was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. -File '/user/username/projects/sample1/core/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/logic/decls/package.json' does not exist. -File '/user/username/projects/sample1/logic/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '../core/anotherModule' from '/user/username/projects/sample1/logic/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/sample1/logic/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '../core/anotherModule' was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ======== -File '/user/username/projects/sample1/core/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' core/index.d.ts @@ -1229,7 +1035,7 @@ tests/index.ts //// [/user/username/projects/sample1/tests/index.js] file written with same contents //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n","impliedFormat":1},{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","../logic/decls/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n","-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n",{"version":"-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[5],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true},"fileIdsList":[[3],[2,3,4]],"referencedMap":[[4,1],[5,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/tests/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1255,50 +1061,31 @@ tests/index.ts "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "../logic/decls/index.d.ts": { - "original": { - "version": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n", - "impliedFormat": 1 - }, "version": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n", - "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-11367551051-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\nexport declare function gfoo(): void;\n" }, "./index.ts": { "original": { "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-11950676699-import * as c from '../core/index';\nimport * as logic from '../logic/index';\n\nc.leftPad(\"\", 10);\nlogic.getSecondsInDay();\n\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "2702201019-import * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -1325,29 +1112,17 @@ tests/index.ts "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1669 + "size": 1543 } PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: - {"pollingInterval":2000} -/user/username/projects/sample1/logic/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: - {"pollingInterval":2000} /user/username/projects/sample1/node_modules/@types: {"pollingInterval":500} -/user/username/projects/sample1/package.json: - {"pollingInterval":2000} /user/username/projects/sample1/tests/node_modules/@types: {"pollingInterval":500} -/user/username/projects/sample1/tests/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index 8423bf18dcbd9..912ed4c1e210d 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -91,7 +91,7 @@ export declare class A { //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,23 +104,19 @@ export declare class A { "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-7264743946-export class A {}", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 + "signature": "-8728835846-export declare class A {\n}\n" }, "version": "-7264743946-export class A {}", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" } }, "root": [ @@ -135,7 +131,7 @@ export declare class A { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 725 + "size": 689 } //// [/user/username/projects/transitiveReferences/b/index.js] @@ -152,7 +148,7 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8728835846-export declare class A {\n}\n","impliedFormat":1},{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -171,32 +167,23 @@ export declare const b: A; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../a/index.d.ts": { - "original": { - "version": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 - }, "version": "-8728835846-export declare class A {\n}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" }, "./index.ts": { "original": { "version": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();", - "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n", - "impliedFormat": 1 + "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n" }, "version": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();", - "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n", - "impliedFormat": "commonjs" + "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n" } }, "root": [ @@ -216,7 +203,7 @@ export declare const b: A; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 924 + "size": 858 } //// [/user/username/projects/transitiveReferences/c/index.js] @@ -234,12 +221,6 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist. -File '/user/username/projects/transitiveReferences/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. @@ -260,31 +241,10 @@ File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a/index.d.ts @@ -306,22 +266,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -438,7 +386,7 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8728835846-export declare class A {\n}\n","impliedFormat":1},{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -457,32 +405,23 @@ export declare function gfoo(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../a/index.d.ts": { - "original": { - "version": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 - }, "version": "-8728835846-export declare class A {\n}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" }, "./index.ts": { "original": { "version": "1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }", - "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n", - "impliedFormat": 1 + "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n" }, "version": "1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }", - "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n", - "impliedFormat": "commonjs" + "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n" } }, "root": [ @@ -502,7 +441,7 @@ export declare function gfoo(): void; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 987 + "size": 921 } @@ -517,33 +456,6 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ../../../../a/lib/lib.d.ts Default library for target 'es5' @@ -659,12 +571,6 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. @@ -685,31 +591,10 @@ File '/user/username/projects/transitiveReferences/nrefs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/nrefs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/nrefs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/nrefs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/nrefs/package.json' does not exist. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a/index.d.ts @@ -731,26 +616,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/a/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/nrefs/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -879,12 +748,6 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. @@ -905,31 +768,10 @@ File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a/index.d.ts @@ -951,26 +793,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/a/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: *new* - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/transitiveReferences/nrefs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1100,39 +926,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/nrefs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/nrefs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' nrefs/a.d.ts @@ -1152,26 +951,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/nrefs/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/transitiveReferences/a/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1301,33 +1084,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' refs/a.d.ts @@ -1346,24 +1108,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/transitiveReferences/nrefs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1469,20 +1217,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. @@ -1494,15 +1230,6 @@ File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. c/tsconfig.json:11:5 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 11 { @@ -1531,20 +1258,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1670,39 +1387,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a/index.d.ts @@ -1724,22 +1414,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1855,36 +1533,9 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. b/tsconfig.json:12:5 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 12 { @@ -1914,22 +1565,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/a/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2051,36 +1690,9 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a/index.d.ts @@ -2101,22 +1713,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/a/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 5196a0571d2f8..2fd6e714bf7d2 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -100,7 +100,7 @@ export declare class A { //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-7264743946-export class A {}","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/a/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -113,23 +113,19 @@ export declare class A { "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./index.ts": { "original": { "version": "-7264743946-export class A {}", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 + "signature": "-8728835846-export declare class A {\n}\n" }, "version": "-7264743946-export class A {}", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" } }, "root": [ @@ -144,7 +140,7 @@ export declare class A { "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 725 + "size": 689 } //// [/user/username/projects/transitiveReferences/b/index.js] @@ -161,7 +157,7 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8728835846-export declare class A {\n}\n","impliedFormat":1},{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-2591036212-import {A} from '@ref/a';\nexport const b = new A();","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export declare const b: A; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../a/index.d.ts": { - "original": { - "version": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 - }, "version": "-8728835846-export declare class A {\n}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" }, "./index.ts": { "original": { "version": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();", - "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n", - "impliedFormat": 1 + "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n" }, "version": "-2591036212-import {A} from '@ref/a';\nexport const b = new A();", - "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n", - "impliedFormat": "commonjs" + "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n" } }, "root": [ @@ -225,7 +212,7 @@ export declare const b: A; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 924 + "size": 858 } //// [/user/username/projects/transitiveReferences/c/index.js] @@ -243,12 +230,6 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist. -File '/user/username/projects/transitiveReferences/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. @@ -269,31 +250,10 @@ File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a/index.d.ts @@ -315,22 +275,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -445,7 +393,7 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8728835846-export declare class A {\n}\n","impliedFormat":1},{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../a/index.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/b/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -464,32 +412,23 @@ export declare function gfoo(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../a/index.d.ts": { - "original": { - "version": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 - }, "version": "-8728835846-export declare class A {\n}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" }, "./index.ts": { "original": { "version": "1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }", - "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n", - "impliedFormat": 1 + "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n" }, "version": "1841609480-import {A} from '@ref/a';\nexport const b = new A();export function gfoo() { }", - "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n", - "impliedFormat": "commonjs" + "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n" } }, "root": [ @@ -509,7 +448,7 @@ export declare function gfoo(): void; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 987 + "size": 921 } @@ -524,33 +463,6 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ../../../../a/lib/lib.d.ts Default library for target 'es5' @@ -669,12 +581,6 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. @@ -695,31 +601,10 @@ File '/user/username/projects/transitiveReferences/nrefs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/nrefs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/nrefs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/nrefs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/nrefs/package.json' does not exist. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a/index.d.ts @@ -741,26 +626,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/a/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/nrefs/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -890,12 +759,6 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '../b' from '/user/username/projects/transitiveReferences/c/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. @@ -916,31 +779,10 @@ File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a/index.d.ts @@ -962,26 +804,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/a/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: *new* - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/transitiveReferences/nrefs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1112,39 +938,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/nrefs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/nrefs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' nrefs/a.d.ts @@ -1164,26 +963,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/nrefs/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/transitiveReferences/a/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1316,33 +1099,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' refs/a.d.ts @@ -1361,24 +1123,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/transitiveReferences/nrefs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1480,20 +1228,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences/c', using this value to resolve non-relative module name '@ref/a'. @@ -1505,15 +1241,6 @@ File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. c/tsconfig.json:14:5 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 14 { @@ -1542,20 +1269,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1678,39 +1395,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/b/tsconfig.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. ======== -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a/index.d.ts @@ -1732,22 +1422,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1861,36 +1539,9 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. b/tsconfig.json:15:5 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 15 { @@ -1920,22 +1571,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/a/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2058,36 +1697,9 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/c/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../b' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b/index.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/b/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/b/index.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/a/index.ts'. -File '/user/username/projects/transitiveReferences/a/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a/index.d.ts @@ -2108,22 +1720,10 @@ c/index.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/a/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/b/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/c/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js index d0fd3f18b29e3..0da4b322a3c56 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references.js @@ -105,7 +105,7 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -118,23 +118,19 @@ export declare class A { "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-7808316224-export class A {}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 + "signature": "-8728835846-export declare class A {\n}\n" }, "version": "-7808316224-export class A {}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" } }, "root": [ @@ -149,7 +145,7 @@ export declare class A { "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 796 + "size": 760 } //// [/user/username/projects/transitiveReferences/b.js] @@ -166,7 +162,7 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8728835846-export declare class A {\n}\n","impliedFormat":1},{"version":"-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n","signature":"-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -185,32 +181,23 @@ export declare const b: A; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.d.ts": { - "original": { - "version": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 - }, "version": "-8728835846-export declare class A {\n}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" }, "./b.ts": { "original": { "version": "-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n", - "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n", - "impliedFormat": 1 + "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n" }, "version": "-3899816362-import {A} from '@ref/a';\nexport const b = new A();\n", - "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n", - "impliedFormat": "commonjs" + "signature": "-9732944696-import { A } from '@ref/a';\nexport declare const b: A;\n" } }, "root": [ @@ -230,7 +217,7 @@ export declare const b: A; "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 988 + "size": 922 } //// [/user/username/projects/transitiveReferences/c.js] @@ -248,11 +235,6 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -File '/user/username/projects/transitiveReferences/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module './b' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. @@ -269,29 +251,10 @@ File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. ======== -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a.d.ts @@ -313,14 +276,8 @@ c.ts PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -430,7 +387,7 @@ export declare function gfoo(): void; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8728835846-export declare class A {\n}\n","impliedFormat":1},{"version":"-3352421102-import {A} from '@ref/a';\nexport const b = new A();\nexport function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-3352421102-import {A} from '@ref/a';\nexport const b = new A();\nexport function gfoo() { }","signature":"4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n"}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -449,32 +406,23 @@ export declare function gfoo(): void; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.d.ts": { - "original": { - "version": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 - }, "version": "-8728835846-export declare class A {\n}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" }, "./b.ts": { "original": { "version": "-3352421102-import {A} from '@ref/a';\nexport const b = new A();\nexport function gfoo() { }", - "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n", - "impliedFormat": 1 + "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n" }, "version": "-3352421102-import {A} from '@ref/a';\nexport const b = new A();\nexport function gfoo() { }", - "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n", - "impliedFormat": "commonjs" + "signature": "4376023469-import { A } from '@ref/a';\nexport declare const b: A;\nexport declare function gfoo(): void;\n" } }, "root": [ @@ -494,7 +442,7 @@ export declare function gfoo(): void; "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 1052 + "size": 986 } @@ -509,30 +457,6 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. ../../../../a/lib/lib.d.ts Default library for target 'es5' @@ -649,11 +573,6 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module './b' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. @@ -670,29 +589,10 @@ File '/user/username/projects/transitiveReferences/nrefs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/nrefs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/nrefs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/nrefs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. ======== -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/nrefs/package.json' does not exist. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a.d.ts @@ -714,18 +614,8 @@ c.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/nrefs/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -849,11 +739,6 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module './b' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. @@ -870,29 +755,10 @@ File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. ======== -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a.d.ts @@ -914,18 +780,8 @@ c.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: *new* - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/transitiveReferences/nrefs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1050,37 +906,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module './b' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/nrefs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/nrefs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' nrefs/a.d.ts @@ -1100,16 +931,8 @@ c.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/nrefs/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1234,31 +1057,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module './b' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' refs/a.d.ts @@ -1277,18 +1081,8 @@ c.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/transitiveReferences/nrefs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1384,18 +1178,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module './b' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Module resolution kind is not specified, using 'Node10'. 'baseUrl' option is set to '/user/username/projects/transitiveReferences', using this value to resolve non-relative module name '@ref/a'. @@ -1407,15 +1191,6 @@ File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. tsconfig.c.json:14:5 - error TS6053: File '/user/username/projects/transitiveReferences/tsconfig.b.json' not found. 14 { @@ -1444,14 +1219,8 @@ c.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1565,36 +1334,12 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module './b' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. Module resolution kind is not specified, using 'Node10'. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. ======== -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a.d.ts @@ -1616,14 +1361,8 @@ c.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1726,33 +1465,9 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module './b' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. tsconfig.b.json:15:5 - error TS6053: File '/user/username/projects/transitiveReferences/tsconfig.a.json' not found. 15 { @@ -1782,14 +1497,8 @@ c.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1901,33 +1610,9 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module './b' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/b.ts'. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a.d.ts @@ -1948,14 +1633,8 @@ c.ts PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js index 8d005f6f80ad5..9faf9f507dd6c 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-declarationMap-changes-for-dependency.js @@ -127,7 +127,7 @@ export declare function multiply(a: number, b: number): number; //# sourceMappingURL=index.d.ts.map //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -142,44 +142,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -204,7 +196,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1384 + "size": 1312 } @@ -213,12 +205,6 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -File '/user/username/projects/sample1/logic/package.json' does not exist. -File '/user/username/projects/sample1/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module '../core/index' from '/user/username/projects/sample1/logic/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/index', target file types: TypeScript, Declaration. @@ -229,21 +215,6 @@ Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/sample1/core/anotherModule', target file types: TypeScript, Declaration. File '/user/username/projects/sample1/core/anotherModule.ts' exists - use it as a name resolution result. ======== Module name '../core/anotherModule' was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. ======== -File '/user/username/projects/sample1/core/package.json' does not exist. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/core/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' core/index.d.ts @@ -281,7 +252,7 @@ export declare const m: typeof mod; //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../core/index.d.ts","../core/anothermodule.d.ts","./index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","-9234818176-export declare const World = \"hello\";\n",{"version":"-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n","signature":"-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n"}],"root":[4],"options":{"composite":true,"declaration":true,"skipDefaultLibCheck":true,"sourceMap":true},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/logic/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -302,41 +273,27 @@ export declare const m: typeof mod; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../core/index.d.ts": { - "original": { - "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 - }, "version": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "../core/anothermodule.d.ts": { - "original": { - "version": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 - }, "version": "-9234818176-export declare const World = \"hello\";\n", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": 1 + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" }, "version": "-9623801128-import * as c from '../core/index';\nexport function getSecondsInDay() {\n return c.multiply(10, 15);\n}\nimport * as mod from '../core/anotherModule';\nexport const m = mod;\n", - "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n", - "impliedFormat": "commonjs" + "signature": "-9659407152-export declare function getSecondsInDay(): number;\nimport * as mod from '../core/anotherModule';\nexport declare const m: typeof mod;\n" } }, "root": [ @@ -360,25 +317,17 @@ export declare const m: typeof mod; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1455 + "size": 1359 } PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} /user/username/projects/sample1/logic/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} /user/username/projects/sample1/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -475,7 +424,7 @@ export declare function multiply(a: number, b: number): number; //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n","impliedFormat":1},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n","impliedFormat":1},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true,"impliedFormat":1}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":false,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./anothermodule.ts","./index.ts","./some_decl.d.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3090574810-export const World = \"hello\";","signature":"-9234818176-export declare const World = \"hello\";\n"},{"version":"-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n","signature":"-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n"},{"version":"-7959511260-declare const dts: any;","affectsGlobalScope":true}],"root":[[2,4]],"options":{"composite":true,"declaration":true,"declarationMap":false,"skipDefaultLibCheck":true},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/sample1/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -490,44 +439,36 @@ export declare function multiply(a: number, b: number): number; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./anothermodule.ts": { "original": { "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": 1 + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "version": "-3090574810-export const World = \"hello\";", - "signature": "-9234818176-export declare const World = \"hello\";\n", - "impliedFormat": "commonjs" + "signature": "-9234818176-export declare const World = \"hello\";\n" }, "./index.ts": { "original": { "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": 1 + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "version": "-15745098553-export const someString: string = \"HELLO WORLD\";\nexport function leftPad(s: string, n: number) { return s + n; }\nexport function multiply(a: number, b: number) { return a * b; }\n", - "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n", - "impliedFormat": "commonjs" + "signature": "-7362568283-export declare const someString: string;\nexport declare function leftPad(s: string, n: number): string;\nexport declare function multiply(a: number, b: number): number;\n" }, "./some_decl.d.ts": { "original": { "version": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7959511260-declare const dts: any;", "signature": "-7959511260-declare const dts: any;", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -552,7 +493,7 @@ export declare function multiply(a: number, b: number): number; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1385 + "size": 1313 } @@ -567,29 +508,8 @@ Output:: >> Screen clear [HH:MM:SS AM] File change detected. Starting incremental compilation... -File '/user/username/projects/sample1/logic/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module '../core/index' from '/user/username/projects/sample1/logic/index.ts' of old program, it was successfully resolved to '/user/username/projects/sample1/core/index.ts'. Reusing resolution of module '../core/anotherModule' from '/user/username/projects/sample1/logic/index.ts' of old program, it was successfully resolved to '/user/username/projects/sample1/core/anotherModule.ts'. -File '/user/username/projects/sample1/core/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/core/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/sample1/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' core/index.d.ts diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js index 4b4eeefa2e073..35a2f06351f59 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/when-referenced-project-uses-different-module-resolution.js @@ -98,7 +98,7 @@ export declare class A { //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-7808316224-export class A {}\n","signature":"-8728835846-export declare class A {\n}\n"}],"root":[2],"options":{"composite":true},"latestChangedDtsFile":"./a.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.a.tsbuildinfo.readable.baseline.txt] { @@ -111,23 +111,19 @@ export declare class A { "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-7808316224-export class A {}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 + "signature": "-8728835846-export declare class A {\n}\n" }, "version": "-7808316224-export class A {}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" } }, "root": [ @@ -142,7 +138,7 @@ export declare class A { "latestChangedDtsFile": "./a.d.ts" }, "version": "FakeTSVersion", - "size": 796 + "size": 760 } //// [/user/username/projects/transitiveReferences/b.js] @@ -159,7 +155,7 @@ export declare const b: A; //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8728835846-export declare class A {\n}\n","impliedFormat":1},{"version":"-19869990292-import {A} from \"a\";export const b = new A();","signature":"1870369234-import { A } from \"a\";\nexport declare const b: A;\n","impliedFormat":1}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.d.ts","./b.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8728835846-export declare class A {\n}\n",{"version":"-19869990292-import {A} from \"a\";export const b = new A();","signature":"1870369234-import { A } from \"a\";\nexport declare const b: A;\n"}],"root":[3],"options":{"composite":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/transitiveReferences/tsconfig.b.tsbuildinfo.readable.baseline.txt] { @@ -178,32 +174,23 @@ export declare const b: A; "../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.d.ts": { - "original": { - "version": "-8728835846-export declare class A {\n}\n", - "impliedFormat": 1 - }, "version": "-8728835846-export declare class A {\n}\n", - "signature": "-8728835846-export declare class A {\n}\n", - "impliedFormat": "commonjs" + "signature": "-8728835846-export declare class A {\n}\n" }, "./b.ts": { "original": { "version": "-19869990292-import {A} from \"a\";export const b = new A();", - "signature": "1870369234-import { A } from \"a\";\nexport declare const b: A;\n", - "impliedFormat": 1 + "signature": "1870369234-import { A } from \"a\";\nexport declare const b: A;\n" }, "version": "-19869990292-import {A} from \"a\";export const b = new A();", - "signature": "1870369234-import { A } from \"a\";\nexport declare const b: A;\n", - "impliedFormat": "commonjs" + "signature": "1870369234-import { A } from \"a\";\nexport declare const b: A;\n" } }, "root": [ @@ -223,7 +210,7 @@ export declare const b: A; "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 978 + "size": 912 } //// [/user/username/projects/transitiveReferences/c.js] @@ -241,11 +228,6 @@ Output:: >> Screen clear [HH:MM:SS AM] Starting compilation in watch mode... -File '/user/username/projects/transitiveReferences/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module './b' from '/user/username/projects/transitiveReferences/c.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/transitiveReferences/b', target file types: TypeScript, Declaration. @@ -262,29 +244,10 @@ File '/user/username/projects/transitiveReferences/refs/a.ts' does not exist. File '/user/username/projects/transitiveReferences/refs/a.tsx' does not exist. File '/user/username/projects/transitiveReferences/refs/a.d.ts' exists - use it as a name resolution result. ======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ======== -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'a' from '/user/username/projects/transitiveReferences/b.ts'. ======== Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'. Explicitly specified module resolution kind: 'Classic'. ======== Module name 'a' was successfully resolved to '/user/username/projects/transitiveReferences/a.ts'. ======== -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/transitiveReferences/refs/package.json' does not exist. -File '/user/username/projects/transitiveReferences/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. ../../../../a/lib/lib.d.ts Default library for target 'es5' a.d.ts @@ -306,14 +269,8 @@ c.ts PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/transitiveReferences/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/transitiveReferences/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/transitiveReferences/refs/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js b/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js index 08f1807128f13..6343afbc89ad8 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js @@ -51,14 +51,6 @@ define(["require", "exports"], function (require, exports) { -PolledWatches:: -/users/username/projects/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/d/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: *new* {} @@ -200,14 +192,6 @@ define(["require", "exports"], function (require, exports) { -PolledWatches:: -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/project/d/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: {} @@ -278,14 +262,6 @@ Output:: //// [/users/username/projects/project/f1.js] file written with same contents //// [/users/username/projects/project/d/f0.js] file written with same contents -PolledWatches:: -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/project/d/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js index 3c8a457eb7d06..ebf84a4a5d601 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js @@ -41,16 +41,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/somemodule/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js index 3a6b69854538d..410113f5dc2f0 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js @@ -38,16 +38,6 @@ Object.defineProperty(exports, "__esModule", { value: true }); -PolledWatches:: -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/somemodule/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: *new* {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js b/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js index e10c65d8f480e..f777b6a9e4936 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js @@ -39,12 +39,6 @@ define(["require", "exports"], function (require, exports) { -PolledWatches:: -/users/username/projects/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: *new* {} @@ -105,12 +99,6 @@ Output:: //// [/users/username/projects/project/foo.js] file written with same contents -PolledWatches:: -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js b/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js index 3bdd36095a819..8487d1475c392 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/reusing-type-ref-resolution.js @@ -51,11 +51,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/users/username/projects/project/fileWithImports.ts","/users/username/projects/project/fileWithTypeRefs.ts"] options: {"composite":true,"traceResolution":true,"outDir":"/users/username/projects/project/outDir","watch":true,"explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/users/username/projects/project/tsconfig.json"} -File '/users/username/projects/project/package.json' does not exist. -File '/users/username/projects/package.json' does not exist. -File '/users/username/package.json' does not exist. -File '/users/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /users/username/projects/project/fileWithImports.ts 250 undefined Source file ======== Resolving module 'pkg0' from '/users/username/projects/project/fileWithImports.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -91,19 +86,7 @@ Directory '/users/username/node_modules' does not exist, skipping all lookups in Directory '/users/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'pkg1' was not resolved. ======== -File '/users/username/projects/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg0/index.d.ts 250 undefined Source file -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /users/username/projects/project/fileWithTypeRefs.ts 250 undefined Source file ======== Resolving type reference directive 'pkg2', containing file '/users/username/projects/project/fileWithTypeRefs.ts', root directory '/users/username/projects/project/node_modules/@types,/users/username/projects/node_modules/@types,/users/username/node_modules/@types,/users/node_modules/@types,/node_modules/@types'. ======== Resolving with primary search path '/users/username/projects/project/node_modules/@types, /users/username/projects/node_modules/@types, /users/username/node_modules/@types, /users/node_modules/@types, /node_modules/@types'. @@ -139,22 +122,8 @@ Directory '/users/username/node_modules' does not exist, skipping all lookups in Directory '/users/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Type reference directive 'pkg3' was not resolved. ======== -File '/users/username/projects/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg2/index.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg0/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Type roots @@ -211,7 +180,7 @@ export {}; //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../filewithtyperefs.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8124756421-export interface Import0 {}","impliedFormat":1},{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3,5],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2],[4]],"referencedMap":[[3,1],[5,2]],"semanticDiagnosticsPerFile":[[3,[{"start":66,"length":6,"messageText":"Cannot find module 'pkg1' or its corresponding type declarations.","category":1,"code":2307}]],[5,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../filewithtyperefs.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8124756421-export interface Import0 {}",{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[3,5],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2],[4]],"referencedMap":[[3,1],[5,2]],"semanticDiagnosticsPerFile":[[3,[{"start":66,"length":6,"messageText":"Cannot find module 'pkg1' or its corresponding type declarations.","category":1,"code":2307}]],[5,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts"},"version":"FakeTSVersion"} //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -235,53 +204,40 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/pkg0/index.d.ts": { - "original": { - "version": "-8124756421-export interface Import0 {}", - "impliedFormat": 1 - }, "version": "-8124756421-export interface Import0 {}", - "signature": "-8124756421-export interface Import0 {}", - "impliedFormat": "commonjs" + "signature": "-8124756421-export interface Import0 {}" }, "../filewithimports.ts": { "original": { "version": "-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../node_modules/pkg2/index.d.ts": { "original": { "version": "-11273315461-interface Import2 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-11273315461-interface Import2 {}", "signature": "-11273315461-interface Import2 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../filewithtyperefs.ts": { "original": { "version": "-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -339,7 +295,7 @@ export {}; "latestChangedDtsFile": "./fileWithTypeRefs.d.ts" }, "version": "FakeTSVersion", - "size": 1703 + "size": 1601 } @@ -348,16 +304,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/node_modules/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/pkg0/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -470,38 +418,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/users/username/projects/project/fileWithImports.ts","/users/username/projects/project/fileWithTypeRefs.ts"] options: {"composite":true,"traceResolution":true,"outDir":"/users/username/projects/project/outDir","watch":true,"explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/users/username/projects/project/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module 'pkg0' from '/users/username/projects/project/fileWithImports.ts' of old program, it was successfully resolved to '/users/username/projects/project/node_modules/pkg0/index.d.ts'. ======== Resolving module 'pkg1' from '/users/username/projects/project/fileWithImports.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -516,39 +432,9 @@ File '/users/username/projects/project/node_modules/pkg1/index.tsx' does not exi File '/users/username/projects/project/node_modules/pkg1/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/users/username/projects/project/node_modules/pkg1/index.d.ts', result '/users/username/projects/project/node_modules/pkg1/index.d.ts'. ======== Module name 'pkg1' was successfully resolved to '/users/username/projects/project/node_modules/pkg1/index.d.ts'. ======== -File '/users/username/projects/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/pkg1/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg1/index.d.ts 250 undefined Source file -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'pkg2' from '/users/username/projects/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/users/username/projects/project/node_modules/pkg2/index.d.ts'. Reusing resolution of type reference directive 'pkg3' from '/users/username/projects/project/fileWithTypeRefs.ts' of old program, it was not resolved. -File '/users/username/projects/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg1/package.json 2000 undefined File location affecting resolution fileWithTypeRefs.ts:2:23 - error TS2688: Cannot find type definition file for 'pkg3'. 2 /// @@ -577,7 +463,7 @@ fileWithTypeRefs.ts //// [/users/username/projects/project/outDir/fileWithImports.js] file written with same contents //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../node_modules/pkg1/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../filewithtyperefs.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8124756421-export interface Import0 {}","impliedFormat":1},{"version":"-8124720484-export interface Import1 {}","impliedFormat":1},{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4,6],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2,3],[5]],"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[[6,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../node_modules/pkg1/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../filewithtyperefs.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8124756421-export interface Import0 {}","-8124720484-export interface Import1 {}",{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[4,6],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2,3],[5]],"referencedMap":[[4,1],[6,2]],"semanticDiagnosticsPerFile":[[6,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts"},"version":"FakeTSVersion"} //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -603,62 +489,44 @@ fileWithTypeRefs.ts "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/pkg0/index.d.ts": { - "original": { - "version": "-8124756421-export interface Import0 {}", - "impliedFormat": 1 - }, "version": "-8124756421-export interface Import0 {}", - "signature": "-8124756421-export interface Import0 {}", - "impliedFormat": "commonjs" + "signature": "-8124756421-export interface Import0 {}" }, "../node_modules/pkg1/index.d.ts": { - "original": { - "version": "-8124720484-export interface Import1 {}", - "impliedFormat": 1 - }, "version": "-8124720484-export interface Import1 {}", - "signature": "-8124720484-export interface Import1 {}", - "impliedFormat": "commonjs" + "signature": "-8124720484-export interface Import1 {}" }, "../filewithimports.ts": { "original": { "version": "-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../node_modules/pkg2/index.d.ts": { "original": { "version": "-11273315461-interface Import2 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-11273315461-interface Import2 {}", "signature": "-11273315461-interface Import2 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../filewithtyperefs.ts": { "original": { "version": "-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -705,7 +573,7 @@ fileWithTypeRefs.ts "latestChangedDtsFile": "./fileWithTypeRefs.d.ts" }, "version": "FakeTSVersion", - "size": 1674 + "size": 1542 } @@ -714,18 +582,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/node_modules/package.json: - {"pollingInterval":2000} -/users/username/projects/project/node_modules/pkg0/package.json: - {"pollingInterval":2000} -/users/username/projects/project/node_modules/pkg1/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -836,66 +694,8 @@ Synchronizing program CreatingProgramWith:: roots: ["/users/username/projects/project/fileWithImports.ts","/users/username/projects/project/fileWithTypeRefs.ts"] options: {"composite":true,"traceResolution":true,"outDir":"/users/username/projects/project/outDir","watch":true,"explainFiles":true,"extendedDiagnostics":true,"configFilePath":"/users/username/projects/project/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/pkg1/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of module 'pkg0' from '/users/username/projects/project/fileWithImports.ts' of old program, it was successfully resolved to '/users/username/projects/project/node_modules/pkg0/index.d.ts'. Reusing resolution of module 'pkg1' from '/users/username/projects/project/fileWithImports.ts' of old program, it was successfully resolved to '/users/username/projects/project/node_modules/pkg1/index.d.ts'. -File '/users/username/projects/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/pkg1/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. Reusing resolution of type reference directive 'pkg2' from '/users/username/projects/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/users/username/projects/project/node_modules/pkg2/index.d.ts'. ======== Resolving type reference directive 'pkg3', containing file '/users/username/projects/project/fileWithTypeRefs.ts', root directory '/users/username/projects/project/node_modules/@types,/users/username/projects/node_modules/@types,/users/username/node_modules/@types,/users/node_modules/@types,/node_modules/@types'. ======== Resolving with primary search path '/users/username/projects/project/node_modules/@types, /users/username/projects/node_modules/@types, /users/username/node_modules/@types, /users/node_modules/@types, /node_modules/@types'. @@ -911,25 +711,7 @@ File '/users/username/projects/project/node_modules/pkg3.d.ts' does not exist. File '/users/username/projects/project/node_modules/pkg3/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/users/username/projects/project/node_modules/pkg3/index.d.ts', result '/users/username/projects/project/node_modules/pkg3/index.d.ts'. ======== Type reference directive 'pkg3' was successfully resolved to '/users/username/projects/project/node_modules/pkg3/index.d.ts', primary: false. ======== -File '/users/username/projects/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/pkg3/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/node_modules/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/project/package.json' does not exist according to earlier cached lookups. -File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -File '/users/username/package.json' does not exist according to earlier cached lookups. -File '/users/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg3/index.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/pkg3/package.json 2000 undefined File location affecting resolution fileWithTypeRefs.ts:3:43 - error TS2552: Cannot find name 'Import3'. Did you mean 'Import2'? 3 interface LocalInterface extends Import2, Import3 {} @@ -955,7 +737,7 @@ fileWithTypeRefs.ts //// [/users/username/projects/project/outDir/fileWithTypeRefs.js] file written with same contents //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../node_modules/pkg1/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../node_modules/pkg3/index.d.ts","../filewithtyperefs.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8124756421-export interface Import0 {}","impliedFormat":1},{"version":"-8124720484-export interface Import1 {}","impliedFormat":1},{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8124648610-export interface Import3 {}","impliedFormat":1},{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4,7],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2,3],[5,6]],"referencedMap":[[4,1],[7,2]],"semanticDiagnosticsPerFile":[[7,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../node_modules/pkg0/index.d.ts","../node_modules/pkg1/index.d.ts","../filewithimports.ts","../node_modules/pkg2/index.d.ts","../node_modules/pkg3/index.d.ts","../filewithtyperefs.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8124756421-export interface Import0 {}","-8124720484-export interface Import1 {}",{"version":"-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n","signature":"-3531856636-export {};\n"},{"version":"-11273315461-interface Import2 {}","affectsGlobalScope":true},"-8124648610-export interface Import3 {}",{"version":"-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n","signature":"-3531856636-export {};\n"}],"root":[4,7],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2,3],[5,6]],"referencedMap":[[4,1],[7,2]],"semanticDiagnosticsPerFile":[[7,[{"start":102,"length":7,"messageText":"Cannot find name 'Import3'. Did you mean 'Import2'?","category":1,"code":2552,"canonicalHead":{"code":2304,"messageText":"Cannot find name 'Import3'."}}]]],"latestChangedDtsFile":"./fileWithTypeRefs.d.ts"},"version":"FakeTSVersion"} //// [/users/username/projects/project/outDir/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -983,71 +765,48 @@ fileWithTypeRefs.ts "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/pkg0/index.d.ts": { - "original": { - "version": "-8124756421-export interface Import0 {}", - "impliedFormat": 1 - }, "version": "-8124756421-export interface Import0 {}", - "signature": "-8124756421-export interface Import0 {}", - "impliedFormat": "commonjs" + "signature": "-8124756421-export interface Import0 {}" }, "../node_modules/pkg1/index.d.ts": { - "original": { - "version": "-8124720484-export interface Import1 {}", - "impliedFormat": 1 - }, "version": "-8124720484-export interface Import1 {}", - "signature": "-8124720484-export interface Import1 {}", - "impliedFormat": "commonjs" + "signature": "-8124720484-export interface Import1 {}" }, "../filewithimports.ts": { "original": { "version": "-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-14287751515-import type { Import0 } from \"pkg0\";\nimport type { Import1 } from \"pkg1\";\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "../node_modules/pkg2/index.d.ts": { "original": { "version": "-11273315461-interface Import2 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-11273315461-interface Import2 {}", "signature": "-11273315461-interface Import2 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../node_modules/pkg3/index.d.ts": { - "original": { - "version": "-8124648610-export interface Import3 {}", - "impliedFormat": 1 - }, "version": "-8124648610-export interface Import3 {}", - "signature": "-8124648610-export interface Import3 {}", - "impliedFormat": "commonjs" + "signature": "-8124648610-export interface Import3 {}" }, "../filewithtyperefs.ts": { "original": { "version": "-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-12735305811-/// \n/// \ninterface LocalInterface extends Import2, Import3 {}\nexport {}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -1095,7 +854,7 @@ fileWithTypeRefs.ts "latestChangedDtsFile": "./fileWithTypeRefs.d.ts" }, "version": "FakeTSVersion", - "size": 1782 + "size": 1620 } @@ -1104,20 +863,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/node_modules/package.json: - {"pollingInterval":2000} -/users/username/projects/project/node_modules/pkg0/package.json: - {"pollingInterval":2000} -/users/username/projects/project/node_modules/pkg1/package.json: - {"pollingInterval":2000} -/users/username/projects/project/node_modules/pkg3/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js b/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js index 938b7035af08b..0b154a21be7f1 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/scoped-package-installation.js @@ -34,12 +34,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/lib/app.ts"] options: {"watch":true,"project":"/user/username/projects/myproject","traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -File '/user/username/projects/myproject/lib/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/app.ts 250 undefined Source file ======== Resolving module '@myapp/ts-types' from '/user/username/projects/myproject/lib/app.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -66,9 +60,6 @@ Directory '/user/username/node_modules' does not exist, skipping all lookups in Directory '/user/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@myapp/ts-types' was not resolved. ======== -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib 1 undefined Failed Lookup Locations @@ -76,9 +67,6 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_mod Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -105,20 +93,14 @@ var x = ts_types_1.myapp; PolledWatches:: -/user/username/projects/myproject/lib/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -192,18 +174,12 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec PolledWatches:: -/user/username/projects/myproject/lib/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/node_modules: @@ -257,21 +233,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/lib/app.ts"] options: {"watch":true,"project":"/user/username/projects/myproject","traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@myapp/ts-types' from '/user/username/projects/myproject/lib/app.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -296,9 +257,6 @@ Directory '/user/username/node_modules' does not exist, skipping all lookups in Directory '/user/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@myapp/ts-types' was not resolved. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. lib/app.ts:1:23 - error TS2307: Cannot find module '@myapp/ts-types' or its corresponding type declarations. 1 import { myapp } from "@myapp/ts-types"; @@ -391,21 +349,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/lib/app.ts"] options: {"watch":true,"project":"/user/username/projects/myproject","traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@myapp/ts-types' from '/user/username/projects/myproject/lib/app.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -435,9 +378,6 @@ Directory '/user/username/node_modules' does not exist, skipping all lookups in Directory '/user/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name '@myapp/ts-types' was not resolved. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. lib/app.ts:1:23 - error TS2307: Cannot find module '@myapp/ts-types' or its corresponding type declarations. 1 import { myapp } from "@myapp/ts-types"; @@ -569,21 +509,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/lib/app.ts"] options: {"watch":true,"project":"/user/username/projects/myproject","traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module '@myapp/ts-types' from '/user/username/projects/myproject/lib/app.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module '@myapp/ts-types' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -599,21 +524,7 @@ File '/user/username/projects/myproject/node_modules/@myapp/ts-types/index.tsx' File '/user/username/projects/myproject/node_modules/@myapp/ts-types/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/user/username/projects/myproject/node_modules/@myapp/ts-types/index.d.ts', result '/user/username/projects/myproject/node_modules/@myapp/ts-types/index.d.ts'. ======== Module name '@myapp/ts-types' was successfully resolved to '/user/username/projects/myproject/node_modules/@myapp/ts-types/index.d.ts'. ======== -File '/user/username/projects/myproject/node_modules/@myapp/ts-types/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/myproject/node_modules/@myapp/package.json' does not exist. -File '/user/username/projects/myproject/node_modules/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -File '/user/username/package.json' does not exist according to earlier cached lookups. -File '/user/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@myapp/ts-types/index.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@myapp/ts-types/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@myapp/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -623,22 +534,10 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node //// [/user/username/projects/myproject/lib/app.js] file written with same contents PolledWatches:: -/user/username/projects/myproject/lib/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@myapp/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@myapp/ts-types/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: diff --git a/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js b/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js index a8287b061028a..1eb0c0f338d68 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js @@ -37,12 +37,6 @@ define(["require", "exports"], function (require, exports) { -PolledWatches:: -/users/username/projects/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: *new* {} @@ -109,12 +103,6 @@ Output:: //// [/users/username/projects/project/foo.js] file written with same contents -PolledWatches:: -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: {} @@ -186,12 +174,6 @@ Output:: //// [/users/username/projects/project/foo.js] file written with same contents -PolledWatches:: -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: {} diff --git a/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js b/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js index 09a6173fca7ac..8daa52a11f18f 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/with-modules-linked-to-sibling-folder.js @@ -61,22 +61,14 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: -/user/username/projects/myproject/linked-package/dist/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/@scoped: *new* {"pollingInterval":500} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js index b8f17ca463bf0..b2dd801eff37e 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-included-file-with-ambient-module-changes.js @@ -54,14 +54,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js index af63aa1040373..9991820321f5e 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js @@ -372,11 +372,6 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/worker.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/mocha/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution worker.ts:1:1 - error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. 1 process.on("uncaughtException"); @@ -388,18 +383,8 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undef PolledWatches:: -/user/username/projects/myproject/node_modules/@types/mocha/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -489,20 +474,10 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node PolledWatches:: -/user/username/projects/myproject/node_modules/@types/mocha/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -618,18 +593,8 @@ Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node //// [/user/username/projects/myproject/worker.js] file written with same contents PolledWatches:: -/user/username/projects/myproject/node_modules/@types/mocha/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js index bfa4371d9470d..165ab9d8b8c6e 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js @@ -42,14 +42,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -107,10 +103,6 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/node_modules: @@ -153,10 +145,6 @@ Output:: PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/node_modules: diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js index fce5812b89b59..c56847bceed0d 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js @@ -45,14 +45,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -95,14 +91,10 @@ sysLog:: /user/username/projects/myproject/node_modules/@types:: Changing watche PolledWatches:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/node_modules: @@ -143,18 +135,8 @@ Output:: //// [/user/username/projects/myproject/a.js] file written with same contents PolledWatches:: -/user/username/projects/myproject/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types/qqq/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js index 09ae055c859e0..7d67ff822e43b 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js @@ -63,24 +63,14 @@ module11("hello"); PolledWatches:: /a/b/projects/myProject/node_modules/@types: *new* {"pollingInterval":500} -/a/b/projects/myProject/node_modules/module1/package.json: *new* - {"pollingInterval":2000} -/a/b/projects/myProject/node_modules/package.json: *new* - {"pollingInterval":2000} -/a/b/projects/myProject/package.json: *new* - {"pollingInterval":2000} /a/b/projects/myProject/src/node_modules: *new* {"pollingInterval":500} /a/b/projects/myProject/src/node_modules/@types: *new* {"pollingInterval":500} -/a/b/projects/myProject/src/package.json: *new* - {"pollingInterval":2000} /a/b/projects/node_modules: *new* {"pollingInterval":500} /a/b/projects/node_modules/@types: *new* {"pollingInterval":500} -/a/b/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/b/projects/myProject/node_modules/module1/index.js: *new* diff --git a/tests/baselines/reference/tscWatch/resolveJsonModule/incremental-always-prefers-declaration-file-over-document.js b/tests/baselines/reference/tscWatch/resolveJsonModule/incremental-always-prefers-declaration-file-over-document.js index 09431de6cdf3d..b5572799f2a20 100644 --- a/tests/baselines/reference/tscWatch/resolveJsonModule/incremental-always-prefers-declaration-file-over-document.js +++ b/tests/baselines/reference/tscWatch/resolveJsonModule/incremental-always-prefers-declaration-file-over-document.js @@ -52,7 +52,7 @@ var x = data_json_1.default; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./data.d.json.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"2718060498-declare var val: string; export default val;","impliedFormat":1},{"version":"6961905452-import data from \"./data.json\"; let x: string = data;","impliedFormat":1}],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":17,"length":13,"messageText":"Module './data.json' was resolved to '/src/project/data.d.json.ts', but '--allowArbitraryExtensions' is not set.","category":1,"code":6263}]]]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./data.d.json.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"2718060498-declare var val: string; export default val;","6961905452-import data from \"./data.json\"; let x: string = data;"],"root":[2,3],"semanticDiagnosticsPerFile":[[3,[{"start":17,"length":13,"messageText":"Module './data.json' was resolved to '/src/project/data.d.json.ts', but '--allowArbitraryExtensions' is not set.","category":1,"code":6263}]]]},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -66,31 +66,19 @@ var x = data_json_1.default; "../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./data.d.json.ts": { - "original": { - "version": "2718060498-declare var val: string; export default val;", - "impliedFormat": 1 - }, "version": "2718060498-declare var val: string; export default val;", - "signature": "2718060498-declare var val: string; export default val;", - "impliedFormat": "commonjs" + "signature": "2718060498-declare var val: string; export default val;" }, "./main.ts": { - "original": { - "version": "6961905452-import data from \"./data.json\"; let x: string = data;", - "impliedFormat": 1 - }, "version": "6961905452-import data from \"./data.json\"; let x: string = data;", - "signature": "6961905452-import data from \"./data.json\"; let x: string = data;", - "impliedFormat": "commonjs" + "signature": "6961905452-import data from \"./data.json\"; let x: string = data;" } }, "root": [ @@ -119,7 +107,7 @@ var x = data_json_1.default; ] }, "version": "FakeTSVersion", - "size": 954 + "size": 876 } diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js index 815b9acd28b4e..28e799bb16f26 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-when-solution-is-already-built.js @@ -85,7 +85,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -99,33 +99,27 @@ export declare function foo(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/bar.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "root": [ @@ -146,7 +140,7 @@ export declare function foo(): void; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 938 + "size": 884 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -163,7 +157,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -184,41 +178,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/lib/index.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../b/lib/bar.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -241,7 +221,7 @@ export {}; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1066 + "size": 970 } @@ -256,7 +236,7 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/index.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -277,41 +257,27 @@ Output:: "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/index.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/index.ts": { "original": { "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -334,35 +300,23 @@ Output:: "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1034 + "size": 938 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js index b6b547e7f61b6..bf6eaafd9821a 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks-when-solution-is-already-built.js @@ -87,7 +87,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,33 +101,27 @@ export declare function foo(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/bar.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "root": [ @@ -148,7 +142,7 @@ export declare function foo(): void; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 938 + "size": 884 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -165,7 +159,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -186,41 +180,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../node_modules/b/lib/index.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../../node_modules/b/lib/bar.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -243,7 +223,7 @@ export {}; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1098 + "size": 1002 } @@ -258,7 +238,7 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/index.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -279,41 +259,27 @@ Output:: "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/index.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/index.ts": { "original": { "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -336,35 +302,23 @@ Output:: "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1034 + "size": 938 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js index d526c684084a2..71b859f2e791e 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-preserveSymlinks.js @@ -88,7 +88,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -109,41 +109,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/index.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/index.ts": { "original": { "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -166,35 +152,23 @@ export {}; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1034 + "size": 938 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js index 64a7b94ca3b93..d6e013522f192 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-when-solution-is-already-built.js @@ -85,7 +85,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -99,33 +99,27 @@ export declare function foo(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/bar.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "root": [ @@ -146,7 +140,7 @@ export declare function foo(): void; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 938 + "size": 884 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -163,7 +157,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -184,41 +178,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/lib/index.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../b/lib/bar.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -241,7 +221,7 @@ export {}; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1080 + "size": 984 } @@ -256,7 +236,7 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/index.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -277,41 +257,27 @@ Output:: "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/index.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/index.ts": { "original": { "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -334,35 +300,23 @@ Output:: "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1048 + "size": 952 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index 83fe5a9b7ac18..130819812dcb7 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -87,7 +87,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,33 +101,27 @@ export declare function foo(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/bar.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "root": [ @@ -148,7 +142,7 @@ export declare function foo(): void; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 938 + "size": 884 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -165,7 +159,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -186,41 +180,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../node_modules/@issue/b/lib/index.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../../node_modules/@issue/b/lib/bar.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -243,7 +223,7 @@ export {}; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1126 + "size": 1030 } @@ -258,7 +238,7 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/index.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -279,41 +259,27 @@ Output:: "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/index.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/index.ts": { "original": { "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -336,35 +302,23 @@ Output:: "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1048 + "size": 952 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js index 9cd45a7f5da04..cdf606087e5ac 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package-with-preserveSymlinks.js @@ -88,7 +88,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -109,41 +109,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/index.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/index.ts": { "original": { "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -166,35 +152,23 @@ export {}; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1048 + "size": 952 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js index ba12383344521..a3a6d81dcbce1 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field-with-scoped-package.js @@ -86,7 +86,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,41 +107,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/index.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/index.ts": { "original": { "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -164,35 +150,23 @@ export {}; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1048 + "size": 952 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js index 19e3c7b11f927..c555f2a5a235d 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-packageJson-has-types-field.js @@ -86,7 +86,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/index.ts","../b/src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,41 +107,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/index.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/index.ts": { "original": { "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -164,35 +150,23 @@ export {}; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1034 + "size": 938 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js index 8c904fe8b744e..c629cad311d62 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-when-solution-is-already-built.js @@ -82,7 +82,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -96,33 +96,27 @@ export declare function bar(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/foo.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "./src/bar/foo.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "root": [ @@ -143,7 +137,7 @@ export declare function bar(): void; "latestChangedDtsFile": "./lib/bar/foo.d.ts" }, "version": "FakeTSVersion", - "size": 942 + "size": 888 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -160,7 +154,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,41 +175,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/lib/foo.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../b/lib/bar/foo.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/test.ts": { "original": { "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -238,7 +218,7 @@ export {}; "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1079 + "size": 983 } @@ -253,7 +233,7 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/test.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -274,41 +254,27 @@ Output:: "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/foo.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar/foo.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/test.ts": { "original": { "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -331,37 +297,23 @@ Output:: "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1047 + "size": 951 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js index d12f6ec2d6a04..3d6dbc37c79e1 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks-when-solution-is-already-built.js @@ -84,7 +84,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,33 +98,27 @@ export declare function bar(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/foo.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "./src/bar/foo.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "root": [ @@ -145,7 +139,7 @@ export declare function bar(): void; "latestChangedDtsFile": "./lib/bar/foo.d.ts" }, "version": "FakeTSVersion", - "size": 942 + "size": 888 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -162,7 +156,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -183,41 +177,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../node_modules/b/lib/foo.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../../node_modules/b/lib/bar/foo.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/test.ts": { "original": { "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -240,7 +220,7 @@ export {}; "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1111 + "size": 1015 } @@ -255,7 +235,7 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/test.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -276,41 +256,27 @@ Output:: "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/foo.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar/foo.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/test.ts": { "original": { "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -333,37 +299,23 @@ Output:: "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1047 + "size": 951 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js index b1e06d90bfb2f..22c31cc7bb35d 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-preserveSymlinks.js @@ -85,7 +85,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,41 +106,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/foo.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar/foo.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/test.ts": { "original": { "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -163,37 +149,23 @@ export {}; "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1047 + "size": 951 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js index cfb2e055b4b5d..50fd13966fe52 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-when-solution-is-already-built.js @@ -82,7 +82,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -96,33 +96,27 @@ export declare function bar(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/foo.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "./src/bar/foo.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "root": [ @@ -143,7 +137,7 @@ export declare function bar(): void; "latestChangedDtsFile": "./lib/bar/foo.d.ts" }, "version": "FakeTSVersion", - "size": 942 + "size": 888 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -160,7 +154,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,41 +175,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/lib/foo.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../b/lib/bar/foo.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/test.ts": { "original": { "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -238,7 +218,7 @@ export {}; "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1094 + "size": 998 } @@ -253,7 +233,7 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/test.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -274,41 +254,27 @@ Output:: "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/foo.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar/foo.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/test.ts": { "original": { "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -331,37 +297,23 @@ Output:: "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1062 + "size": 966 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js index f5d442e11861c..cd691920afdf1 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks-when-solution-is-already-built.js @@ -84,7 +84,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,33 +98,27 @@ export declare function bar(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/foo.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "./src/bar/foo.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "root": [ @@ -145,7 +139,7 @@ export declare function bar(): void; "latestChangedDtsFile": "./lib/bar/foo.d.ts" }, "version": "FakeTSVersion", - "size": 942 + "size": 888 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -162,7 +156,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -183,41 +177,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../node_modules/@issue/b/lib/foo.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../../node_modules/@issue/b/lib/bar/foo.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/test.ts": { "original": { "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -240,7 +220,7 @@ export {}; "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1140 + "size": 1044 } @@ -255,7 +235,7 @@ Output:: //// [/user/username/projects/myproject/packages/A/lib/test.js] file written with same contents //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -276,41 +256,27 @@ Output:: "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/foo.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar/foo.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/test.ts": { "original": { "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -333,37 +299,23 @@ Output:: "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1062 + "size": 966 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js index 0e027eeaaa40f..7612a63369457 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package-with-preserveSymlinks.js @@ -85,7 +85,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,41 +106,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/foo.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar/foo.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/test.ts": { "original": { "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -163,37 +149,23 @@ export {}; "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1062 + "size": 966 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js index c6ab0b3d9c199..3a8260b5ca000 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder-with-scoped-package.js @@ -83,7 +83,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,41 +104,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/foo.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar/foo.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/test.ts": { "original": { "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -161,37 +147,23 @@ export {}; "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1062 + "size": 966 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js index bc17a0ff05b52..da3b601c9bfd9 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/when-referencing-file-from-subFolder.js @@ -83,7 +83,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","impliedFormat":1},{"version":"1045484683-export function bar() { }","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/src/foo.ts","../b/src/bar/foo.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"4646078106-export function foo() { }","1045484683-export function bar() { }",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,41 +104,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/src/foo.ts": { - "original": { - "version": "4646078106-export function foo() { }", - "impliedFormat": 1 - }, "version": "4646078106-export function foo() { }", - "signature": "4646078106-export function foo() { }", - "impliedFormat": "commonjs" + "signature": "4646078106-export function foo() { }" }, "../b/src/bar/foo.ts": { - "original": { - "version": "1045484683-export function bar() { }", - "impliedFormat": 1 - }, "version": "1045484683-export function bar() { }", - "signature": "1045484683-export function bar() { }", - "impliedFormat": "commonjs" + "signature": "1045484683-export function bar() { }" }, "./src/test.ts": { "original": { "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -161,37 +147,23 @@ export {}; "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1047 + "size": 951 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js index 0ec9a4b891ace..909afa0cb02a2 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project-when-solution-is-already-built.js @@ -160,7 +160,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"latestChangedDtsFile":"./utilities.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../core/utilities.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"}],"root":[2],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../core","strict":true,"target":1},"latestChangedDtsFile":"./utilities.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/core/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,23 +173,19 @@ export declare function lastElementOf(arr: T[]): T | undefined; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../core/utilities.ts": { "original": { "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": 1 + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" }, "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" } }, "root": [ @@ -214,7 +210,7 @@ export declare function lastElementOf(arr: T[]): T | undefined; "latestChangedDtsFile": "./utilities.d.ts" }, "version": "FakeTSVersion", - "size": 1306 + "size": 1270 } //// [/user/username/projects/demo/lib/animals/animal.js] @@ -270,7 +266,7 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","impliedFormat":1},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","impliedFormat":1},{"version":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n","impliedFormat":1},{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","impliedFormat":1}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../core/utilities.d.ts","../../animals/dog.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -296,51 +292,35 @@ export declare function createDog(): Dog; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../animals/animal.ts": { - "original": { - "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": 1 - }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../../animals/index.ts": { "original": { "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": 1 + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "../core/utilities.d.ts": { - "original": { - "version": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": 1 - }, "version": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" }, "../../animals/dog.ts": { "original": { "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": 1 + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" } }, "root": [ @@ -383,7 +363,7 @@ export declare function createDog(): Dog; "latestChangedDtsFile": "./dog.d.ts" }, "version": "FakeTSVersion", - "size": 2294 + "size": 2180 } @@ -398,7 +378,7 @@ Output:: //// [/user/username/projects/demo/lib/animals/dog.js] file written with same contents //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","impliedFormat":1},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","impliedFormat":1},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n","impliedFormat":1},{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","impliedFormat":1}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","signature":"-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n"},{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -424,52 +404,39 @@ Output:: "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../animals/animal.ts": { - "original": { - "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": 1 - }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../../animals/index.ts": { "original": { "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": 1 + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "../../core/utilities.ts": { "original": { "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": 1 + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" }, "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n", - "impliedFormat": "commonjs" + "signature": "-11345568166-export declare function makeRandomName(): string;\nexport declare function lastElementOf(arr: T[]): T | undefined;\n" }, "../../animals/dog.ts": { "original": { "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": 1 + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" } }, "root": [ @@ -512,25 +479,17 @@ Output:: "latestChangedDtsFile": "./dog.d.ts" }, "version": "FakeTSVersion", - "size": 2530 + "size": 2428 } PolledWatches:: /user/username/projects/demo/animals/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/demo/animals/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/demo/core/package.json: *new* - {"pollingInterval":2000} /user/username/projects/demo/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/demo/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js index 9e280198c6182..86a0d1ec2b34f 100644 --- a/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js +++ b/tests/baselines/reference/tscWatch/sourceOfProjectReferenceRedirect/with-simple-project.js @@ -202,7 +202,7 @@ export declare function createDog(): Dog; //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n","impliedFormat":1},{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","impliedFormat":1},{"version":"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n","impliedFormat":1},{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n","impliedFormat":1}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../animals/animal.ts","../../animals/index.ts","../../core/utilities.ts","../../animals/dog.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n",{"version":"-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n","signature":"1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n"},"-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n",{"version":"-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n","signature":"6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n"}],"root":[2,3,5],"options":{"composite":true,"declaration":true,"module":1,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","rootDir":"../../animals","strict":true,"target":1},"fileIdsList":[[3,4],[2,5]],"referencedMap":[[5,1],[3,2]],"latestChangedDtsFile":"./dog.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/demo/lib/animals/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -228,51 +228,35 @@ export declare function createDog(): Dog; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../animals/animal.ts": { - "original": { - "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": 1 - }, "version": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n", - "impliedFormat": "commonjs" + "signature": "-9289341318-export type Size = \"small\" | \"medium\" | \"large\";\nexport default interface Animal {\n size: Size;\n}\n" }, "../../animals/index.ts": { "original": { "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": 1 + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "version": "-7220553464-import Animal from './animal';\n\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n", - "impliedFormat": "commonjs" + "signature": "1096904574-import Animal from './animal';\nexport default Animal;\nimport { createDog, Dog } from './dog';\nexport { createDog, Dog };\n" }, "../../core/utilities.ts": { - "original": { - "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "impliedFormat": 1 - }, "version": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "signature": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n", - "impliedFormat": "commonjs" + "signature": "-6723567162-export function makeRandomName() {\n return \"Bob!?! \";\n}\n\nexport function lastElementOf(arr: T[]): T | undefined {\n if (arr.length === 0) return undefined;\n return arr[arr.length - 1];\n}\n" }, "../../animals/dog.ts": { "original": { "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": 1 + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" }, "version": "-18870194049-import Animal from '.';\nimport { makeRandomName } from '../core/utilities';\n\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\n\nexport function createDog(): Dog {\n return ({\n size: \"medium\",\n woof: function(this: Dog) {\n console.log(`${ this.name } says \"Woof\"!`);\n },\n name: makeRandomName()\n });\n}\n", - "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n", - "impliedFormat": "commonjs" + "signature": "6032048049-import Animal from '.';\nexport interface Dog extends Animal {\n woof(): void;\n name: string;\n}\nexport declare function createDog(): Dog;\n" } }, "root": [ @@ -315,25 +299,17 @@ export declare function createDog(): Dog; "latestChangedDtsFile": "./dog.d.ts" }, "version": "FakeTSVersion", - "size": 2383 + "size": 2269 } PolledWatches:: /user/username/projects/demo/animals/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/demo/animals/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/demo/core/package.json: *new* - {"pollingInterval":2000} /user/username/projects/demo/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/demo/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-Linux.js b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-Linux.js index 0e38bb1ce13f1..6753b652e7c9e 100644 --- a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-Linux.js +++ b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-Linux.js @@ -92,8 +92,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/home/src/projects/project/packages/package2/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/index.ts 250 undefined Source file ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -164,9 +162,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Failed Lookup Locations @@ -181,8 +176,6 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/n DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Type roots @@ -227,8 +220,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: *new* @@ -247,8 +238,6 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: *new* {"inode":21} -/home/src/projects/project/packages/package2/package.json: *new* - {"inode":12} /home/src/projects/project/packages/package2/src: *new* {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: *new* @@ -304,14 +293,6 @@ export type BarType = "bar"; -Output:: -File '/home/src/projects/project/packages/package1/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. - - Timeout callback:: count: 1 2: timerToUpdateChildWatches *new* @@ -344,8 +325,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -366,8 +345,6 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":21} -/home/src/projects/project/packages/package2/package.json: - {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -403,13 +380,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -432,13 +402,7 @@ File '/home/src/projects/project/node_modules/package1/dist/index.d.ts' exists - 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -File '/home/src/projects/project/packages/package1/dist/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -457,14 +421,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: @@ -491,8 +451,6 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":21} -/home/src/projects/project/packages/package2/package.json: - {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -563,14 +521,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package1/dist/index.d.ts: *new* {"pollingInterval":250} -/home/src/projects/project/packages/package1/dist/package.json: - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -589,8 +543,6 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":21} -/home/src/projects/project/packages/package2/package.json: - {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -620,14 +572,7 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -696,12 +641,8 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined File location affecting resolution packages/package2/src/index.ts:1:34 - error TS2307: Cannot find module 'package1' or its corresponding type declarations. 1 import { FooType, BarType } from "package1" @@ -735,16 +676,12 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/project/packages/package1/dist: {"pollingInterval":500} /home/src/projects/project/packages/package1/dist/index.d.ts: {"pollingInterval":250} -/home/src/projects/project/packages/package1/dist/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -763,8 +700,6 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":21} -/home/src/projects/project/packages/package2/package.json: - {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -837,13 +772,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -913,9 +841,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. packages/package2/src/index.ts:1:34 - error TS2307: Cannot find module 'package1' or its corresponding type declarations. 1 import { FooType, BarType } from "package1" @@ -971,14 +896,6 @@ export type BarType = "bar"; -Output:: -File '/home/src/projects/project/packages/package1/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. - - Timeout callback:: count: 1 15: timerToUpdateChildWatches *new* @@ -1011,8 +928,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -1033,8 +948,6 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":21} -/home/src/projects/project/packages/package2/package.json: - {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -1070,13 +983,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1099,13 +1005,7 @@ File '/home/src/projects/project/node_modules/package1/dist/index.d.ts' exists - 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -1124,14 +1024,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: @@ -1158,8 +1054,6 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":21} -/home/src/projects/project/packages/package2/package.json: - {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: diff --git a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js index b773fa064b6ae..f80992c215956 100644 --- a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js +++ b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js @@ -94,11 +94,6 @@ export type BarType = "bar"; /a/lib/tsc.js --w -p packages/package2 --extendedDiagnostics Output:: -File '/home/src/projects/project/packages/package1/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. [HH:MM:SS AM] Starting compilation in watch mode... Current directory: /home/src/projects/project CaseSensitiveFileNames: false @@ -107,8 +102,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/home/src/projects/project/packages/package2/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/index.ts 250 undefined Source file ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -132,12 +125,7 @@ File '/home/src/projects/project/node_modules/package1/dist/index.d.ts' exists - 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -File '/home/src/projects/project/packages/package1/dist/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Failed Lookup Locations @@ -150,9 +138,6 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/n DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Type roots @@ -186,14 +171,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: *new* @@ -216,8 +197,6 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: *new* {"inode":24} -/home/src/projects/project/packages/package2/package.json: *new* - {"inode":12} /home/src/projects/project/packages/package2/src: *new* {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: *new* @@ -296,14 +275,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package1/dist/index.d.ts: *new* {"pollingInterval":250} -/home/src/projects/project/packages/package1/dist/package.json: - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -322,8 +297,6 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":24} -/home/src/projects/project/packages/package2/package.json: - {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -353,14 +326,7 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -429,12 +395,8 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined File location affecting resolution packages/package2/src/index.ts:1:34 - error TS2307: Cannot find module 'package1' or its corresponding type declarations. 1 import { FooType, BarType } from "package1" @@ -471,16 +433,12 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/project/packages/package1/dist: {"pollingInterval":500} /home/src/projects/project/packages/package1/dist/index.d.ts: {"pollingInterval":250} -/home/src/projects/project/packages/package1/dist/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -499,8 +457,6 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":24} -/home/src/projects/project/packages/package2/package.json: - {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -573,13 +529,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -649,9 +598,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. packages/package2/src/index.ts:1:34 - error TS2307: Cannot find module 'package1' or its corresponding type declarations. 1 import { FooType, BarType } from "package1" @@ -707,14 +653,6 @@ export type BarType = "bar"; -Output:: -File '/home/src/projects/project/packages/package1/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. - - Timeout callback:: count: 1 10: timerToUpdateChildWatches *new* @@ -747,8 +685,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -769,8 +705,6 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":24} -/home/src/projects/project/packages/package2/package.json: - {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: @@ -806,13 +740,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -835,13 +762,7 @@ File '/home/src/projects/project/node_modules/package1/dist/index.d.ts' exists - 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -860,14 +781,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: @@ -894,8 +811,6 @@ FsWatches:: {"inode":11} /home/src/projects/project/packages/package2/dist: {"inode":24} -/home/src/projects/project/packages/package2/package.json: - {"inode":12} /home/src/projects/project/packages/package2/src: {"inode":14} /home/src/projects/project/packages/package2/src/index.ts: diff --git a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built.js b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built.js index 31d9205a3ccab..0c3c9896f80f2 100644 --- a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built.js +++ b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked-package1-built.js @@ -94,11 +94,6 @@ export type BarType = "bar"; /a/lib/tsc.js --w -p packages/package2 --extendedDiagnostics Output:: -File '/home/src/projects/project/packages/package1/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. [HH:MM:SS AM] Starting compilation in watch mode... Current directory: /home/src/projects/project CaseSensitiveFileNames: false @@ -107,8 +102,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/home/src/projects/project/packages/package2/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/index.ts 250 undefined Source file ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -132,12 +125,7 @@ File '/home/src/projects/project/node_modules/package1/dist/index.d.ts' exists - 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -File '/home/src/projects/project/packages/package1/dist/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Failed Lookup Locations @@ -150,9 +138,6 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/n DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Type roots @@ -186,14 +171,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: *new* @@ -202,8 +183,6 @@ FsWatches:: {} /home/src/projects/project/packages/package1/package.json: *new* {} -/home/src/projects/project/packages/package2/package.json: *new* - {} /home/src/projects/project/packages/package2/src/index.ts: *new* {} /home/src/projects/project/packages/package2/tsconfig.json: *new* @@ -300,14 +279,7 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -377,12 +349,8 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined File location affecting resolution packages/package2/src/index.ts:1:34 - error TS2307: Cannot find module 'package1' or its corresponding type declarations. 1 import { FooType, BarType } from "package1" @@ -410,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/home/src/projects/project/packages/package1/dist/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: {} /home/src/projects/project/packages/package1/package.json: {} -/home/src/projects/project/packages/package2/package.json: - {} /home/src/projects/project/packages/package2/src/index.ts: {} /home/src/projects/project/packages/package2/tsconfig.json: @@ -501,11 +461,6 @@ export type BarType = "bar"; Output:: -File '/home/src/projects/project/packages/package1/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. DirectoryWatcher:: Triggered with /home/src/projects/project/node_modules/package1/dist :: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/node_modules/package1/dist :: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations @@ -545,13 +500,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -574,13 +522,7 @@ File '/home/src/projects/project/node_modules/package1/dist/index.d.ts' exists - 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -599,14 +541,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: @@ -619,8 +557,6 @@ FsWatches:: {} /home/src/projects/project/packages/package1/package.json: {} -/home/src/projects/project/packages/package2/package.json: - {} /home/src/projects/project/packages/package2/src/index.ts: {} /home/src/projects/project/packages/package2/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked.js b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked.js index b7f1f962d3361..0df9fed9fcce5 100644 --- a/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked.js +++ b/tests/baselines/reference/tscWatch/symlinks/monorepo-style-sibling-packages-symlinked.js @@ -92,8 +92,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/home/src/projects/project/packages/package2/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/index.ts 250 undefined Source file ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -164,9 +162,6 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Failed Lookup Locations @@ -181,8 +176,6 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/n DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Type roots @@ -227,16 +220,12 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: *new* {} /home/src/projects/project/packages/package1/package.json: *new* {} -/home/src/projects/project/packages/package2/package.json: *new* - {} /home/src/projects/project/packages/package2/src/index.ts: *new* {} /home/src/projects/project/packages/package2/tsconfig.json: *new* @@ -301,11 +290,6 @@ export type BarType = "bar"; Output:: -File '/home/src/projects/project/packages/package1/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. DirectoryWatcher:: Triggered with /home/src/projects/project/node_modules/package1/dist :: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/node_modules/package1/dist :: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations @@ -345,13 +329,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -374,13 +351,7 @@ File '/home/src/projects/project/node_modules/package1/dist/index.d.ts' exists - 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -File '/home/src/projects/project/packages/package1/dist/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -399,14 +370,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: @@ -419,8 +386,6 @@ FsWatches:: {} /home/src/projects/project/packages/package1/package.json: {} -/home/src/projects/project/packages/package2/package.json: - {} /home/src/projects/project/packages/package2/src/index.ts: {} /home/src/projects/project/packages/package2/tsconfig.json: @@ -513,14 +478,7 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -590,12 +548,8 @@ Directory '/home/src/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'package1' was not resolved. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations -FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined File location affecting resolution packages/package2/src/index.ts:1:34 - error TS2307: Cannot find module 'package1' or its corresponding type declarations. 1 import { FooType, BarType } from "package1" @@ -623,20 +577,12 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/home/src/projects/project/packages/package1/dist/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: {} /home/src/projects/project/packages/package1/package.json: {} -/home/src/projects/project/packages/package2/package.json: - {} /home/src/projects/project/packages/package2/src/index.ts: {} /home/src/projects/project/packages/package2/tsconfig.json: @@ -714,11 +660,6 @@ export type BarType = "bar"; Output:: -File '/home/src/projects/project/packages/package1/src/package.json' does not exist. -Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. DirectoryWatcher:: Triggered with /home/src/projects/project/node_modules/package1/dist :: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/projects/project/node_modules/package1/dist :: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Failed Lookup Locations @@ -758,13 +699,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/src/projects/project/packages/package2/src/index.ts"] options: {"target":3,"module":1,"rootDir":"/home/src/projects/project/packages/package2/src","declaration":true,"outDir":"/home/src/projects/project/packages/package2/dist","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true,"traceResolution":true,"watch":true,"project":"/home/src/projects/project/packages/package2","extendedDiagnostics":true,"configFilePath":"/home/src/projects/project/packages/package2/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -787,13 +721,7 @@ File '/home/src/projects/project/node_modules/package1/dist/index.d.ts' exists - 'package.json' does not have a 'peerDependencies' field. Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -812,14 +740,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: @@ -832,8 +756,6 @@ FsWatches:: {} /home/src/projects/project/packages/package1/package.json: {} -/home/src/projects/project/packages/package2/package.json: - {} /home/src/projects/project/packages/package2/src/index.ts: {} /home/src/projects/project/packages/package2/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/watchApi/host-implements-does-not-implement-hasInvalidatedResolutions.js b/tests/baselines/reference/tscWatch/watchApi/host-implements-does-not-implement-hasInvalidatedResolutions.js index dddb9ec761d3e..9bb8833d88297 100644 --- a/tests/baselines/reference/tscWatch/watchApi/host-implements-does-not-implement-hasInvalidatedResolutions.js +++ b/tests/baselines/reference/tscWatch/watchApi/host-implements-does-not-implement-hasInvalidatedResolutions.js @@ -42,11 +42,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 undefined Source file ======== Resolving module './other' from '/user/username/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -55,18 +50,8 @@ File '/user/username/projects/myproject/other.ts' does not exist. File '/user/username/projects/myproject/other.tsx' does not exist. File '/user/username/projects/myproject/other.d.ts' exists - use it as a name resolution result. ======== Module name './other' was successfully resolved to '/user/username/projects/myproject/other.d.ts'. ======== -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -84,12 +69,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -153,24 +134,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module './other' from '/user/username/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, Declaration. @@ -178,14 +141,6 @@ File '/user/username/projects/myproject/other.ts' does not exist. File '/user/username/projects/myproject/other.tsx' does not exist. File '/user/username/projects/myproject/other.d.ts' exists - use it as a name resolution result. ======== Module name './other' was successfully resolved to '/user/username/projects/myproject/other.d.ts'. ======== -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -240,24 +195,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module './other' from '/user/username/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, Declaration. @@ -265,14 +202,6 @@ File '/user/username/projects/myproject/other.ts' does not exist. File '/user/username/projects/myproject/other.tsx' does not exist. File '/user/username/projects/myproject/other.d.ts' exists - use it as a name resolution result. ======== Module name './other' was successfully resolved to '/user/username/projects/myproject/other.d.ts'. ======== -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -332,38 +261,12 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module './other' from '/user/username/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, Declaration. File '/user/username/projects/myproject/other.ts' exists - use it as a name resolution result. ======== Module name './other' was successfully resolved to '/user/username/projects/myproject/other.ts'. ======== -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.ts 250 undefined Source file -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -380,12 +283,8 @@ function foo() { } PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js b/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js index abfe3206c4322..8d075791f4f52 100644 --- a/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js +++ b/tests/baselines/reference/tscWatch/watchApi/host-implements-hasInvalidatedResolutions.js @@ -42,11 +42,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 undefined Source file ======== Resolving module './other' from '/user/username/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -55,18 +50,8 @@ File '/user/username/projects/myproject/other.ts' does not exist. File '/user/username/projects/myproject/other.tsx' does not exist. File '/user/username/projects/myproject/other.d.ts' exists - use it as a name resolution result. ======== Module name './other' was successfully resolved to '/user/username/projects/myproject/other.d.ts'. ======== -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -84,12 +69,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -182,19 +163,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -254,38 +222,12 @@ Synchronizing program CreatingProgramWith:: roots: ["/user/username/projects/myproject/main.ts"] options: {"traceResolution":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. ======== Resolving module './other' from '/user/username/projects/myproject/main.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module as file / folder, candidate module location '/user/username/projects/myproject/other', target file types: TypeScript, Declaration. File '/user/username/projects/myproject/other.ts' exists - use it as a name resolution result. ======== Module name './other' was successfully resolved to '/user/username/projects/myproject/other.ts'. ======== -File '/user/username/projects/myproject/package.json' does not exist. -File '/user/username/projects/package.json' does not exist. -File '/user/username/package.json' does not exist. -File '/user/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/other.ts 250 undefined Source file -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist. [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -302,12 +244,8 @@ function foo() { } PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder-outFile.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder-outFile.js index f0e08d83022b3..df9dce29d1436 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder-outFile.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder-outFile.js @@ -42,12 +42,8 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -120,7 +116,7 @@ declare module "other" { //// [/user/username/projects/outFile.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -131,30 +127,9 @@ declare module "other" { "./myproject/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./myproject/main.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, - "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" - }, - "./myproject/other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, - "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./myproject/main.ts": "-10726455937-export const x = 10;", + "./myproject/other.ts": "-13729955264-export const y = 10;" }, "root": [ [ @@ -175,29 +150,21 @@ declare module "other" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 921 + "size": 831 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -260,12 +227,8 @@ export const x = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -294,12 +257,8 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -364,7 +323,7 @@ define("other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/outFile.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-14918944530-export const x = 10;\n// SomeComment","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-14918944530-export const x = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -375,30 +334,9 @@ define("other", ["require", "exports"], function (require, exports) { "./myproject/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./myproject/main.ts": { - "original": { - "version": "-14918944530-export const x = 10;\n// SomeComment", - "impliedFormat": 1 - }, - "version": "-14918944530-export const x = 10;\n// SomeComment", - "impliedFormat": "commonjs" - }, - "./myproject/other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, - "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./myproject/main.ts": "-14918944530-export const x = 10;\n// SomeComment", + "./myproject/other.ts": "-13729955264-export const y = 10;" }, "root": [ [ @@ -419,29 +357,21 @@ define("other", ["require", "exports"], function (require, exports) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 937 + "size": 847 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -505,12 +435,8 @@ export const x = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -553,7 +479,7 @@ define("other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/outFile.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -564,30 +490,9 @@ define("other", ["require", "exports"], function (require, exports) { "./myproject/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./myproject/main.ts": { - "original": { - "version": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", - "impliedFormat": 1 - }, - "version": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", - "impliedFormat": "commonjs" - }, - "./myproject/other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, - "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./myproject/main.ts": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", + "./myproject/other.ts": "-13729955264-export const y = 10;" }, "root": [ [ @@ -608,19 +513,15 @@ define("other", ["require", "exports"], function (require, exports) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 953 + "size": 863 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js index d7ffaf162ee5c..acf595208ecbd 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-emit-builder.js @@ -37,7 +37,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -51,31 +51,19 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" }, "./other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -107,19 +95,15 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 768 + "size": 690 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -172,7 +156,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -186,33 +170,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { "original": { "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./other.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" } }, "root": [ @@ -231,7 +209,7 @@ Output:: "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 864 + "size": 810 } //// [/user/username/projects/myproject/main.js] @@ -260,22 +238,14 @@ export declare const y = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -336,12 +306,8 @@ export const x = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -367,7 +333,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2],"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2],"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -381,33 +347,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { "original": { "version": "-14918944530-export const x = 10;\n// SomeComment", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-14918944530-export const x = 10;\n// SomeComment", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./other.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" } }, "root": [ @@ -432,19 +392,15 @@ Output:: "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 911 + "size": 857 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -493,7 +449,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -507,33 +463,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { "original": { "version": "-14918944530-export const x = 10;\n// SomeComment", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-14918944530-export const x = 10;\n// SomeComment", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./other.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" } }, "root": [ @@ -552,7 +502,7 @@ Output:: "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 880 + "size": 826 } //// [/user/username/projects/myproject/main.js] @@ -567,22 +517,14 @@ exports.x = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -644,12 +586,8 @@ export const x = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -675,7 +613,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -689,33 +627,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { "original": { "version": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./other.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" } }, "root": [ @@ -734,7 +666,7 @@ Output:: "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 896 + "size": 842 } //// [/user/username/projects/myproject/main.js] @@ -750,12 +682,8 @@ exports.x = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder-outFile.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder-outFile.js index c61c70fc54aae..67ccd1565b8fc 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder-outFile.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder-outFile.js @@ -42,12 +42,8 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -127,7 +123,7 @@ declare module "other" { //// [/user/username/projects/outFile.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -138,30 +134,9 @@ declare module "other" { "./myproject/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./myproject/main.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, - "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" - }, - "./myproject/other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, - "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./myproject/main.ts": "-10726455937-export const x = 10;", + "./myproject/other.ts": "-13729955264-export const y = 10;" }, "root": [ [ @@ -182,29 +157,21 @@ declare module "other" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 921 + "size": 831 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -274,12 +241,8 @@ export const x = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -308,12 +271,8 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -385,7 +344,7 @@ define("other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/outFile.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-14918944530-export const x = 10;\n// SomeComment","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-14918944530-export const x = 10;\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -396,30 +355,9 @@ define("other", ["require", "exports"], function (require, exports) { "./myproject/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./myproject/main.ts": { - "original": { - "version": "-14918944530-export const x = 10;\n// SomeComment", - "impliedFormat": 1 - }, - "version": "-14918944530-export const x = 10;\n// SomeComment", - "impliedFormat": "commonjs" - }, - "./myproject/other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, - "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./myproject/main.ts": "-14918944530-export const x = 10;\n// SomeComment", + "./myproject/other.ts": "-13729955264-export const y = 10;" }, "root": [ [ @@ -440,29 +378,21 @@ define("other", ["require", "exports"], function (require, exports) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 937 + "size": 847 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -533,12 +463,8 @@ export const x = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -581,7 +507,7 @@ define("other", ["require", "exports"], function (require, exports) { //// [/user/username/projects/outFile.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -592,30 +518,9 @@ define("other", ["require", "exports"], function (require, exports) { "./myproject/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./myproject/main.ts": { - "original": { - "version": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", - "impliedFormat": 1 - }, - "version": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", - "impliedFormat": "commonjs" - }, - "./myproject/other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, - "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./myproject/main.ts": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", + "./myproject/other.ts": "-13729955264-export const y = 10;" }, "root": [ [ @@ -636,19 +541,15 @@ define("other", ["require", "exports"], function (require, exports) { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 953 + "size": 863 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js index cdfcc4979482d..5e958b05a5dc9 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmit-with-composite-with-semantic-builder.js @@ -37,7 +37,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -51,31 +51,19 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" }, "./other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -107,19 +95,15 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 768 + "size": 690 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -179,7 +163,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -193,33 +177,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { "original": { "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./other.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" } }, "root": [ @@ -238,7 +216,7 @@ Output:: "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 864 + "size": 810 } //// [/user/username/projects/myproject/main.js] @@ -267,22 +245,14 @@ export declare const y = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -350,12 +320,8 @@ export const x = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -381,7 +347,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2],"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"affectedFilesPendingEmit":[2],"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -395,33 +361,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { "original": { "version": "-14918944530-export const x = 10;\n// SomeComment", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-14918944530-export const x = 10;\n// SomeComment", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./other.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" } }, "root": [ @@ -446,19 +406,15 @@ Output:: "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 911 + "size": 857 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -514,7 +470,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-14918944530-export const x = 10;\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -528,33 +484,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { "original": { "version": "-14918944530-export const x = 10;\n// SomeComment", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-14918944530-export const x = 10;\n// SomeComment", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./other.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" } }, "root": [ @@ -573,7 +523,7 @@ Output:: "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 880 + "size": 826 } //// [/user/username/projects/myproject/main.js] @@ -588,22 +538,14 @@ exports.x = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -672,12 +614,8 @@ export const x = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -703,7 +641,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-16105752451-export const x = 10;\n// SomeComment\n// SomeComment","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -717,33 +655,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { "original": { "version": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-16105752451-export const x = 10;\n// SomeComment\n// SomeComment", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./other.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" } }, "root": [ @@ -762,7 +694,7 @@ Output:: "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 896 + "size": 842 } //// [/user/username/projects/myproject/main.js] @@ -779,12 +711,8 @@ exports.x = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder-outFile.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder-outFile.js index ef55f2f72bc9b..213887f9e5f15 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder-outFile.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder-outFile.js @@ -48,12 +48,8 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -103,12 +99,8 @@ export const x: string = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -142,12 +134,8 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -196,12 +184,8 @@ export const x = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -251,7 +235,7 @@ declare module "other" { //// [/user/username/projects/outFile.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -262,30 +246,9 @@ declare module "other" { "./myproject/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./myproject/main.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, - "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" - }, - "./myproject/other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, - "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./myproject/main.ts": "-10726455937-export const x = 10;", + "./myproject/other.ts": "-13729955264-export const y = 10;" }, "root": [ [ @@ -307,19 +270,15 @@ declare module "other" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 942 + "size": 852 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js index f9f9d088f3b3a..982b3e5acd285 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-emit-builder.js @@ -43,7 +43,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8089124208-export const x: string = 10;","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -57,31 +57,19 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { - "original": { - "version": "-8089124208-export const x: string = 10;", - "impliedFormat": 1 - }, "version": "-8089124208-export const x: string = 10;", - "signature": "-8089124208-export const x: string = 10;", - "impliedFormat": "commonjs" + "signature": "-8089124208-export const x: string = 10;" }, "./other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -128,19 +116,15 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 948 + "size": 870 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -194,12 +178,8 @@ export const x: string = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -230,7 +210,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5691975201-export const x: string = 10;\n// SomeComment","signature":"-10161843860-export declare const x: string;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-5691975201-export const x: string = 10;\n// SomeComment","signature":"-10161843860-export declare const x: string;\n"},"-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -244,32 +224,23 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { "original": { "version": "-5691975201-export const x: string = 10;\n// SomeComment", - "signature": "-10161843860-export declare const x: string;\n", - "impliedFormat": 1 + "signature": "-10161843860-export declare const x: string;\n" }, "version": "-5691975201-export const x: string = 10;\n// SomeComment", - "signature": "-10161843860-export declare const x: string;\n", - "impliedFormat": "commonjs" + "signature": "-10161843860-export declare const x: string;\n" }, "./other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -316,19 +287,15 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1025 + "size": 959 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -377,12 +344,8 @@ export const x = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -408,7 +371,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -422,33 +385,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { "original": { "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./other.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" } }, "root": [ @@ -468,7 +425,7 @@ Output:: "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 885 + "size": 831 } //// [/user/username/projects/myproject/main.js] @@ -497,12 +454,8 @@ export declare const y = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder-outFile.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder-outFile.js index d2b2688750e48..b8eddb8a58cad 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder-outFile.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder-outFile.js @@ -48,12 +48,8 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -110,12 +106,8 @@ export const x: string = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -149,12 +141,8 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -210,12 +198,8 @@ export const x = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -265,7 +249,7 @@ declare module "other" { //// [/user/username/projects/outFile.tsbuildinfo] -{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../a/lib/lib.d.ts","./myproject/main.ts","./myproject/other.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"3483479585-declare module \"main\" {\n export const x = 10;\n}\ndeclare module \"other\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/outFile.tsbuildinfo.readable.baseline.txt] { @@ -276,30 +260,9 @@ declare module "other" { "./myproject/other.ts" ], "fileInfos": { - "../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./myproject/main.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, - "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" - }, - "./myproject/other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, - "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" - } + "../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./myproject/main.ts": "-10726455937-export const x = 10;", + "./myproject/other.ts": "-13729955264-export const y = 10;" }, "root": [ [ @@ -321,19 +284,15 @@ declare module "other" { "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 942 + "size": 852 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js index a452ad2dbb5bf..93a8dc3378fbc 100644 --- a/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js +++ b/tests/baselines/reference/tscWatch/watchApi/noEmitOnError-with-composite-with-semantic-builder.js @@ -43,7 +43,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8089124208-export const x: string = 10;","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -57,31 +57,19 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { - "original": { - "version": "-8089124208-export const x: string = 10;", - "impliedFormat": 1 - }, "version": "-8089124208-export const x: string = 10;", - "signature": "-8089124208-export const x: string = 10;", - "impliedFormat": "commonjs" + "signature": "-8089124208-export const x: string = 10;" }, "./other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -128,19 +116,15 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 948 + "size": 870 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -201,12 +185,8 @@ export const x: string = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -237,7 +217,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5691975201-export const x: string = 10;\n// SomeComment","signature":"-10161843860-export declare const x: string;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-5691975201-export const x: string = 10;\n// SomeComment","signature":"-10161843860-export declare const x: string;\n"},"-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -251,32 +231,23 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { "original": { "version": "-5691975201-export const x: string = 10;\n// SomeComment", - "signature": "-10161843860-export declare const x: string;\n", - "impliedFormat": 1 + "signature": "-10161843860-export declare const x: string;\n" }, "version": "-5691975201-export const x: string = 10;\n// SomeComment", - "signature": "-10161843860-export declare const x: string;\n", - "impliedFormat": "commonjs" + "signature": "-10161843860-export declare const x: string;\n" }, "./other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -323,19 +294,15 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 1025 + "size": 959 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -391,12 +358,8 @@ export const x = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -422,7 +385,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -436,33 +399,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { "original": { "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./other.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" } }, "root": [ @@ -482,7 +439,7 @@ Output:: "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 885 + "size": 831 } //// [/user/username/projects/myproject/main.js] @@ -511,12 +468,8 @@ export declare const y = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js index ed1d233212e8d..7eb14eb533709 100644 --- a/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js +++ b/tests/baselines/reference/tscWatch/watchApi/semantic-builder-emitOnlyDts.js @@ -43,7 +43,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8089124208-export const x: string = 10;","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-8089124208-export const x: string = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[2,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -57,31 +57,19 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { - "original": { - "version": "-8089124208-export const x: string = 10;", - "impliedFormat": 1 - }, "version": "-8089124208-export const x: string = 10;", - "signature": "-8089124208-export const x: string = 10;", - "impliedFormat": "commonjs" + "signature": "-8089124208-export const x: string = 10;" }, "./other.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, "version": "-13729955264-export const y = 10;", - "signature": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" + "signature": "-13729955264-export const y = 10;" } }, "root": [ @@ -128,19 +116,15 @@ Output:: ] }, "version": "FakeTSVersion", - "size": 948 + "size": 870 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -193,12 +177,8 @@ export const x = 10; PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches *deleted*:: /a/lib/lib.d.ts: @@ -223,7 +203,7 @@ Output:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"affectedFilesPendingEmit":[[2,1],[3,1]],"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./main.ts","./other.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true,"noEmitOnError":true},"affectedFilesPendingEmit":[[2,1],[3,1]],"latestChangedDtsFile":"./other.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -237,33 +217,27 @@ Output:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./main.ts": { "original": { "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./other.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" } }, "root": [ @@ -297,7 +271,7 @@ Output:: "latestChangedDtsFile": "./other.d.ts" }, "version": "FakeTSVersion", - "size": 926 + "size": 872 } //// [/user/username/projects/myproject/main.d.ts] @@ -312,12 +286,8 @@ export declare const y = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js b/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js index 08a5177e97598..fac374a3f3091 100644 --- a/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js +++ b/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js @@ -36,12 +36,8 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgramwith-outFile.js b/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgramwith-outFile.js index e77ecb6236f2e..b582d0fa636c0 100644 --- a/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgramwith-outFile.js +++ b/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgramwith-outFile.js @@ -36,12 +36,8 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js b/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js index 763bcd5de4159..86f0b4bee721c 100644 --- a/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js +++ b/tests/baselines/reference/tscWatch/watchApi/verify-that-module-resolution-with-json-extension-works-when-returned-without-extension.js @@ -61,12 +61,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js index aea7090229f64..1febd98069dd1 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles-with-outFile.js @@ -47,8 +47,6 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -66,12 +64,8 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -147,7 +141,7 @@ declare module "b" { //// [/user/username/projects/myproject/outFile.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","pendingEmit":1},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts","pendingEmit":1},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/outFile.tsbuildinfo.readable.baseline.txt] { @@ -158,30 +152,9 @@ declare module "b" { "./b.ts" ], "fileInfos": { - "../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./a.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, - "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" - }, - "./b.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, - "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" - } + "../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./a.ts": "-10726455937-export const x = 10;", + "./b.ts": "-13729955264-export const y = 10;" }, "root": [ [ @@ -207,7 +180,7 @@ declare module "b" { ] }, "version": "FakeTSVersion", - "size": 928 + "size": 838 } @@ -251,7 +224,7 @@ Change:: Emit all files Input:: //// [/user/username/projects/myproject/outFile.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-13729955264-export const y = 10;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-10726455937-export const x = 10;","-13729955264-export const y = 10;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true,"outFile":"./outFile.js"},"outSignature":"-4206946595-declare module \"a\" {\n export const x = 10;\n}\ndeclare module \"b\" {\n export const y = 10;\n}\n","latestChangedDtsFile":"./outFile.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/outFile.tsbuildinfo.readable.baseline.txt] { @@ -262,30 +235,9 @@ Input:: "./b.ts" ], "fileInfos": { - "../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./a.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, - "version": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" - }, - "./b.ts": { - "original": { - "version": "-13729955264-export const y = 10;", - "impliedFormat": 1 - }, - "version": "-13729955264-export const y = 10;", - "impliedFormat": "commonjs" - } + "../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./a.ts": "-10726455937-export const x = 10;", + "./b.ts": "-13729955264-export const y = 10;" }, "root": [ [ @@ -307,7 +259,7 @@ Input:: "latestChangedDtsFile": "./outFile.d.ts" }, "version": "FakeTSVersion", - "size": 912 + "size": 822 } //// [/user/username/projects/myproject/outFile.js] diff --git a/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js index 5cfaefde03cf5..0ce9641f37ba1 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-emitting-with-emitOnlyDtsFiles.js @@ -46,8 +46,6 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -62,7 +60,7 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","impliedFormat":1},{"version":"-11268290852-export const y: 10 = 20;","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '20' is not assignable to type '10'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-10726455937-export const x = 10;","-11268290852-export const y: 10 = 20;"],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true},"semanticDiagnosticsPerFile":[[3,[{"start":13,"length":1,"code":2322,"category":1,"messageText":"Type '20' is not assignable to type '10'."}]]],"affectedFilesPendingEmit":[2,3],"emitSignatures":[2,3]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -76,31 +74,19 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { - "original": { - "version": "-10726455937-export const x = 10;", - "impliedFormat": 1 - }, "version": "-10726455937-export const x = 10;", - "signature": "-10726455937-export const x = 10;", - "impliedFormat": "commonjs" + "signature": "-10726455937-export const x = 10;" }, "./b.ts": { - "original": { - "version": "-11268290852-export const y: 10 = 20;", - "impliedFormat": 1 - }, "version": "-11268290852-export const y: 10 = 20;", - "signature": "-11268290852-export const y: 10 = 20;", - "impliedFormat": "commonjs" + "signature": "-11268290852-export const y: 10 = 20;" } }, "root": [ @@ -148,19 +134,15 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node ] }, "version": "FakeTSVersion", - "size": 941 + "size": 863 } PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -232,7 +214,7 @@ CreatingProgramWith:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true},"affectedFilesPendingEmit":[[2,1],[3,1]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true},"affectedFilesPendingEmit":[[2,1],[3,1]],"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -246,33 +228,27 @@ CreatingProgramWith:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./b.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" } }, "root": [ @@ -307,7 +283,7 @@ CreatingProgramWith:: "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 926 + "size": 872 } //// [/user/username/projects/myproject/a.d.ts] @@ -360,7 +336,7 @@ Change:: Emit all files Input:: //// [/user/username/projects/myproject/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n","impliedFormat":1},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true},"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../a/lib/lib.d.ts","./a.ts","./b.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"-13729955264-export const y = 10;","signature":"-7152472870-export declare const y = 10;\n"}],"root":[2,3],"options":{"composite":true,"module":2,"noEmitOnError":true},"latestChangedDtsFile":"./b.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -374,33 +350,27 @@ Input:: "../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./a.ts": { "original": { "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": 1 + "signature": "-6821242887-export declare const x = 10;\n" }, "version": "-10726455937-export const x = 10;", - "signature": "-6821242887-export declare const x = 10;\n", - "impliedFormat": "commonjs" + "signature": "-6821242887-export declare const x = 10;\n" }, "./b.ts": { "original": { "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": 1 + "signature": "-7152472870-export declare const y = 10;\n" }, "version": "-13729955264-export const y = 10;", - "signature": "-7152472870-export declare const y = 10;\n", - "impliedFormat": "commonjs" + "signature": "-7152472870-export declare const y = 10;\n" } }, "root": [ @@ -421,7 +391,7 @@ Input:: "latestChangedDtsFile": "./b.d.ts" }, "version": "FakeTSVersion", - "size": 885 + "size": 831 } //// [/user/username/projects/myproject/a.js] diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js index c79276bb5e974..ee2140de138f5 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js @@ -93,7 +93,7 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[3],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,36 +107,30 @@ declare class class2 { "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "original": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -152,7 +146,7 @@ declare class class2 { "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 881 + "size": 827 } @@ -384,7 +378,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -399,47 +393,39 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "original": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class3.d.ts": { "original": { "version": "-3469165364-declare class class3 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469165364-declare class class3 {}", "signature": "-3469165364-declare class class3 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -455,7 +441,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 1001 + "size": 929 } @@ -589,7 +575,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[2,3],"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"semanticDiagnosticsPerFile":[2,3],"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -603,36 +589,30 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "original": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -658,7 +638,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 916 + "size": 862 } @@ -794,7 +774,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.d.ts","../project1/class3.d.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-3469237238-declare class class1 {}","affectsGlobalScope":true},{"version":"-3469165364-declare class class3 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -809,47 +789,39 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.d.ts": { "original": { "version": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469237238-declare class class1 {}", "signature": "-3469237238-declare class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class3.d.ts": { "original": { "version": "-3469165364-declare class class3 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-3469165364-declare class class3 {}", "signature": "-3469165364-declare class class3 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -865,7 +837,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 1001 + "size": 929 } diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js index 3ae23e9064c56..17b27e07de0ce 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js @@ -93,7 +93,7 @@ declare class class2 { //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"777933178-class class1 {}","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[3],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"777933178-class class1 {}","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[3],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,36 +107,30 @@ declare class class2 { "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.ts": { "original": { "version": "777933178-class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777933178-class class1 {}", "signature": "777933178-class class1 {}", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -152,7 +146,7 @@ declare class class2 { "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 869 + "size": 815 } @@ -248,7 +242,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj //// [/user/username/projects/myproject/projects/project2/class2.js] file written with same contents //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.ts","../project1/class3.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"777933178-class class1 {}","signature":"-2723220098-declare class class1 {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"778005052-class class3 {}","signature":"-2644949312-declare class class3 {\n}\n","affectsGlobalScope":true,"impliedFormat":1},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true,"impliedFormat":1}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../project1/class1.ts","../project1/class3.ts","./class2.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"777933178-class class1 {}","signature":"-2723220098-declare class class1 {\n}\n","affectsGlobalScope":true},{"version":"778005052-class class3 {}","signature":"-2644949312-declare class class3 {\n}\n","affectsGlobalScope":true},{"version":"777969115-class class2 {}","signature":"-2684084705-declare class class2 {\n}\n","affectsGlobalScope":true}],"root":[4],"options":{"composite":true,"module":0},"latestChangedDtsFile":"./class2.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/projects/project2/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -263,49 +257,41 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class1.ts": { "original": { "version": "777933178-class class1 {}", "signature": "-2723220098-declare class class1 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777933178-class class1 {}", "signature": "-2723220098-declare class class1 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../project1/class3.ts": { "original": { "version": "778005052-class class3 {}", "signature": "-2644949312-declare class class3 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "778005052-class class3 {}", "signature": "-2644949312-declare class class3 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./class2.ts": { "original": { "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "777969115-class class2 {}", "signature": "-2684084705-declare class class2 {\n}\n", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -321,7 +307,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj "latestChangedDtsFile": "./class2.d.ts" }, "version": "FakeTSVersion", - "size": 1085 + "size": 1013 } diff --git a/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-when-there-is-no-config-file-name.js b/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-when-there-is-no-config-file-name.js index 90b27c61dc2e2..97e2a7178cbd9 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-when-there-is-no-config-file-name.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-when-there-is-no-config-file-name.js @@ -78,9 +78,6 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Failed Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /user/username/projects/project/lib/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/project/lib/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/project/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Triggered with /user/username/projects/project/app.js :: WatchInfo: /user/username/projects 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/project/app.js :: WatchInfo: /user/username/projects 1 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -95,14 +92,6 @@ console.log(lib_1.one); -PolledWatches:: -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project/lib/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: *new* {} diff --git a/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-with-extends-when-there-is-no-config-file-name.js b/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-with-extends-when-there-is-no-config-file-name.js index 0d79d32fa397a..0641a6169c447 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-with-extends-when-there-is-no-config-file-name.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-watching-referenced-project-with-extends-when-there-is-no-config-file-name.js @@ -76,9 +76,6 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Failed Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /user/username/projects/project/lib/index.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/project/lib/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/project/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Triggered with /user/username/projects/project/app.js :: WatchInfo: /user/username/projects 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/project/app.js :: WatchInfo: /user/username/projects 1 undefined Failed Lookup Locations [HH:MM:SS AM] Found 0 errors. Watching for file changes. @@ -93,14 +90,6 @@ console.log(lib_1.one); -PolledWatches:: -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project/lib/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: *new* {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false-useFsEventsOnParentDirectory.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false-useFsEventsOnParentDirectory.js index ae9ea513c1cf6..27eb613128817 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false-useFsEventsOnParentDirectory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false-useFsEventsOnParentDirectory.js @@ -36,8 +36,6 @@ CreatingProgramWith:: options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 {"watchFile":5} Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"watchFile":5} Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"watchFile":5} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"watchFile":5} File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":5} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":5} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":5} Type roots @@ -63,8 +61,6 @@ PolledWatches:: FsWatches:: /a/lib: *new* {} -/user/username/projects: *new* - {} /user/username/projects/myproject: *new* {} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false.js index db85665f51d4e..e4065b0ce8c33 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-false.js @@ -36,8 +36,6 @@ CreatingProgramWith:: options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -57,12 +55,8 @@ exports.x = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true-useFsEventsOnParentDirectory.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true-useFsEventsOnParentDirectory.js index 2d653dc81efda..6e8156f7efd9b 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true-useFsEventsOnParentDirectory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true-useFsEventsOnParentDirectory.js @@ -36,8 +36,6 @@ CreatingProgramWith:: options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 {"watchFile":5} Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"watchFile":5} Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"watchFile":5} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"watchFile":5} File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":5} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":5} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":5} Type roots @@ -63,8 +61,6 @@ PolledWatches:: FsWatches:: /a/lib: *new* {"inode":2} -/user/username/projects: *new* - {"inode":6} /user/username/projects/myproject: *new* {"inode":7} diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true.js index d72e50127f98b..52b6bf45afe42 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/fsWatchWithTimestamp-true.js @@ -36,8 +36,6 @@ CreatingProgramWith:: options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Type roots @@ -57,12 +55,8 @@ exports.x = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-event-ends-with-tilde.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-event-ends-with-tilde.js index 33a7d7eeff2b9..fd5eed508c146 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-event-ends-with-tilde.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-event-ends-with-tilde.js @@ -46,8 +46,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 { DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"watchFile":4} Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"watchFile":4} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"watchFile":4} File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":4} Type roots @@ -69,12 +67,8 @@ var foo_1 = require("./foo"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -158,12 +152,8 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -286,12 +276,8 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-occurs-when-file-is-still-on-the-disk.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-occurs-when-file-is-still-on-the-disk.js index 4d1c5617a9cff..cda22d8ea3b1e 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-occurs-when-file-is-still-on-the-disk.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-occurs-when-file-is-still-on-the-disk.js @@ -44,8 +44,6 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 {"watchFile":4} Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"watchFile":4} Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"watchFile":4} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"watchFile":4} File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":4} Type roots @@ -70,12 +68,8 @@ var foo_1 = require("./foo"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -131,12 +125,8 @@ sysLog:: /user/username/projects/myproject/foo.ts:: Changing watcher to PresentF PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -235,12 +225,8 @@ sysLog:: /user/username/projects/myproject/foo.ts:: Changing watcher to PresentF PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode.js index 6d2b3d432c225..61e92a5d57390 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode.js @@ -46,8 +46,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 { DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"watchFile":4} Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"watchFile":4} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"watchFile":4} File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":4} Type roots @@ -69,12 +67,8 @@ var foo_1 = require("./foo"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -146,12 +140,8 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -262,12 +252,8 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-when-rename-occurs-when-file-is-still-on-the-disk.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-when-rename-occurs-when-file-is-still-on-the-disk.js index a9249fc442b0d..a6533984be9ec 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-when-rename-occurs-when-file-is-still-on-the-disk.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-when-rename-occurs-when-file-is-still-on-the-disk.js @@ -44,8 +44,6 @@ CreatingProgramWith:: FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main.ts 250 {"watchFile":4} Source file FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"watchFile":4} Source file -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"watchFile":4} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"watchFile":4} File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"watchFile":4} Type roots @@ -70,12 +68,8 @@ var foo_1 = require("./foo"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js index 1ecf9d7590b84..71e41cadd7f65 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders-with-synchronousWatchDirectory.js @@ -48,12 +48,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/user/projects/myproject/src/file.ts"] options: {"extendedDiagnostics":true,"traceResolution":true,"watch":true,"configFilePath":"/home/user/projects/myproject/tsconfig.json"} -File '/home/user/projects/myproject/src/package.json' does not exist. -File '/home/user/projects/myproject/package.json' does not exist. -File '/home/user/projects/package.json' does not exist. -File '/home/user/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src/file.ts 250 {"synchronousWatchDirectory":true} Source file ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -69,17 +63,7 @@ File '/home/user/projects/myproject/node_modules/a/index.tsx' does not exist. File '/home/user/projects/myproject/node_modules/a/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/user/projects/myproject/node_modules/a/index.d.ts', result '/home/user/projects/myproject/node_modules/reala/index.d.ts'. ======== Module name 'a' was successfully resolved to '/home/user/projects/myproject/node_modules/reala/index.d.ts'. ======== -File '/home/user/projects/myproject/node_modules/reala/package.json' does not exist. -File '/home/user/projects/myproject/node_modules/package.json' does not exist. -File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/package.json' does not exist according to earlier cached lookups. -File '/home/user/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 {"synchronousWatchDirectory":true} Source file -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"synchronousWatchDirectory":true} Source file DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 {"synchronousWatchDirectory":true} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 {"synchronousWatchDirectory":true} Failed Lookup Locations @@ -87,11 +71,6 @@ DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/a 1 {"synchronousWatchDirectory":true} Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules 1 {"synchronousWatchDirectory":true} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules 1 {"synchronousWatchDirectory":true} Failed Lookup Locations -FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/user/projects/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/@types 1 {"synchronousWatchDirectory":true} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/@types 1 {"synchronousWatchDirectory":true} Type roots DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/node_modules/@types 1 {"synchronousWatchDirectory":true} Type roots @@ -113,18 +92,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /home/user/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/home/user/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/home/user/projects/myproject/node_modules/reala/package.json: *new* - {"pollingInterval":2000} -/home/user/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/home/user/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /home/user/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/user/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -209,20 +178,10 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /home/user/projects/myproject/no PolledWatches:: /home/user/projects/myproject/node_modules/@types: {"pollingInterval":500} -/home/user/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} /home/user/projects/myproject/node_modules/reala/index.d.ts: *new* {"pollingInterval":250} -/home/user/projects/myproject/node_modules/reala/package.json: - {"pollingInterval":2000} -/home/user/projects/myproject/package.json: - {"pollingInterval":2000} -/home/user/projects/myproject/src/package.json: - {"pollingInterval":2000} /home/user/projects/node_modules/@types: {"pollingInterval":500} -/home/user/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -270,23 +229,7 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/user/projects/myproject/src/file.ts"] options: {"extendedDiagnostics":true,"traceResolution":true,"watch":true,"configFilePath":"/home/user/projects/myproject/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/myproject/node_modules/reala/package.json' does not exist. -File '/home/user/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/package.json' does not exist according to earlier cached lookups. -File '/home/user/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 {"synchronousWatchDirectory":true} Source file -File '/home/user/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/package.json' does not exist according to earlier cached lookups. -File '/home/user/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -317,13 +260,8 @@ Directory '/home/user/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/node_modules 1 {"synchronousWatchDirectory":true} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/node_modules 1 {"synchronousWatchDirectory":true} Failed Lookup Locations -FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/reala/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution -FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/package.json 2000 {"synchronousWatchDirectory":true} File location affecting resolution src/file.ts:1:20 - error TS2307: Cannot find module 'a' or its corresponding type declarations. 1 import * as a from "a" @@ -338,24 +276,14 @@ FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/pack PolledWatches:: /home/user/projects/myproject/node_modules/@types: {"pollingInterval":500} -/home/user/projects/myproject/package.json: - {"pollingInterval":2000} -/home/user/projects/myproject/src/package.json: - {"pollingInterval":2000} /home/user/projects/node_modules: *new* {"pollingInterval":500} /home/user/projects/node_modules/@types: {"pollingInterval":500} -/home/user/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: -/home/user/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} /home/user/projects/myproject/node_modules/reala/index.d.ts: {"pollingInterval":250} -/home/user/projects/myproject/node_modules/reala/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js index 9e4b1966fcebf..8de7ef4ce9661 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js @@ -45,12 +45,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/user/projects/myproject/src/file.ts"] options: {"extendedDiagnostics":true,"traceResolution":true,"watch":true,"configFilePath":"/home/user/projects/myproject/tsconfig.json"} -File '/home/user/projects/myproject/src/package.json' does not exist. -File '/home/user/projects/myproject/package.json' does not exist. -File '/home/user/projects/package.json' does not exist. -File '/home/user/package.json' does not exist. -File '/home/package.json' does not exist. -File '/package.json' does not exist. FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src/file.ts 250 undefined Source file ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== Module resolution kind is not specified, using 'Node10'. @@ -66,17 +60,7 @@ File '/home/user/projects/myproject/node_modules/a/index.tsx' does not exist. File '/home/user/projects/myproject/node_modules/a/index.d.ts' exists - use it as a name resolution result. Resolving real path for '/home/user/projects/myproject/node_modules/a/index.d.ts', result '/home/user/projects/myproject/node_modules/reala/index.d.ts'. ======== Module name 'a' was successfully resolved to '/home/user/projects/myproject/node_modules/reala/index.d.ts'. ======== -File '/home/user/projects/myproject/node_modules/reala/package.json' does not exist. -File '/home/user/projects/myproject/node_modules/package.json' does not exist. -File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/package.json' does not exist according to earlier cached lookups. -File '/home/user/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 undefined Source file -File '/a/lib/package.json' does not exist. -File '/a/package.json' does not exist. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src 1 undefined Failed Lookup Locations @@ -84,11 +68,6 @@ DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/a 1 undefined Failed Lookup Locations DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules 1 undefined Failed Lookup Locations -FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/user/projects/package.json 2000 undefined File location affecting resolution -FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/src/package.json 2000 undefined File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/@types 1 undefined Type roots DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/node_modules/@types 1 undefined Type roots @@ -108,18 +87,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /home/user/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/home/user/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/home/user/projects/myproject/node_modules/reala/package.json: *new* - {"pollingInterval":2000} -/home/user/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/home/user/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /home/user/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/user/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -192,20 +161,10 @@ sysLog:: /home/user/projects/myproject/node_modules/reala/index.d.ts:: Changing PolledWatches:: /home/user/projects/myproject/node_modules/@types: {"pollingInterval":500} -/home/user/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} /home/user/projects/myproject/node_modules/reala/index.d.ts: *new* {"pollingInterval":250} -/home/user/projects/myproject/node_modules/reala/package.json: - {"pollingInterval":2000} -/home/user/projects/myproject/package.json: - {"pollingInterval":2000} -/home/user/projects/myproject/src/package.json: - {"pollingInterval":2000} /home/user/projects/node_modules/@types: {"pollingInterval":500} -/home/user/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -253,23 +212,7 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/user/projects/myproject/src/file.ts"] options: {"extendedDiagnostics":true,"traceResolution":true,"watch":true,"configFilePath":"/home/user/projects/myproject/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/myproject/node_modules/reala/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/package.json' does not exist according to earlier cached lookups. -File '/home/user/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/reala/index.d.ts 250 undefined Source file -File '/home/user/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/package.json' does not exist according to earlier cached lookups. -File '/home/user/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -300,13 +243,8 @@ Directory '/home/user/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/node_modules 1 undefined Failed Lookup Locations -FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/reala/package.json 2000 undefined File location affecting resolution -FileWatcher:: Close:: WatchInfo: /home/user/projects/myproject/node_modules/package.json 2000 undefined File location affecting resolution src/file.ts:1:20 - error TS2307: Cannot find module 'a' or its corresponding type declarations. 1 import * as a from "a" @@ -344,24 +282,14 @@ sysLog:: Elapsed:: *ms:: onTimerToUpdateChildWatches:: 0 undefined PolledWatches:: /home/user/projects/myproject/node_modules/@types: {"pollingInterval":500} -/home/user/projects/myproject/package.json: - {"pollingInterval":2000} -/home/user/projects/myproject/src/package.json: - {"pollingInterval":2000} /home/user/projects/node_modules: *new* {"pollingInterval":500} /home/user/projects/node_modules/@types: {"pollingInterval":500} -/home/user/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: -/home/user/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} /home/user/projects/myproject/node_modules/reala/index.d.ts: {"pollingInterval":250} -/home/user/projects/myproject/node_modules/reala/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -453,21 +381,6 @@ Synchronizing program CreatingProgramWith:: roots: ["/home/user/projects/myproject/src/file.ts"] options: {"extendedDiagnostics":true,"traceResolution":true,"watch":true,"configFilePath":"/home/user/projects/myproject/tsconfig.json"} -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/package.json' does not exist according to earlier cached lookups. -File '/home/user/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/myproject/package.json' does not exist according to earlier cached lookups. -File '/home/user/projects/package.json' does not exist according to earlier cached lookups. -File '/home/user/package.json' does not exist according to earlier cached lookups. -File '/home/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. ======== Resolving module 'a' from '/home/user/projects/myproject/src/file.ts'. ======== Module resolution kind is not specified, using 'Node10'. Loading module 'a' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -498,9 +411,6 @@ Directory '/home/user/node_modules' does not exist, skipping all lookups in it. Directory '/home/node_modules' does not exist, skipping all lookups in it. Directory '/node_modules' does not exist, skipping all lookups in it. ======== Module name 'a' was not resolved. ======== -File '/a/lib/package.json' does not exist according to earlier cached lookups. -File '/a/package.json' does not exist according to earlier cached lookups. -File '/package.json' does not exist according to earlier cached lookups. src/file.ts:1:20 - error TS2307: Cannot find module 'a' or its corresponding type declarations. 1 import * as a from "a" diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js index 4c6fa60c0f04d..654a9270b8973 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js @@ -52,14 +52,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -127,16 +121,10 @@ sysLog:: /user/username/projects/myproject/src/file2.ts:: Changing watcher to Mi PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/file2.ts: *new* {"pollingInterval":250} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -183,16 +171,10 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/file2.ts: {"pollingInterval":500} *new* -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/src/file2.ts: @@ -279,14 +261,8 @@ exports.x = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/src/file2.ts: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js index 1966c5b20c3a6..241fb0210d555 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js @@ -50,18 +50,8 @@ export {}; PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/file2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -174,18 +164,8 @@ export declare const y = 10; PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/node_modules/file2/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js index dde3f5d9d41e5..ca9bb25a8c0cc 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js @@ -41,18 +41,8 @@ Object.defineProperty(exports, "__esModule", { value: true }); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/file2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -131,18 +121,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/file2/index.d.ts: *new* {"pollingInterval":250} -/user/username/projects/myproject/node_modules/file2/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -197,24 +177,14 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/file2/index.d.ts: {"pollingInterval":250} -/user/username/projects/myproject/node_modules/file2/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -329,16 +299,10 @@ sysLog:: /user/username/projects/myproject/node_modules:: Changing watcher to Pr PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/node_modules: @@ -397,16 +361,10 @@ After running Timeout callback:: count: 2 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -471,18 +429,8 @@ Output:: PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/node_modules/file2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js index 1f45995c35da0..ced53f0f301ae 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js @@ -58,11 +58,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/ FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} File location affecting resolution ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Type roots @@ -83,18 +78,8 @@ var bar_1 = require("bar"); PolledWatches:: -/user/username/projects/myproject/node_modules/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js index 1b9125c42176b..3221f7c15e89f 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js @@ -59,11 +59,6 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/ FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Failed Lookup Locations -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Type roots @@ -85,18 +80,8 @@ var bar_1 = require("bar"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js index c0e658a713c5b..51809bf4798ed 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js @@ -61,18 +61,8 @@ var bar_1 = require("bar"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js index 6087fdbfb43d3..0c4ef46a0ae98 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js @@ -59,18 +59,8 @@ var bar_1 = require("bar"); PolledWatches:: -/user/username/projects/myproject/node_modules/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js index 92d949f4a9efc..c5a0c59025ffe 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js @@ -59,11 +59,6 @@ ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modul FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations -ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} File location affecting resolution -ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} File location affecting resolution -FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} File location affecting resolution DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Type roots DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Type roots @@ -87,14 +82,8 @@ var bar_1 = require("bar"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js index 3270937282e81..2d0bdad885860 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js @@ -61,14 +61,8 @@ var bar_1 = require("bar"); PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js index db3ad7dee255c..a84d6546b2e91 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Auto-importable-file-is-in-inferred-project-until-imported.js @@ -56,7 +56,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /node_modules/@angular/forms/forms.d.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -78,10 +77,6 @@ PolledWatches:: /node_modules/@angular/forms/node_modules/@types: *new* {"pollingInterval":500} -FsWatches:: -/node_modules/@angular/forms/package.json: *new* - {} - Projects:: /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 @@ -231,7 +226,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: +/node_modules/@angular/forms/package.json: *new* {} Projects:: diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js b/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js index 5f81b5dbdd7ac..30f47ce914767 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Closes-AutoImportProviderProject-when-host-project-closes.js @@ -95,7 +95,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -237,8 +236,6 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: *new* - {} /package.json: *new* {} /tsconfig.json: *new* @@ -305,8 +302,6 @@ PolledWatches:: FsWatches:: /index.ts: *new* {} -/node_modules/@angular/forms/package.json: - {} /package.json: {} /tsconfig.json: @@ -367,7 +362,6 @@ Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -396,7 +390,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: 1 undefined Conf Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: 1 undefined Config: /tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tsconfig.json 2000 undefined Project: /tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /tsconfig.json WatchType: Missing file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (1) @@ -420,8 +413,6 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: - {} /package.json: {} diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js index 481d3cff846cd..2c40404334d4c 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-close-when-root-files-are-redirects-that-dont-actually-exist.js @@ -117,7 +117,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/a/node_modules/b/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -260,8 +259,6 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/packages/a/node_modules/b/package.json: *new* - {} /packages/a/node_modules/b/tsconfig.json: *new* {} /packages/a/package.json: *new* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js index dcda5b2dbb5b9..bf04b596e7d34 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-create-auto-import-providers-upon-opening-projects-for-find-all-references.js @@ -111,7 +111,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -261,8 +260,6 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: *new* - {} /package.json: *new* {} /packages/b/package.json: *new* @@ -689,8 +686,6 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: - {} /package.json: {} /packages/a/index.ts: *new* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js index 0c0d7a2bd1e7a..0af5614107ef5 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Does-not-schedule-ensureProjectForOpenFiles-on-AutoImportProviderProject-creation.js @@ -299,7 +299,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -317,8 +316,6 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: *new* - {} /package.json: {} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js b/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js index 10e7cf64b6373..98266d6067d66 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Recovers-from-an-unparseable-package_json.js @@ -251,7 +251,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -269,8 +268,6 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: *new* - {} /package.json: {} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js index e5d006f954e90..1f303516e30b7 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-automatic-changes-in-node_modules.js @@ -101,7 +101,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 2 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -246,8 +245,6 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: *new* - {} /package.json: *new* {} /tsconfig.json: *new* @@ -348,7 +345,6 @@ Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json pr Info seq [hh:mm:ss:mss] Same program as before Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 2 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -364,26 +360,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- After getAutoImportProvider -PolledWatches:: -/a/lib/lib.d.ts: - {"pollingInterval":500} - -FsWatches:: -/package.json: - {} -/tsconfig.json: - {} - -FsWatches *deleted*:: -/node_modules/@angular/forms/package.json: - {} - -FsWatchesRecursive:: -/: - {} -/node_modules: - {} - Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js index 806328ed22044..76b6b1ba78d40 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-manual-changes-in-node_modules.js @@ -101,7 +101,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 2 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -246,8 +245,6 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: *new* - {} /package.json: *new* {} /tsconfig.json: *new* @@ -295,7 +292,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /node_modules/@angular/forms/forms.d.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -318,8 +314,6 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: - {} /package.json: {} /tsconfig.json: @@ -411,8 +405,6 @@ PolledWatches:: FsWatches:: /a/data/package.json: *new* {} -/node_modules/@angular/forms/package.json: - {} /package.json: {} /tsconfig.json: @@ -572,7 +564,7 @@ PolledWatches:: FsWatches:: /a/data/package.json: {} -/node_modules/@angular/forms/package.json: +/node_modules/@angular/forms/package.json: *new* {} /package.json: {} diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js index 7db8af1c08be1..8cd6c8f1ca708 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Responds-to-package_json-changes.js @@ -251,7 +251,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -269,8 +268,6 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: *new* - {} /package.json: {} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js b/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js index baca2a41e0353..45e824c23a1f1 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Reuses-autoImportProvider-when-program-structure-is-unchanged.js @@ -95,7 +95,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -237,8 +236,6 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: *new* - {} /package.json: *new* {} /tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js index 28579becb0683..0fbae34644fe4 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/Shared-source-files-between-AutoImportProvider-and-main-program.js @@ -116,7 +116,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/memfs/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -293,8 +292,6 @@ After request PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} -/node_modules/memfs/lib/package.json: *new* - {"pollingInterval":2000} FsWatches:: /node_modules/@types/node/package.json: *new* diff --git a/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js b/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js index b2e1f7b61c1e5..2e118f61e8f67 100644 --- a/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js +++ b/tests/baselines/reference/tsserver/autoImportProvider/projects-already-inside-node_modules.js @@ -53,7 +53,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /node_modules/@angular/forms/forms.d.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -75,10 +74,6 @@ PolledWatches:: /node_modules/@angular/forms/node_modules/@types: *new* {"pollingInterval":500} -FsWatches:: -/node_modules/@angular/forms/package.json: *new* - {} - Projects:: /dev/null/inferredProject1* (Inferred) *new* projectStateVersion: 1 @@ -232,7 +227,7 @@ PolledWatches:: {"pollingInterval":500} FsWatches:: -/node_modules/@angular/forms/package.json: +/node_modules/@angular/forms/package.json: *new* {} Projects:: diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js index cdabfafefd2cb..fe69896694944 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js @@ -75,8 +75,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/@types/yargs/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/yargs/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -117,14 +115,10 @@ After request PolledWatches:: /user/users/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} -/user/users/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/users/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/users/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/users/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -182,8 +176,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/yargs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) @@ -245,16 +237,12 @@ After request PolledWatches:: /user/users/projects/myproject/jsconfig.json: {"pollingInterval":2000} -/user/users/projects/myproject/package.json: - {"pollingInterval":2000} /user/users/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/users/projects/node_modules: *new* {"pollingInterval":500} /user/users/projects/node_modules/@types: {"pollingInterval":500} -/user/users/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js index ec51c2b48c992..404b708937553 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js @@ -87,10 +87,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 un Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/yargs/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -137,28 +133,20 @@ After request PolledWatches:: /user/users/projects/myproject/folder/node_modules: *new* {"pollingInterval":500} -/user/users/projects/myproject/folder/package.json: *new* - {"pollingInterval":2000} /user/users/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} -/user/users/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/users/projects/myproject/some/jsconfig.json: *new* {"pollingInterval":2000} /user/users/projects/myproject/some/node_modules: *new* {"pollingInterval":500} /user/users/projects/myproject/some/node_modules/@types: *new* {"pollingInterval":500} -/user/users/projects/myproject/some/package.json: *new* - {"pollingInterval":2000} /user/users/projects/myproject/some/tsconfig.json: *new* {"pollingInterval":2000} /user/users/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/users/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/users/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -226,10 +214,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/node_modules/yargs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder/node_modules 1 undefined Project: /dev/null/auxiliaryProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/folder/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (4) @@ -280,20 +264,14 @@ After request PolledWatches:: /user/users/projects/myproject/folder/node_modules: {"pollingInterval":500} -/user/users/projects/myproject/folder/package.json: - {"pollingInterval":2000} /user/users/projects/myproject/jsconfig.json: {"pollingInterval":2000} -/user/users/projects/myproject/package.json: - {"pollingInterval":2000} /user/users/projects/myproject/some/jsconfig.json: {"pollingInterval":2000} /user/users/projects/myproject/some/node_modules: {"pollingInterval":500} /user/users/projects/myproject/some/node_modules/@types: {"pollingInterval":500} -/user/users/projects/myproject/some/package.json: - {"pollingInterval":2000} /user/users/projects/myproject/some/tsconfig.json: {"pollingInterval":2000} /user/users/projects/myproject/tsconfig.json: @@ -302,8 +280,6 @@ PolledWatches:: {"pollingInterval":500} /user/users/projects/node_modules/@types: {"pollingInterval":500} -/user/users/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js index c7215b28970e8..8e6cfcd22e3ce 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Classic-module-resolution-mode.js @@ -70,11 +70,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo/boo/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo/boo/moo/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots @@ -189,20 +184,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/proj/foo/boo/moo/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/proj/foo/boo/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/proj/foo/package.json: *new* - {"pollingInterval":2000} /users/username/projects/proj/node_modules: *new* {"pollingInterval":500} /users/username/projects/proj/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/proj/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -264,18 +249,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/proj/foo/boo/moo/package.json: - {"pollingInterval":2000} -/users/username/projects/proj/foo/boo/package.json: - {"pollingInterval":2000} -/users/username/projects/proj/foo/package.json: - {"pollingInterval":2000} /users/username/projects/proj/node_modules/@types: {"pollingInterval":500} -/users/username/projects/proj/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/proj/node_modules: @@ -321,8 +296,6 @@ Info seq [hh:mm:ss:mss] Running: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/debug/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -379,22 +352,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/proj/foo/boo/moo/package.json: - {"pollingInterval":2000} -/users/username/projects/proj/foo/boo/package.json: - {"pollingInterval":2000} -/users/username/projects/proj/foo/package.json: - {"pollingInterval":2000} /users/username/projects/proj/node_modules/@types: {"pollingInterval":500} -/users/username/projects/proj/node_modules/debug/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/proj/node_modules/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/proj/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js index 3262e831a1d3a..ca92651191939 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/includes-the-parent-folder-FLLs-in-Node-module-resolution-mode.js @@ -70,11 +70,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo/boo/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/foo/boo/moo/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Type roots @@ -189,20 +184,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/proj/foo/boo/moo/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/proj/foo/boo/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/proj/foo/package.json: *new* - {"pollingInterval":2000} /users/username/projects/proj/node_modules: *new* {"pollingInterval":500} /users/username/projects/proj/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/proj/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -264,18 +249,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/proj/foo/boo/moo/package.json: - {"pollingInterval":2000} -/users/username/projects/proj/foo/boo/package.json: - {"pollingInterval":2000} -/users/username/projects/proj/foo/package.json: - {"pollingInterval":2000} /users/username/projects/proj/node_modules/@types: {"pollingInterval":500} -/users/username/projects/proj/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/proj/node_modules: @@ -321,8 +296,6 @@ Info seq [hh:mm:ss:mss] Running: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/debug/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/proj/node_modules/package.json 2000 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/proj/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/proj/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -379,22 +352,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/proj/foo/boo/moo/package.json: - {"pollingInterval":2000} -/users/username/projects/proj/foo/boo/package.json: - {"pollingInterval":2000} -/users/username/projects/proj/foo/package.json: - {"pollingInterval":2000} /users/username/projects/proj/node_modules/@types: {"pollingInterval":500} -/users/username/projects/proj/node_modules/debug/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/proj/node_modules/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/proj/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js index b021028fffbd7..bbcfa18048fc8 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js @@ -47,8 +47,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -81,16 +79,12 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /users/username/projects/project/node_modules: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/tsconfig.json: *new* {"pollingInterval":2000} @@ -155,26 +149,6 @@ Info seq [hh:mm:ss:mss] fileExists:: [ "key": "/jsconfig.json", "count": 1 }, - { - "key": "/users/username/projects/project/package.json", - "count": 3 - }, - { - "key": "/users/username/projects/package.json", - "count": 3 - }, - { - "key": "/users/username/package.json", - "count": 2 - }, - { - "key": "/users/package.json", - "count": 2 - }, - { - "key": "/package.json", - "count": 2 - }, { "key": "/users/username/projects/project/bar.ts", "count": 1 @@ -274,28 +248,48 @@ Info seq [hh:mm:ss:mss] fileExists:: [ { "key": "/bar.jsx", "count": 1 + }, + { + "key": "/users/username/projects/project/package.json", + "count": 1 + }, + { + "key": "/users/username/projects/package.json", + "count": 1 + }, + { + "key": "/users/username/package.json", + "count": 1 + }, + { + "key": "/users/package.json", + "count": 1 + }, + { + "key": "/package.json", + "count": 1 } ] Info seq [hh:mm:ss:mss] directoryExists:: [ { "key": "/users/username/projects/project", - "count": 4 + "count": 3 }, { "key": "/users/username/projects", - "count": 4 + "count": 3 }, { "key": "/users/username", - "count": 3 + "count": 2 }, { "key": "/users", - "count": 3 + "count": 2 }, { "key": "/", - "count": 3 + "count": 2 }, { "key": "/users/username/projects/project/node_modules", diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js index 5362867fbfb28..74787f7b0ecff 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js @@ -114,7 +114,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Type roots @@ -231,8 +230,6 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: *new* {} -/user/username/rootfolder/otherfolder/a/b/package.json: *new* - {} /user/username/rootfolder/otherfolder/a/b/tsconfig.json: *new* {} @@ -713,8 +710,6 @@ PolledWatches *deleted*:: FsWatches:: /a/lib/lib.d.ts: {} -/user/username/rootfolder/otherfolder/a/b/package.json: - {} /user/username/rootfolder/otherfolder/a/b/tsconfig.json: {} @@ -1225,8 +1220,6 @@ PolledWatches *deleted*:: FsWatches:: /a/lib/lib.d.ts: {} -/user/username/rootfolder/otherfolder/a/b/package.json: - {} /user/username/rootfolder/otherfolder/a/b/tsconfig.json: {} @@ -2108,8 +2101,6 @@ FsWatches:: {} /user/username/rootfolder/otherfolder/a/b/node_modules/lodash/package.json: *new* {} -/user/username/rootfolder/otherfolder/a/b/package.json: - {} /user/username/rootfolder/otherfolder/a/b/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js index c1a6b6afc0648..932536c2f24fd 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js @@ -114,7 +114,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules/@types 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Type roots @@ -231,8 +230,6 @@ PolledWatches:: FsWatches:: /a/lib/lib.d.ts: *new* {} -/user/username/rootfolder/otherfolder/a/b/package.json: *new* - {} /user/username/rootfolder/otherfolder/a/b/tsconfig.json: *new* {} @@ -716,8 +713,6 @@ PolledWatches *deleted*:: FsWatches:: /a/lib/lib.d.ts: {} -/user/username/rootfolder/otherfolder/a/b/package.json: - {} /user/username/rootfolder/otherfolder/a/b/tsconfig.json: {} @@ -1316,8 +1311,6 @@ PolledWatches *deleted*:: FsWatches:: /a/lib/lib.d.ts: {} -/user/username/rootfolder/otherfolder/a/b/package.json: - {} /user/username/rootfolder/otherfolder/a/b/tsconfig.json: {} @@ -2294,8 +2287,6 @@ FsWatches:: {} /user/username/rootfolder/otherfolder/a/b/node_modules/lodash/package.json: *new* {} -/user/username/rootfolder/otherfolder/a/b/package.json: - {} /user/username/rootfolder/otherfolder/a/b/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js index 6656d4243d1ba..619775bbe34ae 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js @@ -125,13 +125,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/node_modules 1 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/node_modules 1 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/redux/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/utils/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Users/someuser/work/applications/frontend/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -294,22 +287,8 @@ After request PolledWatches:: /Users/someuser/work/applications/frontend/node_modules: *new* {"pollingInterval":500} -/Users/someuser/work/applications/frontend/package.json: *new* - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/package.json: *new* - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/redux/package.json: *new* - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/utils/package.json: *new* - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/package.json: *new* - {"pollingInterval":2000} /Users/someuser/work/applications/frontend/types: *new* {"pollingInterval":500} -/Users/someuser/work/applications/package.json: *new* - {"pollingInterval":2000} -/Users/someuser/work/package.json: *new* - {"pollingInterval":2000} FsWatches:: /Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts: *new* @@ -419,22 +398,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /Users/someuser/work/applications/frontend/node_modules: {"pollingInterval":500} -/Users/someuser/work/applications/frontend/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/redux/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/utils/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/package.json: - {"pollingInterval":2000} /Users/someuser/work/applications/frontend/types: {"pollingInterval":500} -/Users/someuser/work/applications/package.json: - {"pollingInterval":2000} -/Users/someuser/work/package.json: - {"pollingInterval":2000} FsWatches:: /Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts: @@ -525,22 +490,8 @@ After request PolledWatches:: /Users/someuser/work/applications/frontend/node_modules: {"pollingInterval":500} -/Users/someuser/work/applications/frontend/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/redux/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/utils/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/package.json: - {"pollingInterval":2000} /Users/someuser/work/applications/frontend/types: {"pollingInterval":500} -/Users/someuser/work/applications/package.json: - {"pollingInterval":2000} -/Users/someuser/work/package.json: - {"pollingInterval":2000} FsWatches:: /Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js index 84407be54d5a0..3fb6f3414d1b0 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js @@ -125,13 +125,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/node_modules 1 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/node_modules 1 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/redux/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/utils/package.json 2000 undefined Project: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/Users/someuser/work/applications/frontend/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -294,22 +287,8 @@ After request PolledWatches:: /Users/someuser/work/applications/frontend/node_modules: *new* {"pollingInterval":500} -/Users/someuser/work/applications/frontend/package.json: *new* - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/package.json: *new* - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/redux/package.json: *new* - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/utils/package.json: *new* - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/package.json: *new* - {"pollingInterval":2000} /Users/someuser/work/applications/frontend/types: *new* {"pollingInterval":500} -/Users/someuser/work/applications/package.json: *new* - {"pollingInterval":2000} -/Users/someuser/work/package.json: *new* - {"pollingInterval":2000} FsWatches:: /Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts: *new* @@ -419,22 +398,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /Users/someuser/work/applications/frontend/node_modules: {"pollingInterval":500} -/Users/someuser/work/applications/frontend/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/redux/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/utils/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/package.json: - {"pollingInterval":2000} /Users/someuser/work/applications/frontend/types: {"pollingInterval":500} -/Users/someuser/work/applications/package.json: - {"pollingInterval":2000} -/Users/someuser/work/package.json: - {"pollingInterval":2000} FsWatches:: /Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts: @@ -525,22 +490,8 @@ After request PolledWatches:: /Users/someuser/work/applications/frontend/node_modules: {"pollingInterval":500} -/Users/someuser/work/applications/frontend/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/redux/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/app/utils/package.json: - {"pollingInterval":2000} -/Users/someuser/work/applications/frontend/src/package.json: - {"pollingInterval":2000} /Users/someuser/work/applications/frontend/types: {"pollingInterval":500} -/Users/someuser/work/applications/package.json: - {"pollingInterval":2000} -/Users/someuser/work/package.json: - {"pollingInterval":2000} FsWatches:: /Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js index fe213945df897..96b0b9b405817 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js @@ -86,10 +86,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/models/vessel.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/utils/db.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/utils/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/models/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/controllers/vessels/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/controllers/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es6.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) @@ -253,14 +249,6 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/a/b/controllers/package.json: *new* - {"pollingInterval":2000} -/a/b/controllers/vessels/package.json: *new* - {"pollingInterval":2000} -/a/b/models/package.json: *new* - {"pollingInterval":2000} -/a/b/utils/package.json: *new* - {"pollingInterval":2000} /a/lib/lib.es6.d.ts: *new* {"pollingInterval":500} @@ -360,14 +348,6 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/a/b/controllers/package.json: - {"pollingInterval":2000} -/a/b/controllers/vessels/package.json: - {"pollingInterval":2000} -/a/b/models/package.json: - {"pollingInterval":2000} -/a/b/utils/package.json: - {"pollingInterval":2000} /a/lib/lib.es6.d.ts: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js index 112ea079dc526..c7413d3d0fce9 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-creating-new-file-in-symlinked-folder.js @@ -83,11 +83,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client/folder1/module1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client/folder1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/folder2/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -187,20 +182,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/client/folder1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/client/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/folder2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -312,20 +297,10 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/client/folder1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/client/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/folder2/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js index c15491891ceb8..c3adb657a639a 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-node_modules-dont-receive-event-for-the-@types-file-addition.js @@ -59,8 +59,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/fo Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/folder/myproject/package.json 2000 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/folder/package.json 2000 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules/@types 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules/@types 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/node_modules/@types 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Type roots @@ -157,14 +155,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/folder/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/folder/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/folder/node_modules: *new* {"pollingInterval":500} /user/username/folder/node_modules/@types: *new* {"pollingInterval":500} -/user/username/folder/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -226,14 +220,10 @@ export {} PolledWatches:: -/user/username/folder/myproject/package.json: - {"pollingInterval":2000} /user/username/folder/node_modules: {"pollingInterval":500} /user/username/folder/node_modules/@types: {"pollingInterval":500} -/user/username/folder/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/folder/myproject/node_modules: @@ -271,9 +261,6 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules/@types/debug/package.json 2000 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules/@types/package.json 2000 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/folder/myproject/node_modules/package.json 2000 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/folder/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/folder/node_modules 1 undefined Project: /user/username/folder/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/folder/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -296,18 +283,8 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- After running Timeout callback:: count: 1 PolledWatches:: -/user/username/folder/myproject/node_modules/@types/debug/package.json: *new* - {"pollingInterval":2000} -/user/username/folder/myproject/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/user/username/folder/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/folder/myproject/package.json: - {"pollingInterval":2000} /user/username/folder/node_modules/@types: {"pollingInterval":500} -/user/username/folder/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/folder/node_modules: diff --git a/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js b/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js index d49e7bb06c403..9edaa8dd05d94 100644 --- a/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js +++ b/tests/baselines/reference/tsserver/codeFix/install-package-when-serialized.js @@ -67,9 +67,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -166,14 +163,8 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/codeFix/install-package.js b/tests/baselines/reference/tsserver/codeFix/install-package.js index 36054d10d7371..154aa287e132d 100644 --- a/tests/baselines/reference/tsserver/codeFix/install-package.js +++ b/tests/baselines/reference/tsserver/codeFix/install-package.js @@ -67,9 +67,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -166,14 +163,8 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js index 8901c3d5c42c8..67523f749c2da 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module-with-dts-emit.js @@ -82,8 +82,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/module.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -189,12 +187,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -270,12 +264,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js index 19d6ff570b460..d2f8a567e186e 100644 --- a/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js +++ b/tests/baselines/reference/tsserver/compileOnSave/emit-in-project-with-module.js @@ -82,8 +82,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/module.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -189,12 +187,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -270,12 +264,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js index f4f957a123b29..c3885769b8992 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import-without-includeCompletionsForModuleExports.js @@ -207,10 +207,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mylib/src 1 undefined Config: /user/username/projects/mylib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mylib/src 1 undefined Config: /user/username/projects/mylib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/package.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/package.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/app/src/package.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/app/package.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots @@ -359,12 +355,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/app/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/app/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/shared/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/app/package.json: *new* @@ -373,8 +365,6 @@ FsWatches:: {} /user/username/projects/mylib/tsconfig.json: *new* {} -/user/username/projects/shared/package.json: *new* - {} /user/username/projects/shared/src/index.ts: *new* {} /user/username/projects/shared/tsconfig.json: *new* @@ -1878,8 +1868,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 0 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/helper.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/other.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -2333,12 +2321,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/app/node_modules/@types: {"pollingInterval":500} -/user/username/projects/app/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/shared/src/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/app/package.json: @@ -2347,8 +2331,6 @@ FsWatches:: {} /user/username/projects/mylib/tsconfig.json: {} -/user/username/projects/shared/package.json: - {} /user/username/projects/shared/src/helper.ts: *new* {} /user/username/projects/shared/src/index.ts: diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js index 10e6279727ad9..e70a8c27fa2dc 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-with-existing-import.js @@ -208,10 +208,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mylib/src 1 undefined Config: /user/username/projects/mylib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mylib/src 1 undefined Config: /user/username/projects/mylib/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/package.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/package.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/app/src/package.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/app/package.json 2000 undefined Project: /user/username/projects/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/app/node_modules/@types 1 undefined Project: /user/username/projects/app/tsconfig.json WatchType: Type roots @@ -234,8 +230,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 0 dependencies 1 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/helper.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -379,12 +373,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/app/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/app/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/shared/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/app/package.json: *new* @@ -393,8 +383,6 @@ FsWatches:: {} /user/username/projects/mylib/tsconfig.json: *new* {} -/user/username/projects/shared/package.json: *new* - {} /user/username/projects/shared/src/helper.ts: *new* {} /user/username/projects/shared/src/index.ts: *new* @@ -1439,12 +1427,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/app/node_modules/@types: {"pollingInterval":500} -/user/username/projects/app/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/shared/src/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/app/package.json: @@ -1453,8 +1437,6 @@ FsWatches:: {} /user/username/projects/mylib/tsconfig.json: {} -/user/username/projects/shared/package.json: - {} /user/username/projects/shared/src/helper.ts: {} /user/username/projects/shared/src/index.ts: @@ -2089,8 +2071,6 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/shared/src/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/shared/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (0) diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js index 581d68a0a46ca..7485b297bc7c4 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping-without-includeCompletionsForModuleExports.js @@ -1818,8 +1818,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImpo Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/helper.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/other.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (3) @@ -2312,8 +2310,6 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/shared/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/app/package.json: @@ -2322,8 +2318,6 @@ FsWatches:: {} /user/username/projects/mylib/tsconfig.json: {} -/user/username/projects/shared/package.json: *new* - {} /user/username/projects/shared/src/helper.ts: *new* {} /user/username/projects/shared/src/index.ts: *new* diff --git a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js index a20dae0da104c..b1bd181308a4f 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js +++ b/tests/baselines/reference/tsserver/completions/in-project-reference-setup-with-path-mapping.js @@ -227,8 +227,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 0 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/helper.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -377,8 +375,6 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/shared/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/app/package.json: *new* @@ -387,8 +383,6 @@ FsWatches:: {} /user/username/projects/mylib/tsconfig.json: *new* {} -/user/username/projects/shared/package.json: *new* - {} /user/username/projects/shared/src/helper.ts: *new* {} /user/username/projects/shared/src/index.ts: *new* @@ -1441,8 +1435,6 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/shared/src/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/app/package.json: @@ -1451,8 +1443,6 @@ FsWatches:: {} /user/username/projects/mylib/tsconfig.json: {} -/user/username/projects/shared/package.json: - {} /user/username/projects/shared/src/helper.ts: {} /user/username/projects/shared/src/index.ts: @@ -2088,8 +2078,6 @@ Info seq [hh:mm:ss:mss] getCompletionData: Get current token: * Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/shared/src/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/shared/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (0) @@ -2520,46 +2508,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/a/lib/lib.d.ts: - {"pollingInterval":500} -/user/username/projects/app/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -PolledWatches *deleted*:: -/user/username/projects/shared/src/package.json: - {"pollingInterval":2000} - -FsWatches:: -/user/username/projects/app/package.json: - {} -/user/username/projects/app/tsconfig.json: - {} -/user/username/projects/mylib/tsconfig.json: - {} -/user/username/projects/shared/src/helper.ts: - {} -/user/username/projects/shared/src/index.ts: - {} -/user/username/projects/shared/src/other.ts: - {} -/user/username/projects/shared/tsconfig.json: - {} - -FsWatches *deleted*:: -/user/username/projects/shared/package.json: - {} - -FsWatchesRecursive:: -/user/username/projects/app/src: - {} -/user/username/projects/mylib/src: - {} -/user/username/projects/shared/src: - {} - Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) *deleted* projectStateVersion: 3 diff --git a/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js b/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js index 201f9c17ce012..06fb57a137252 100644 --- a/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js +++ b/tests/baselines/reference/tsserver/completions/in-project-where-there-are-no-imports-but-has-project-references-setup.js @@ -157,8 +157,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 1 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/src/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/shared/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -303,16 +301,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/shared/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/app/package.json: *new* {} /user/username/projects/app/tsconfig.json: *new* {} -/user/username/projects/shared/package.json: *new* - {} /user/username/projects/shared/src/index.ts: *new* {} /user/username/projects/shared/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js index fb691b8e3532d..e038dd1541a12 100644 --- a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js +++ b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js @@ -149,8 +149,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/typescript/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/myproject/node_modules/react-router-dom/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/typescript/node_modules/@types/react-router-dom/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: e:/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: e:/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: e:/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -192,8 +190,6 @@ e:/myproject/src/node_modules: *new* {"pollingInterval":500} e:/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -e:/myproject/src/package.json: *new* - {"pollingInterval":2000} e:/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} @@ -210,8 +206,6 @@ e:/myproject/node_modules/@types/react/package.json: *new* {} e:/myproject/node_modules/react-router-dom/package.json: *new* {} -e:/myproject/package.json: *new* - {} FsWatchesRecursive:: c:/typescript/node_modules: *new* @@ -398,8 +392,6 @@ e:/myproject/src/node_modules: {"pollingInterval":500} e:/myproject/src/node_modules/@types: {"pollingInterval":500} -e:/myproject/src/package.json: - {"pollingInterval":2000} e:/myproject/src/tsconfig.json: {"pollingInterval":2000} @@ -416,7 +408,7 @@ e:/myproject/node_modules/@types/react/package.json: {} e:/myproject/node_modules/react-router-dom/package.json: {} -e:/myproject/package.json: +e:/myproject/package.json: *new* {} FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js b/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js index a7d4f839cbe84..ad237ce219ed6 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js @@ -67,8 +67,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -168,12 +166,8 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -290,12 +284,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -367,12 +357,8 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js index a509776efc2bd..ee5b01fd8adde 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js @@ -69,9 +69,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -169,14 +166,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -246,10 +237,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -295,28 +282,20 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/sub/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js index 71de22c650cab..c39977bb56993 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one.js @@ -66,9 +66,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -166,14 +163,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -238,7 +229,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -273,32 +263,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/sub/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/src/bar.ts: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js index 5ffe6c9ed1aaf..a995dc265d653 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js @@ -69,9 +69,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -169,14 +166,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -246,10 +237,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -295,28 +282,20 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/sub/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js index a6e0e49d10178..936949172fcb8 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one.js @@ -66,9 +66,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -166,14 +163,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -238,7 +229,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -273,32 +263,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/sub/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/src/bar.ts: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js index 0110bee3238db..c65f3014606a2 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js @@ -69,9 +69,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -169,14 +166,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -240,10 +231,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -289,28 +276,20 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/sub/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js index 8783f7c811225..9a92d24ee443c 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js @@ -66,9 +66,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -166,14 +163,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -237,10 +228,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -286,28 +273,20 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/sub/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -406,7 +385,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -441,20 +419,12 @@ After running Timeout callback:: count: 2 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/src/sub/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/jsconfig.json: diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js index 8face23407466..63f8f789f4743 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js @@ -69,9 +69,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -169,14 +166,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -240,10 +231,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -289,28 +276,20 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/sub/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js index 4986c64985022..196383a14c6f4 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js @@ -66,9 +66,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/bar.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -166,14 +163,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -237,10 +228,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -286,28 +273,20 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/sub/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -465,7 +444,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -500,20 +478,12 @@ After running Timeout callback:: count: 2 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/src/sub/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/jsconfig.json: diff --git a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js index b328b2d7ec02a..e8a59630d2a23 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js +++ b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js @@ -73,12 +73,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/src/node_modules 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules/module1/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/src/package.json 2000 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/src/node_modules/@types 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/src/node_modules/@types 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/a/b/node_modules/@types 1 undefined Project: /user/username/rootfolder/a/b/src/tsconfig.json WatchType: Type roots @@ -183,26 +177,14 @@ After request PolledWatches:: /user/username/rootfolder/a/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/rootfolder/a/b/node_modules/module1/package.json: *new* - {"pollingInterval":2000} -/user/username/rootfolder/a/b/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/rootfolder/a/b/package.json: *new* - {"pollingInterval":2000} /user/username/rootfolder/a/b/src/node_modules: *new* {"pollingInterval":500} /user/username/rootfolder/a/b/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/rootfolder/a/b/src/package.json: *new* - {"pollingInterval":2000} /user/username/rootfolder/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/rootfolder/a/package.json: *new* - {"pollingInterval":2000} /user/username/rootfolder/node_modules/@types: *new* {"pollingInterval":500} -/user/username/rootfolder/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js b/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js index f9f87c185dd9b..1c3bb00100ba5 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js @@ -28,10 +28,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -71,30 +67,22 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/a/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/a/b/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/a/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/a/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -122,10 +110,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -171,38 +155,28 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/a/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/a/b/tsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/a/c/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/a/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/a/c/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/a/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/a/tsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} Projects:: /dev/null/inferredProject1* (Inferred) @@ -252,36 +226,26 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/a/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/a/b/tsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/a/c/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/a/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/a/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/a/tsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/a/c/tsconfig.json: @@ -330,11 +294,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/c/tsconfig. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/f2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/c/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/c/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/package.json 2000 undefined Project: /user/username/projects/myproject/a/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/c/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/c/tsconfig.json WatchType: Type roots @@ -493,10 +452,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/b/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -506,10 +461,6 @@ Info seq [hh:mm:ss:mss] Files (0) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/c/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -556,24 +507,14 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/a/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/a/b/jsconfig.json: diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js b/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js index d2ea1cb552295..ad7f685193bb4 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-be-able-to-handle-@types-if-input-file-list-is-empty.js @@ -130,8 +130,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/node_modules/@types/typings/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -169,10 +167,6 @@ After request PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} -/a/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/a/node_modules/@types/typings/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js index 3c16291c93b77..c9ed49638920d 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-properly-handle-module-resolution-changes-in-config-file.js @@ -58,7 +58,6 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) @@ -196,8 +195,6 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/a/b/node_modules/package.json: *new* - {"pollingInterval":2000} /a/lib/lib.d.ts: *new* {"pollingInterval":500} @@ -254,8 +251,6 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/a/b/node_modules/package.json: - {"pollingInterval":2000} /a/lib/lib.d.ts: {"pollingInterval":500} @@ -398,7 +393,6 @@ Info seq [hh:mm:ss:mss] Config: /a/b/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/node_modules/package.json 2000 undefined Project: /a/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -496,7 +490,6 @@ Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /a/module1.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*,/a/b/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -558,15 +551,9 @@ After running Timeout callback:: count: 0 PolledWatches:: /a/b/node_modules/node_modules/@types: *new* {"pollingInterval":500} -/a/b/node_modules/package.json: - {"pollingInterval":2000} *new* /a/lib/lib.d.ts: {"pollingInterval":500} -PolledWatches *deleted*:: -/a/b/node_modules/package.json: - {"pollingInterval":2000} - FsWatches:: /a/b/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js b/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js index b0daf513eac2f..3a19c6b08461a 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/when-default-configured-project-does-not-contain-the-file.js @@ -91,11 +91,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/lib/package.json 2000 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/package.json 2000 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/package.json 2000 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots @@ -195,20 +190,10 @@ After request PolledWatches:: /user/username/projects/myproject/bar/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/foo/lib/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/foo/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -280,11 +265,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/foobar/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo 1 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo 1 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/lib/package.json 2000 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/package.json 2000 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foobar/package.json 2000 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foobar/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foobar/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foobar/tsconfig.json WatchType: Type roots @@ -615,24 +595,12 @@ After request PolledWatches:: /user/username/projects/myproject/bar/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/bar/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/foo/lib/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/foo/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/foobar/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/foobar/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -715,9 +683,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/foo/tsconfig. } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/foo/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/package.json 2000 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots @@ -829,26 +794,14 @@ After request PolledWatches:: /user/username/projects/myproject/bar/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/bar/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/foo/lib/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/foo/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/foo/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/foobar/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/foobar/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -949,26 +902,14 @@ After request PolledWatches:: /user/username/projects/myproject/bar/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/bar/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/foo/lib/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/foo/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/foo/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/foobar/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/foobar/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js b/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js index 7775295d4e40f..9af22e68125b2 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js +++ b/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js @@ -102,10 +102,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2017.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/node_modules/bar 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/node_modules/bar 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/package.json 2000 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/package.json 2000 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/foo/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/foo/tsconfig.json WatchType: Type roots @@ -207,24 +203,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/bar/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/foo/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/foo/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2017.d.ts: *new* @@ -304,9 +292,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.dom.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/package.json 2000 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/bar/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/bar/tsconfig.json WatchType: Type roots @@ -419,24 +404,16 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/bar/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/bar/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/foo/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/foo/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.dom.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js index 63b99aca51965..fd00161eb5988 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js +++ b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan,-and-orphan-script-info-changes.js @@ -63,8 +63,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/module1.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -162,12 +160,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -199,7 +193,7 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json DocumentRegistry:: - Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined|1 + Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 /user/username/projects/myproject/module1.d.ts: TS 1 /a/lib/lib.d.ts: TS 1 @@ -246,8 +240,6 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -262,7 +254,7 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- DocumentRegistry:: - Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined|1 + Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 /a/lib/lib.d.ts: TS 1 Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /user/username/projects/myproject/module1.d.ts 1:: WatchInfo: /user/username/projects/myproject/module1.d.ts 500 undefined WatchType: Closed Script info @@ -273,28 +265,6 @@ export const a: number; export const b: number; -PolledWatches:: -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -PolledWatches *deleted*:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject: - {} -/user/username/projects/myproject/module1.d.ts: - {} -/user/username/projects/myproject/tsconfig.json: - {} - Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 @@ -357,8 +327,6 @@ ScriptInfos:: containingProjects: 0 Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -376,7 +344,7 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- DocumentRegistry:: - Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined|1 + Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 /a/lib/lib.d.ts: TS 1 /user/username/projects/myproject/module1.d.ts: TS 1 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js index af7c1e02817af..107e934cd4252 100644 --- a/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js +++ b/tests/baselines/reference/tsserver/documentRegistry/Caches-the-source-file-if-script-info-is-orphan.js @@ -63,8 +63,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/module1.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -162,12 +160,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -199,7 +193,7 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json DocumentRegistry:: - Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined|1 + Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 /user/username/projects/myproject/module1.d.ts: TS 1 /a/lib/lib.d.ts: TS 1 @@ -246,8 +240,6 @@ ScriptInfos:: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -262,33 +254,11 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- DocumentRegistry:: - Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined|1 + Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 /a/lib/lib.d.ts: TS 1 Before request -PolledWatches:: -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} - -PolledWatches *deleted*:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject: - {} -/user/username/projects/myproject/module1.d.ts: - {} -/user/username/projects/myproject/tsconfig.json: - {} - Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* projectStateVersion: 2 @@ -349,8 +319,6 @@ ScriptInfos:: containingProjects: 0 Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -368,7 +336,7 @@ Info seq [hh:mm:ss:mss] Files (3) Info seq [hh:mm:ss:mss] ----------------------------------------------- DocumentRegistry:: - Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined|1 + Key:: undefined|undefined|undefined|false|undefined|undefined|undefined|undefined|undefined|undefined /user/username/projects/myproject/index.ts: TS 1 /a/lib/lib.d.ts: TS 1 /user/username/projects/myproject/module1.d.ts: TS 1 \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js index 69f232ef2e515..2c6bc374fa25d 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js @@ -54,9 +54,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -97,24 +94,18 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/large: *new* {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js index 93941e89da4ed..c672d42a6a3b0 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-tsconfig.js @@ -80,9 +80,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -202,14 +199,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js index 15d013362e647..0efc9dd231358 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js @@ -38,9 +38,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/large.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -81,22 +78,16 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js index 0562f775c0fa6..4ad2c65306def 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-tsconfig.js @@ -68,9 +68,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/large.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -185,14 +182,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js index 9390709efb564..7da582a117004 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-default-event-handler.js @@ -64,8 +64,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -160,12 +158,8 @@ After request PolledWatches:: /user/username/projects/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js index 36d38ba9e89a0..0cb2fba432ec6 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-an-extended-config-file-when-using-event-handler.js @@ -64,8 +64,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -157,12 +155,8 @@ After request PolledWatches:: /user/username/projects/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js index 8ff655772123f..0b36c237c91e3 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-default-event-handler.js @@ -55,8 +55,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -151,12 +149,8 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js index 1f3e65a5f5019..dacb9ca08ff07 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/change-is-detected-in-the-config-file-when-using-event-handler.js @@ -55,8 +55,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -148,12 +146,8 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js index 346a1aed1e6b7..f03c1908481ff 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-default-event-handler.js @@ -126,8 +126,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -226,12 +224,8 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js index 0a874e860dd1a..577db134ced56 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-disabled-when-using-event-handler.js @@ -126,8 +126,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -223,12 +221,8 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js index 955ceddd2b50c..bd4129c84d3ee 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-default-event-handler.js @@ -91,8 +91,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -186,12 +184,8 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js index 69a7f5292fa58..264ae5af6ba76 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-false-when-using-event-handler.js @@ -91,8 +91,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -183,12 +181,8 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js index c957f44213f22..6057040f5bff1 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-default-event-handler.js @@ -124,8 +124,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -220,12 +218,8 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js index 094b5c2ab9926..2650d8bb75a4a 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/lazyConfiguredProjectsFromExternalProject-is-true-and-file-is-opened-when-using-event-handler.js @@ -124,8 +124,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -217,12 +215,8 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js index eab49d4e47a53..bd41b753400fe 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-default-event-handler.js @@ -107,9 +107,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -223,16 +220,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -298,8 +289,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -451,16 +440,10 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: - {"pollingInterval":2000} /user/username/projects/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/b/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js index 616d861b38aa2..771c80942715e 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-disableSourceOfProjectReferenceRedirect-when-using-event-handler.js @@ -107,9 +107,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -220,16 +217,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -295,8 +286,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -445,16 +434,10 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: - {"pollingInterval":2000} /user/username/projects/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/b/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js index bf75c900f2495..10fa4d085b397 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-default-event-handler.js @@ -103,9 +103,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -216,16 +213,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -289,8 +280,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -442,16 +431,10 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: - {"pollingInterval":2000} /user/username/projects/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/b/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js index 1f6f016b47cc9..50b5b7f2219d4 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/opening-original-location-project-when-using-event-handler.js @@ -103,9 +103,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -213,16 +210,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -286,8 +277,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -436,16 +425,10 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: - {"pollingInterval":2000} /user/username/projects/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/b/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js index bc443378dc6ea..1f72e4ca24c67 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-default-event-handler.js @@ -61,8 +61,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -157,12 +155,8 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -224,8 +218,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -326,16 +318,10 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/a/package.json: - {"pollingInterval":2000} /user/username/projects/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js index a8eda06e0e54b..f0d88da58167c 100644 --- a/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js +++ b/tests/baselines/reference/tsserver/events/projectLoading/project-is-created-by-open-file-when-using-event-handler.js @@ -61,8 +61,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a 1 undefined Config: /user/username/projects/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/a/tsconfig.json WatchType: Type roots @@ -154,12 +152,8 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -221,8 +215,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/b/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b 1 undefined Config: /user/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/b/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/b/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/b/tsconfig.json WatchType: Type roots @@ -320,16 +312,10 @@ After request PolledWatches:: /user/username/projects/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/a/package.json: - {"pollingInterval":2000} /user/username/projects/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js index e0805f653725c..cf9bbf1375d8a 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js @@ -67,7 +67,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tscon Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/project/package.json 2000 undefined Project: /a/b/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -160,8 +159,6 @@ After request PolledWatches:: /a/b/project/node_modules: *new* {"pollingInterval":500} -/a/b/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/b/project/file3.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js index 71a198038888d..f2dfc18fef1a8 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js @@ -75,11 +75,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -174,22 +169,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/rootfolder/otherfolder/a/b/node_modules: *new* {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/package.json: *new* - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/b/project/node_modules: *new* {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/project/package.json: *new* - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/node_modules: *new* {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/package.json: *new* - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/node_modules: *new* {"pollingInterval":500} -/user/username/rootfolder/otherfolder/package.json: *new* - {"pollingInterval":2000} -/user/username/rootfolder/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -337,22 +322,12 @@ export class a { } PolledWatches:: /user/username/rootfolder/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/package.json: - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/b/project/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/project/package.json: - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/package.json: - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/package.json: - {"pollingInterval":2000} -/user/username/rootfolder/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/rootfolder/otherfolder/a/b/node_modules: @@ -398,7 +373,6 @@ Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/proj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -455,20 +429,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/rootfolder/otherfolder/a/b/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/rootfolder/otherfolder/a/b/package.json: - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/b/project/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/project/package.json: - {"pollingInterval":2000} -/user/username/rootfolder/otherfolder/a/package.json: - {"pollingInterval":2000} -/user/username/rootfolder/otherfolder/package.json: - {"pollingInterval":2000} -/user/username/rootfolder/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/rootfolder/node_modules: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index efa1f39d35b0d..0e74fc05c4322 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -50,8 +50,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -191,14 +189,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -287,14 +281,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -421,12 +411,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index d473c6ab43513..207e37b1dcf49 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -50,8 +50,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -192,12 +190,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -286,12 +280,8 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -416,12 +406,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js index 8f5a83a4bb34a..cf213ca88fc80 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-deleted-files.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -184,14 +182,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -280,14 +274,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -426,12 +416,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js index 69cb7b6c966f7..e0cc6b9275876 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-newly-created-files.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -184,14 +182,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -280,14 +274,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -438,12 +428,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js index 779481d763881..51f4380d8bc37 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -184,14 +182,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -280,14 +274,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -434,14 +424,10 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -769,12 +755,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js index 4bdfda00ddc81..7048b47ef8dce 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-contains-only-itself.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -184,14 +182,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -280,14 +274,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -414,12 +404,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js index 7c438e41dae85..01e6e03e3a2c5 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-changes-in-non-root-files.js @@ -47,8 +47,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -186,14 +184,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -262,14 +256,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -378,12 +368,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js index 1c75ddd1d4b4a..d248248944b05 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-non-existing-code-file.js @@ -43,8 +43,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -183,14 +181,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile2.ts: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project/tsconfig.json: *new* @@ -234,14 +228,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile2.ts: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -355,14 +345,10 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile2.ts: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -409,12 +395,8 @@ export var Foo4 = 10; PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile2.ts: @@ -493,12 +475,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js index 11de426f64382..1adde4c3630a7 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-detect-removed-code-file.js @@ -43,8 +43,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -183,14 +181,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1.ts: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project/tsconfig.json: *new* @@ -249,12 +243,8 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -341,14 +331,10 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1.ts: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js index 83a470ebb9fd1..593ca13122001 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -184,14 +182,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -280,14 +274,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -414,12 +404,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js index d4b6be81bdc1b..c6224125109ea 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-return-cascaded-affected-file-list.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -184,14 +182,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -290,14 +284,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -454,12 +444,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js index f7e1156a19c6a..74b7f3f8de103 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-should-work-fine-for-files-with-circular-references.js @@ -43,8 +43,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -183,14 +181,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/file2.ts: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project/tsconfig.json: *new* @@ -250,12 +244,8 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -347,12 +337,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js index 117b46684497b..cf5fa88b0a71e 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when---outFile-is-set.js @@ -60,8 +60,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -155,12 +153,8 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,12 +254,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js index d6b4f63a72bea..970a4f2f352ee 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-adding-new-file.js @@ -55,8 +55,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -148,12 +146,8 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -253,12 +247,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -368,12 +358,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js index d3f4fa22f54d4..b9c43bd23e9b0 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-when-both-options-are-not-set.js @@ -57,8 +57,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -150,12 +148,8 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index a3a7438e91344..4a946b1680449 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -67,7 +67,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tscon Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/project/package.json 2000 undefined Project: /a/b/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -163,8 +162,6 @@ After request PolledWatches:: /a/b/project/node_modules: *new* {"pollingInterval":500} -/a/b/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/b/project/file3.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index 088778f2d005f..0f7fafd9ac4b9 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -75,11 +75,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -177,22 +172,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/rootfolder/otherfolder/a/b/node_modules: *new* {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/package.json: *new* - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/b/project/node_modules: *new* {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/project/package.json: *new* - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/node_modules: *new* {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/package.json: *new* - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/node_modules: *new* {"pollingInterval":500} -/user/username/rootfolder/otherfolder/package.json: *new* - {"pollingInterval":2000} -/user/username/rootfolder/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -341,22 +326,12 @@ export class a { } PolledWatches:: /user/username/rootfolder/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/package.json: - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/b/project/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/project/package.json: - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/package.json: - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/package.json: - {"pollingInterval":2000} -/user/username/rootfolder/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/rootfolder/otherfolder/a/b/node_modules: @@ -402,7 +377,6 @@ Info seq [hh:mm:ss:mss] Running: /user/username/rootfolder/otherfolder/a/b/proj Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -460,20 +434,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/rootfolder/otherfolder/a/b/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/rootfolder/otherfolder/a/b/package.json: - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/b/project/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/project/package.json: - {"pollingInterval":2000} -/user/username/rootfolder/otherfolder/a/package.json: - {"pollingInterval":2000} -/user/username/rootfolder/otherfolder/package.json: - {"pollingInterval":2000} -/user/username/rootfolder/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/rootfolder/node_modules: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index c57f46656ab12..b230751dd76ad 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -50,8 +50,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -194,14 +192,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -290,14 +284,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -425,12 +415,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index e4d6e420bb1a1..bfdd86f9dbb1f 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -50,8 +50,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -195,12 +193,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -289,12 +283,8 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -420,12 +410,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js index 6d0671b56f5fb..566229b45f88c 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -187,14 +185,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -283,14 +277,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -430,12 +420,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js index 5fb1389febdb0..a4106f4f3c8fa 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -187,14 +185,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -283,14 +277,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -442,12 +432,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js index 0e464de0c8ebd..03adb409ff6ec 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -187,14 +185,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -283,14 +277,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -438,14 +428,10 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -775,12 +761,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js index da893f5a824d3..6ab02c8c02424 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -187,14 +185,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -283,14 +277,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -418,12 +408,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js index c9cb6bea6571d..5edc4c2eaeb97 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js @@ -47,8 +47,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -189,14 +187,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -265,14 +259,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -382,12 +372,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js index 1015dc08db44a..8219706712a5a 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js @@ -43,8 +43,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -186,14 +184,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile2.ts: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project/tsconfig.json: *new* @@ -237,14 +231,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile2.ts: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -359,14 +349,10 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile2.ts: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -413,12 +399,8 @@ export var Foo4 = 10; PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile2.ts: @@ -498,12 +480,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js index fa6da7206d065..1c88975c442b3 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js @@ -43,8 +43,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -186,14 +184,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1.ts: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project/tsconfig.json: *new* @@ -252,12 +246,8 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -345,14 +335,10 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1.ts: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js index 0f669de0dd9bc..6fab96e576fe3 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -187,14 +185,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -283,14 +277,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -418,12 +408,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js index f2cf0716195fb..bd705b0228088 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -187,14 +185,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -293,14 +287,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -458,12 +448,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js index 5529f8033737b..03a6bb8a23dee 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js @@ -43,8 +43,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -186,14 +184,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/file2.ts: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project/tsconfig.json: *new* @@ -253,12 +247,8 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -351,12 +341,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js index 26c8323a3049c..915d2af6ff331 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js @@ -60,8 +60,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -158,12 +156,8 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -264,12 +258,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js index eff3e4ec822ae..ed1644866b6e2 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js @@ -55,8 +55,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -151,12 +149,8 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -257,12 +251,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -373,12 +363,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js index 97f10e608fa55..caf4ef5e81b69 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js @@ -57,8 +57,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -153,12 +151,8 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -259,12 +253,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index fa8db928e7160..7ef14181388bc 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -67,7 +67,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/project/tscon Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/project/node_modules 1 undefined Project: /a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/project/package.json 2000 undefined Project: /a/b/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -163,8 +162,6 @@ After request PolledWatches:: /a/b/project/node_modules: *new* {"pollingInterval":500} -/a/b/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/b/project/file3.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index aafc5d680abf3..9313c836d1ea9 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -75,11 +75,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/ro Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -177,22 +172,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/rootfolder/otherfolder/a/b/node_modules: *new* {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/package.json: *new* - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/b/project/node_modules: *new* {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/project/package.json: *new* - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/node_modules: *new* {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/package.json: *new* - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/node_modules: *new* {"pollingInterval":500} -/user/username/rootfolder/otherfolder/package.json: *new* - {"pollingInterval":2000} -/user/username/rootfolder/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -346,22 +331,12 @@ export class a { } PolledWatches:: /user/username/rootfolder/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/package.json: - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/b/project/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/project/package.json: - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/package.json: - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/package.json: - {"pollingInterval":2000} -/user/username/rootfolder/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/rootfolder/otherfolder/a/b/node_modules: @@ -389,7 +364,6 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules/package.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/a/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/rootfolder/otherfolder/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -428,20 +402,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 1 PolledWatches:: -/user/username/rootfolder/otherfolder/a/b/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/rootfolder/otherfolder/a/b/package.json: - {"pollingInterval":2000} /user/username/rootfolder/otherfolder/a/b/project/node_modules: {"pollingInterval":500} -/user/username/rootfolder/otherfolder/a/b/project/package.json: - {"pollingInterval":2000} -/user/username/rootfolder/otherfolder/a/package.json: - {"pollingInterval":2000} -/user/username/rootfolder/otherfolder/package.json: - {"pollingInterval":2000} -/user/username/rootfolder/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/rootfolder/node_modules: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js index ca7c530108685..0a75bed57e584 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---isolatedModules-is-specified.js @@ -50,8 +50,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -194,14 +192,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -290,14 +284,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -426,12 +416,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js index cff251a253c5e..d743bfb1078dc 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-always-return-the-file-itself-if---out-or---outFile-is-specified.js @@ -50,8 +50,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -195,12 +193,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -289,12 +283,8 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -421,12 +411,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js index cb7fe9e2eaaa5..10f908507b7a4 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-deleted-files.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -187,14 +185,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -283,14 +277,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -431,12 +421,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js index a60670c0102d5..6778aec928362 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-newly-created-files.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -187,14 +185,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -283,14 +277,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -443,12 +433,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js index 54385ec711b13..4dc1a16dac4c6 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-be-up-to-date-with-the-reference-map-changes.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -187,14 +185,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -283,14 +277,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -439,14 +429,10 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -799,12 +785,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js index cd1f5074695da..4406910addda7 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-contains-only-itself.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -187,14 +185,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -283,14 +277,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -419,12 +409,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js index 1864cba4e130f..a62ba29489b43 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-changes-in-non-root-files.js @@ -47,8 +47,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -189,14 +187,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -265,14 +259,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -383,12 +373,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js index aab330cbd3153..4bb6a1616e412 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-non-existing-code-file.js @@ -43,8 +43,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -186,14 +184,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile2.ts: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project/tsconfig.json: *new* @@ -237,14 +231,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile2.ts: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -360,14 +350,10 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile2.ts: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -418,12 +404,8 @@ export var Foo4 = 10; PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile2.ts: @@ -515,12 +497,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js index 417801317ac4d..0fbf7fbbf9929 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-detect-removed-code-file.js @@ -43,8 +43,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -186,14 +184,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1.ts: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project/tsconfig.json: *new* @@ -252,12 +246,8 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -346,14 +336,10 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1.ts: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js index 64c0e36017067..fba280259d56a 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-all-files-if-a-global-file-changed-shape.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -187,14 +185,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -283,14 +277,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -419,12 +409,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js index ab52808266377..a2cfee5de9af0 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-return-cascaded-affected-file-list.js @@ -45,8 +45,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile1 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -187,14 +185,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -293,14 +287,10 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile1: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -459,12 +449,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile1: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js index 80321ad4ca9e9..210a75009e9b5 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-should-work-fine-for-files-with-circular-references.js @@ -43,8 +43,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/file2.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -186,14 +184,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/file2.ts: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project/tsconfig.json: *new* @@ -253,12 +247,8 @@ interface Array { length: number; [n: number]: T; } PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/lib/lib.d.ts: @@ -352,12 +342,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js index 6642bd00c7f0d..6199a76964c30 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when---outFile-is-set.js @@ -60,8 +60,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -158,12 +156,8 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -265,12 +259,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js index f82f10361be1e..a0167cfc180f9 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-adding-new-file.js @@ -55,8 +55,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -151,12 +149,8 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -258,12 +252,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -390,12 +380,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js index 4fe7c7d1db37b..e64fd16b89009 100644 --- a/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js +++ b/tests/baselines/reference/tsserver/events/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-when-both-options-are-not-set.js @@ -57,8 +57,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -153,12 +151,8 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,12 +254,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js index ff4b23996b9c6..41c40ace7a8e9 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-on-windows.js @@ -141,54 +141,6 @@ Info seq [hh:mm:ss:mss] event: Custom watchFile: 6: c:/a/lib/lib.d.ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/package.json 2000 undefined Project: c:/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "CustomHandler::createFileWatcher", - "body": { - "id": 7, - "path": "c:/projects/myproject/package.json" - } - } -Custom watchFile: 7: c:/projects/myproject/package.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/package.json 2000 undefined Project: c:/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "CustomHandler::createFileWatcher", - "body": { - "id": 8, - "path": "c:/projects/package.json" - } - } -Custom watchFile: 8: c:/projects/package.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules/something/package.json 2000 undefined Project: c:/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "CustomHandler::createFileWatcher", - "body": { - "id": 9, - "path": "c:/projects/myproject/node_modules/something/package.json" - } - } -Custom watchFile: 9: c:/projects/myproject/node_modules/something/package.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules/package.json 2000 undefined Project: c:/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "CustomHandler::createFileWatcher", - "body": { - "id": 10, - "path": "c:/projects/myproject/node_modules/package.json" - } - } -Custom watchFile: 10: c:/projects/myproject/node_modules/package.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules/@types 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -196,13 +148,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "CustomHandler::createDirectoryWatcher", "body": { - "id": 11, + "id": 7, "path": "c:/projects/myproject/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory: 11: c:/projects/myproject/node_modules/@types true true +Custom watchDirectory: 7: c:/projects/myproject/node_modules/@types true true Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/projects/myproject/node_modules/@types 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/projects/node_modules/@types 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -211,13 +163,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "CustomHandler::createDirectoryWatcher", "body": { - "id": 12, + "id": 8, "path": "c:/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory: 12: c:/projects/node_modules/@types true true +Custom watchDirectory: 8: c:/projects/node_modules/@types true true Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/projects/node_modules/@types 1 undefined Project: c:/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) @@ -319,16 +271,8 @@ c:/projects/myproject/b.ts: *new* {"id":3,"path":"c:/projects/myproject/b.ts"} c:/projects/myproject/m.ts: *new* {"id":4,"path":"c:/projects/myproject/m.ts"} -c:/projects/myproject/node_modules/package.json: *new* - {"id":10,"path":"c:/projects/myproject/node_modules/package.json"} -c:/projects/myproject/node_modules/something/package.json: *new* - {"id":9,"path":"c:/projects/myproject/node_modules/something/package.json"} -c:/projects/myproject/package.json: *new* - {"id":7,"path":"c:/projects/myproject/package.json"} c:/projects/myproject/tsconfig.json: *new* {"id":1,"path":"c:/projects/myproject/tsconfig.json"} -c:/projects/package.json: *new* - {"id":8,"path":"c:/projects/package.json"} Custom WatchedDirectoriesRecursive:: c:/projects/myproject: *new* @@ -336,9 +280,9 @@ c:/projects/myproject: *new* c:/projects/myproject/node_modules: *new* {"id":5,"path":"c:/projects/myproject/node_modules","recursive":true} c:/projects/myproject/node_modules/@types: *new* - {"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":7,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} c:/projects/node_modules/@types: *new* - {"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":8,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Projects:: c:/projects/myproject/tsconfig.json (Configured) *new* @@ -422,11 +366,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "CustomHandler::createFileWatcher", "body": { - "id": 13, + "id": 9, "path": "c:/projects/myproject/c.ts" } } -Custom watchFile: 13: c:/projects/myproject/c.ts +Custom watchFile: 9: c:/projects/myproject/c.ts Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) @@ -489,19 +433,11 @@ c:/a/lib/lib.d.ts: c:/projects/myproject/b.ts: {"id":3,"path":"c:/projects/myproject/b.ts"} c:/projects/myproject/c.ts: *new* - {"id":13,"path":"c:/projects/myproject/c.ts"} + {"id":9,"path":"c:/projects/myproject/c.ts"} c:/projects/myproject/m.ts: {"id":4,"path":"c:/projects/myproject/m.ts"} -c:/projects/myproject/node_modules/package.json: - {"id":10,"path":"c:/projects/myproject/node_modules/package.json"} -c:/projects/myproject/node_modules/something/package.json: - {"id":9,"path":"c:/projects/myproject/node_modules/something/package.json"} -c:/projects/myproject/package.json: - {"id":7,"path":"c:/projects/myproject/package.json"} c:/projects/myproject/tsconfig.json: {"id":1,"path":"c:/projects/myproject/tsconfig.json"} -c:/projects/package.json: - {"id":8,"path":"c:/projects/package.json"} Custom WatchedDirectoriesRecursive:: c:/projects/myproject: @@ -509,9 +445,9 @@ c:/projects/myproject: c:/projects/myproject/node_modules: {"id":5,"path":"c:/projects/myproject/node_modules","recursive":true} c:/projects/myproject/node_modules/@types: - {"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":7,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} c:/projects/node_modules/@types: - {"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":8,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Projects:: c:/projects/myproject/tsconfig.json (Configured) *changed* @@ -738,19 +674,11 @@ Custom WatchedFiles:: c:/a/lib/lib.d.ts: {"id":6,"path":"c:/a/lib/lib.d.ts"} c:/projects/myproject/c.ts: - {"id":13,"path":"c:/projects/myproject/c.ts"} + {"id":9,"path":"c:/projects/myproject/c.ts"} c:/projects/myproject/m.ts: {"id":4,"path":"c:/projects/myproject/m.ts"} -c:/projects/myproject/node_modules/package.json: - {"id":10,"path":"c:/projects/myproject/node_modules/package.json"} -c:/projects/myproject/node_modules/something/package.json: - {"id":9,"path":"c:/projects/myproject/node_modules/something/package.json"} -c:/projects/myproject/package.json: - {"id":7,"path":"c:/projects/myproject/package.json"} c:/projects/myproject/tsconfig.json: {"id":1,"path":"c:/projects/myproject/tsconfig.json"} -c:/projects/package.json: - {"id":8,"path":"c:/projects/package.json"} Custom WatchedFiles *deleted*:: c:/projects/myproject/b.ts: @@ -762,9 +690,9 @@ c:/projects/myproject: c:/projects/myproject/node_modules: {"id":5,"path":"c:/projects/myproject/node_modules","recursive":true} c:/projects/myproject/node_modules/@types: - {"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":7,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} c:/projects/node_modules/@types: - {"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":8,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} ScriptInfos:: c:/a/lib/lib.d.ts @@ -811,11 +739,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "CustomHandler::createFileWatcher", "body": { - "id": 14, + "id": 10, "path": "c:/projects/myproject/b.ts" } } -Custom watchFile: 14: c:/projects/myproject/b.ts +Custom watchFile: 10: c:/projects/myproject/b.ts Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -833,21 +761,13 @@ Custom WatchedFiles:: c:/a/lib/lib.d.ts: {"id":6,"path":"c:/a/lib/lib.d.ts"} c:/projects/myproject/b.ts: *new* - {"id":14,"path":"c:/projects/myproject/b.ts"} + {"id":10,"path":"c:/projects/myproject/b.ts"} c:/projects/myproject/c.ts: - {"id":13,"path":"c:/projects/myproject/c.ts"} + {"id":9,"path":"c:/projects/myproject/c.ts"} c:/projects/myproject/m.ts: {"id":4,"path":"c:/projects/myproject/m.ts"} -c:/projects/myproject/node_modules/package.json: - {"id":10,"path":"c:/projects/myproject/node_modules/package.json"} -c:/projects/myproject/node_modules/something/package.json: - {"id":9,"path":"c:/projects/myproject/node_modules/something/package.json"} -c:/projects/myproject/package.json: - {"id":7,"path":"c:/projects/myproject/package.json"} c:/projects/myproject/tsconfig.json: {"id":1,"path":"c:/projects/myproject/tsconfig.json"} -c:/projects/package.json: - {"id":8,"path":"c:/projects/package.json"} Custom WatchedDirectoriesRecursive:: c:/projects/myproject: @@ -855,9 +775,9 @@ c:/projects/myproject: c:/projects/myproject/node_modules: {"id":5,"path":"c:/projects/myproject/node_modules","recursive":true} c:/projects/myproject/node_modules/@types: - {"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":7,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} c:/projects/node_modules/@types: - {"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":8,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} ScriptInfos:: c:/a/lib/lib.d.ts @@ -902,7 +822,7 @@ Info seq [hh:mm:ss:mss] request: { "command": "watchChange", "arguments": { - "id": 13, + "id": 9, "updated": [ "c:\\projects\\myproject\\b.ts" ] @@ -1245,7 +1165,7 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 13, + "id": 9, "updated": [ "c:\\projects\\myproject\\c.ts" ] @@ -1321,11 +1241,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "CustomHandler::createFileWatcher", "body": { - "id": 15, + "id": 11, "path": "c:/projects/myproject/d.ts" } } -Custom watchFile: 15: c:/projects/myproject/d.ts +Custom watchFile: 11: c:/projects/myproject/d.ts Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/projects/myproject/e.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { @@ -1333,11 +1253,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "CustomHandler::createFileWatcher", "body": { - "id": 16, + "id": 12, "path": "c:/projects/myproject/e.ts" } } -Custom watchFile: 16: c:/projects/myproject/e.ts +Custom watchFile: 12: c:/projects/myproject/e.ts Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: c:/projects/myproject/tsconfig.json projectStateVersion: 6 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project 'c:/projects/myproject/tsconfig.json' (Configured) @@ -1404,25 +1324,17 @@ Custom WatchedFiles:: c:/a/lib/lib.d.ts: {"id":6,"path":"c:/a/lib/lib.d.ts"} c:/projects/myproject/b.ts: - {"id":14,"path":"c:/projects/myproject/b.ts"} + {"id":10,"path":"c:/projects/myproject/b.ts"} c:/projects/myproject/c.ts: - {"id":13,"path":"c:/projects/myproject/c.ts"} + {"id":9,"path":"c:/projects/myproject/c.ts"} c:/projects/myproject/d.ts: *new* - {"id":15,"path":"c:/projects/myproject/d.ts"} + {"id":11,"path":"c:/projects/myproject/d.ts"} c:/projects/myproject/e.ts: *new* - {"id":16,"path":"c:/projects/myproject/e.ts"} + {"id":12,"path":"c:/projects/myproject/e.ts"} c:/projects/myproject/m.ts: {"id":4,"path":"c:/projects/myproject/m.ts"} -c:/projects/myproject/node_modules/package.json: - {"id":10,"path":"c:/projects/myproject/node_modules/package.json"} -c:/projects/myproject/node_modules/something/package.json: - {"id":9,"path":"c:/projects/myproject/node_modules/something/package.json"} -c:/projects/myproject/package.json: - {"id":7,"path":"c:/projects/myproject/package.json"} c:/projects/myproject/tsconfig.json: {"id":1,"path":"c:/projects/myproject/tsconfig.json"} -c:/projects/package.json: - {"id":8,"path":"c:/projects/package.json"} Custom WatchedDirectoriesRecursive:: c:/projects/myproject: @@ -1430,9 +1342,9 @@ c:/projects/myproject: c:/projects/myproject/node_modules: {"id":5,"path":"c:/projects/myproject/node_modules","recursive":true} c:/projects/myproject/node_modules/@types: - {"id":11,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":7,"path":"c:/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} c:/projects/node_modules/@types: - {"id":12,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":8,"path":"c:/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Projects:: c:/projects/myproject/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js index 47d59612b6824..d4278e498e720 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents-without-canUseEvents.js @@ -62,10 +62,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/something/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -108,16 +104,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/something/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -234,16 +222,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/something/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -451,16 +431,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/something/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -537,16 +509,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/something/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js index d147bdd732e51..c80fdb4775a12 100644 --- a/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js +++ b/tests/baselines/reference/tsserver/events/watchEvents/canUseWatchEvents.js @@ -141,54 +141,6 @@ Info seq [hh:mm:ss:mss] event: Custom watchFile: 6: /a/lib/lib.d.ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "CustomHandler::createFileWatcher", - "body": { - "id": 7, - "path": "/user/username/projects/myproject/package.json" - } - } -Custom watchFile: 7: /user/username/projects/myproject/package.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "CustomHandler::createFileWatcher", - "body": { - "id": 8, - "path": "/user/username/projects/package.json" - } - } -Custom watchFile: 8: /user/username/projects/package.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/something/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "CustomHandler::createFileWatcher", - "body": { - "id": 9, - "path": "/user/username/projects/myproject/node_modules/something/package.json" - } - } -Custom watchFile: 9: /user/username/projects/myproject/node_modules/something/package.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] event: - { - "seq": 0, - "type": "event", - "event": "CustomHandler::createFileWatcher", - "body": { - "id": 10, - "path": "/user/username/projects/myproject/node_modules/package.json" - } - } -Custom watchFile: 10: /user/username/projects/myproject/node_modules/package.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: { @@ -196,13 +148,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "CustomHandler::createDirectoryWatcher", "body": { - "id": 11, + "id": 7, "path": "/user/username/projects/myproject/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory: 11: /user/username/projects/myproject/node_modules/@types true true +Custom watchDirectory: 7: /user/username/projects/myproject/node_modules/@types true true Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] event: @@ -211,13 +163,13 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "CustomHandler::createDirectoryWatcher", "body": { - "id": 12, + "id": 8, "path": "/user/username/projects/node_modules/@types", "recursive": true, "ignoreUpdate": true } } -Custom watchDirectory: 12: /user/username/projects/node_modules/@types true true +Custom watchDirectory: 8: /user/username/projects/node_modules/@types true true Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -319,16 +271,8 @@ Custom WatchedFiles:: {"id":3,"path":"/user/username/projects/myproject/b.ts"} /user/username/projects/myproject/m.ts: *new* {"id":4,"path":"/user/username/projects/myproject/m.ts"} -/user/username/projects/myproject/node_modules/package.json: *new* - {"id":10,"path":"/user/username/projects/myproject/node_modules/package.json"} -/user/username/projects/myproject/node_modules/something/package.json: *new* - {"id":9,"path":"/user/username/projects/myproject/node_modules/something/package.json"} -/user/username/projects/myproject/package.json: *new* - {"id":7,"path":"/user/username/projects/myproject/package.json"} /user/username/projects/myproject/tsconfig.json: *new* {"id":1,"path":"/user/username/projects/myproject/tsconfig.json"} -/user/username/projects/package.json: *new* - {"id":8,"path":"/user/username/projects/package.json"} Custom WatchedDirectoriesRecursive:: /user/username/projects/myproject: *new* @@ -336,9 +280,9 @@ Custom WatchedDirectoriesRecursive:: /user/username/projects/myproject/node_modules: *new* {"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true} /user/username/projects/myproject/node_modules/@types: *new* - {"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":7,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} /user/username/projects/node_modules/@types: *new* - {"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":8,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *new* @@ -422,11 +366,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "CustomHandler::createFileWatcher", "body": { - "id": 13, + "id": 9, "path": "/user/username/projects/myproject/c.ts" } } -Custom watchFile: 13: /user/username/projects/myproject/c.ts +Custom watchFile: 9: /user/username/projects/myproject/c.ts Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -489,19 +433,11 @@ Custom WatchedFiles:: /user/username/projects/myproject/b.ts: {"id":3,"path":"/user/username/projects/myproject/b.ts"} /user/username/projects/myproject/c.ts: *new* - {"id":13,"path":"/user/username/projects/myproject/c.ts"} + {"id":9,"path":"/user/username/projects/myproject/c.ts"} /user/username/projects/myproject/m.ts: {"id":4,"path":"/user/username/projects/myproject/m.ts"} -/user/username/projects/myproject/node_modules/package.json: - {"id":10,"path":"/user/username/projects/myproject/node_modules/package.json"} -/user/username/projects/myproject/node_modules/something/package.json: - {"id":9,"path":"/user/username/projects/myproject/node_modules/something/package.json"} -/user/username/projects/myproject/package.json: - {"id":7,"path":"/user/username/projects/myproject/package.json"} /user/username/projects/myproject/tsconfig.json: {"id":1,"path":"/user/username/projects/myproject/tsconfig.json"} -/user/username/projects/package.json: - {"id":8,"path":"/user/username/projects/package.json"} Custom WatchedDirectoriesRecursive:: /user/username/projects/myproject: @@ -509,9 +445,9 @@ Custom WatchedDirectoriesRecursive:: /user/username/projects/myproject/node_modules: {"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true} /user/username/projects/myproject/node_modules/@types: - {"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":7,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} /user/username/projects/node_modules/@types: - {"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":8,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* @@ -738,19 +674,11 @@ Custom WatchedFiles:: /a/lib/lib.d.ts: {"id":6,"path":"/a/lib/lib.d.ts"} /user/username/projects/myproject/c.ts: - {"id":13,"path":"/user/username/projects/myproject/c.ts"} + {"id":9,"path":"/user/username/projects/myproject/c.ts"} /user/username/projects/myproject/m.ts: {"id":4,"path":"/user/username/projects/myproject/m.ts"} -/user/username/projects/myproject/node_modules/package.json: - {"id":10,"path":"/user/username/projects/myproject/node_modules/package.json"} -/user/username/projects/myproject/node_modules/something/package.json: - {"id":9,"path":"/user/username/projects/myproject/node_modules/something/package.json"} -/user/username/projects/myproject/package.json: - {"id":7,"path":"/user/username/projects/myproject/package.json"} /user/username/projects/myproject/tsconfig.json: {"id":1,"path":"/user/username/projects/myproject/tsconfig.json"} -/user/username/projects/package.json: - {"id":8,"path":"/user/username/projects/package.json"} Custom WatchedFiles *deleted*:: /user/username/projects/myproject/b.ts: @@ -762,9 +690,9 @@ Custom WatchedDirectoriesRecursive:: /user/username/projects/myproject/node_modules: {"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true} /user/username/projects/myproject/node_modules/@types: - {"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":7,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} /user/username/projects/node_modules/@types: - {"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":8,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} ScriptInfos:: /a/lib/lib.d.ts @@ -811,11 +739,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "CustomHandler::createFileWatcher", "body": { - "id": 14, + "id": 10, "path": "/user/username/projects/myproject/b.ts" } } -Custom watchFile: 14: /user/username/projects/myproject/b.ts +Custom watchFile: 10: /user/username/projects/myproject/b.ts Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -833,21 +761,13 @@ Custom WatchedFiles:: /a/lib/lib.d.ts: {"id":6,"path":"/a/lib/lib.d.ts"} /user/username/projects/myproject/b.ts: *new* - {"id":14,"path":"/user/username/projects/myproject/b.ts"} + {"id":10,"path":"/user/username/projects/myproject/b.ts"} /user/username/projects/myproject/c.ts: - {"id":13,"path":"/user/username/projects/myproject/c.ts"} + {"id":9,"path":"/user/username/projects/myproject/c.ts"} /user/username/projects/myproject/m.ts: {"id":4,"path":"/user/username/projects/myproject/m.ts"} -/user/username/projects/myproject/node_modules/package.json: - {"id":10,"path":"/user/username/projects/myproject/node_modules/package.json"} -/user/username/projects/myproject/node_modules/something/package.json: - {"id":9,"path":"/user/username/projects/myproject/node_modules/something/package.json"} -/user/username/projects/myproject/package.json: - {"id":7,"path":"/user/username/projects/myproject/package.json"} /user/username/projects/myproject/tsconfig.json: {"id":1,"path":"/user/username/projects/myproject/tsconfig.json"} -/user/username/projects/package.json: - {"id":8,"path":"/user/username/projects/package.json"} Custom WatchedDirectoriesRecursive:: /user/username/projects/myproject: @@ -855,9 +775,9 @@ Custom WatchedDirectoriesRecursive:: /user/username/projects/myproject/node_modules: {"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true} /user/username/projects/myproject/node_modules/@types: - {"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":7,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} /user/username/projects/node_modules/@types: - {"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":8,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} ScriptInfos:: /a/lib/lib.d.ts @@ -902,7 +822,7 @@ Info seq [hh:mm:ss:mss] request: { "command": "watchChange", "arguments": { - "id": 13, + "id": 9, "updated": [ "/user/username/projects/myproject/c.ts" ] @@ -1245,7 +1165,7 @@ Info seq [hh:mm:ss:mss] request: ] }, { - "id": 13, + "id": 9, "updated": [ "/user/username/projects/myproject/c.ts" ] @@ -1321,11 +1241,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "CustomHandler::createFileWatcher", "body": { - "id": 15, + "id": 11, "path": "/user/username/projects/myproject/d.ts" } } -Custom watchFile: 15: /user/username/projects/myproject/d.ts +Custom watchFile: 11: /user/username/projects/myproject/d.ts Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/e.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] event: { @@ -1333,11 +1253,11 @@ Info seq [hh:mm:ss:mss] event: "type": "event", "event": "CustomHandler::createFileWatcher", "body": { - "id": 16, + "id": 12, "path": "/user/username/projects/myproject/e.ts" } } -Custom watchFile: 16: /user/username/projects/myproject/e.ts +Custom watchFile: 12: /user/username/projects/myproject/e.ts Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 6 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -1404,25 +1324,17 @@ Custom WatchedFiles:: /a/lib/lib.d.ts: {"id":6,"path":"/a/lib/lib.d.ts"} /user/username/projects/myproject/b.ts: - {"id":14,"path":"/user/username/projects/myproject/b.ts"} + {"id":10,"path":"/user/username/projects/myproject/b.ts"} /user/username/projects/myproject/c.ts: - {"id":13,"path":"/user/username/projects/myproject/c.ts"} + {"id":9,"path":"/user/username/projects/myproject/c.ts"} /user/username/projects/myproject/d.ts: *new* - {"id":15,"path":"/user/username/projects/myproject/d.ts"} + {"id":11,"path":"/user/username/projects/myproject/d.ts"} /user/username/projects/myproject/e.ts: *new* - {"id":16,"path":"/user/username/projects/myproject/e.ts"} + {"id":12,"path":"/user/username/projects/myproject/e.ts"} /user/username/projects/myproject/m.ts: {"id":4,"path":"/user/username/projects/myproject/m.ts"} -/user/username/projects/myproject/node_modules/package.json: - {"id":10,"path":"/user/username/projects/myproject/node_modules/package.json"} -/user/username/projects/myproject/node_modules/something/package.json: - {"id":9,"path":"/user/username/projects/myproject/node_modules/something/package.json"} -/user/username/projects/myproject/package.json: - {"id":7,"path":"/user/username/projects/myproject/package.json"} /user/username/projects/myproject/tsconfig.json: {"id":1,"path":"/user/username/projects/myproject/tsconfig.json"} -/user/username/projects/package.json: - {"id":8,"path":"/user/username/projects/package.json"} Custom WatchedDirectoriesRecursive:: /user/username/projects/myproject: @@ -1430,9 +1342,9 @@ Custom WatchedDirectoriesRecursive:: /user/username/projects/myproject/node_modules: {"id":5,"path":"/user/username/projects/myproject/node_modules","recursive":true} /user/username/projects/myproject/node_modules/@types: - {"id":11,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":7,"path":"/user/username/projects/myproject/node_modules/@types","recursive":true,"ignoreUpdate":true} /user/username/projects/node_modules/@types: - {"id":12,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} + {"id":8,"path":"/user/username/projects/node_modules/@types","recursive":true,"ignoreUpdate":true} Projects:: /user/username/projects/myproject/tsconfig.json (Configured) *changed* diff --git a/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js b/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js index 33a9bc86e4156..550ed6b111deb 100644 --- a/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js +++ b/tests/baselines/reference/tsserver/findAllReferences/does-not-try-to-open-a-file-in-a-project-that-was-updated-and-no-longer-has-the-file.js @@ -131,8 +131,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/core/sr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/core/src 1 undefined Config: /packages/core/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/core/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/core/src/loading-indicator.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/core/src/package.json 2000 undefined Project: /packages/babel-loader/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/babel-loader/src/package.json 2000 undefined Project: /packages/babel-loader/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2018.full.d.ts 500 undefined Project: /packages/babel-loader/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/babel-loader/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/babel-loader/tsconfig.json' (Configured) @@ -293,10 +291,6 @@ After request PolledWatches:: /a/lib/lib.es2018.full.d.ts: *new* {"pollingInterval":500} -/packages/babel-loader/src/package.json: *new* - {"pollingInterval":2000} -/packages/core/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /packages/babel-loader/tsconfig.json: *new* @@ -363,7 +357,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/core/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/core/src/package.json 2000 undefined Project: /packages/core/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2018.full.d.ts 500 undefined Project: /packages/core/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/core/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/core/tsconfig.json' (Configured) @@ -528,10 +521,6 @@ After request PolledWatches:: /a/lib/lib.es2018.full.d.ts: {"pollingInterval":500} -/packages/babel-loader/src/package.json: - {"pollingInterval":2000} -/packages/core/src/package.json: - {"pollingInterval":2000} FsWatches:: /packages/babel-loader/tsconfig.json: @@ -651,7 +640,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Finding references to /packages/core/src/index.ts position 92 in project /packages/core/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/babel-loader/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /packages/core/src/package.json 2000 undefined Project: /packages/babel-loader/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/babel-loader/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/babel-loader/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) @@ -745,12 +733,8 @@ After request PolledWatches:: /a/lib/lib.es2018.full.d.ts: {"pollingInterval":500} -/packages/babel-loader/src/package.json: - {"pollingInterval":2000} /packages/core/dist/loading-indicator.d.ts: *new* {"pollingInterval":2000} -/packages/core/src/package.json: - {"pollingInterval":2000} FsWatches:: /packages/babel-loader/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js index f02621fb46df0..4305acc3c0871 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-link-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js index 614813e13c217..36ba5ece74dc2 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-and-link-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -337,16 +322,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js index 7b95985c997b7..4943a0ea6c843 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk-with-target-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js index 8fa26297475a6..d04363564d778 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js index 4315044b04701..6ee3e6b394ede 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-link-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js index a30794a8015f0..333e6189a6fa1 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-and-link-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -330,12 +320,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js index 510dca74a95dd..80edb350422b3 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk-with-target-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js index 291956b4ed840..372ef85d590bd 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js index b510856cf2b1b..04fba6f3fded7 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js @@ -66,8 +66,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/Logger.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -168,12 +166,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js index ca7783922ee51..bb85c9aa636d7 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-link-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js index a6a060514a357..1a2b266ee44c4 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -337,16 +322,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js index 2994d77d6f3c3..d00bb806d4b64 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not-with-target-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js index 5c95acde6b4f0..d847f7bf5176b 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js index 3d07c2303ec9c..33cefd008936f 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-is-included-from-multiple-places-with-different-casing.js @@ -89,12 +89,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/fp-ts/lib/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/fp-ts/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/src/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -209,20 +203,8 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/node_modules/fp-ts/lib/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules/fp-ts/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/node_modules/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js index 320797449793f..1c0ac668b60a6 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-link-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js index d5f0f262b77be..dcc56a63d5cb8 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-and-link-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -330,12 +320,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js index 6903a8dd841d8..bb0a060d6e212 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not-with-target-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js index 44fed6cc3fe13..6656758fb0ae3 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js index 5694d072aacbc..3ab37e3dda514 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-link-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js index 6a73c5024e81f..2f3cf6a0376a4 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -337,16 +322,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js index f6165d68d177f..ea0ccee3db815 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different-with-target-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js index 203c1cb38ad14..5dd203bce408a 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js index 6b7450498c0b0..836b3b564428e 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-link-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js index 523c0600bb69e..252abd2e8862c 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-and-link-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -330,12 +320,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js index 2b29b89b8d5e5..279a2d287c050 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different-with-target-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js index d47c6432da459..c218ed9b562bb 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js index 21e31aef007d6..a087e7c08207e 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-link-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js index 7d6f41543b626..09dcdbc4d03b1 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -337,16 +322,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js index 1570809142940..2848fdabc92fb 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk-with-target-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js index e1c59ce0b8b70..388ebce51d7fd 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js index 6bdc812271770..0f16dfc8a9430 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-link-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js index 13ac429dfce62..9a006d138e835 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-and-link-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -330,12 +320,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js index 20855c078f06a..d01681ca97ca0 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk-with-target-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js index 9af0ab524df58..0fa77100ff74c 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js index 481f2ec53cb3a..96da078aee75e 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-link-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js index c607f48e850bb..311f697f146a1 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-and-link-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -337,16 +322,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js index fbeaa462f207e..9c204d60a71fd 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not-with-target-open.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,16 +251,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js index 7f3c9266f3c6b..9748df0809bb4 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/XY/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,16 +180,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/XY/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js index aa3d98b0b04b1..26a7b0f06c4d7 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-link-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js index 98df23f7b28ca..81cacc3d1d5cc 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-and-link-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -330,12 +320,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js index ca09578324369..a997e62a2faff 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not-with-target-open.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -255,12 +249,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js index 91222a2ed57d3..eabdb9c25171a 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js @@ -74,8 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/link.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,12 +178,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js index acc0c4a2109fd..a6a5c1ec3ed23 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-extends-is-specified-with-a-case-insensitive-file-system.js @@ -95,10 +95,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Users/username/de Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project/types 1 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project/types 1 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/username/dev/project/package.json 2000 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/username/dev/package.json 2000 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/username/dev/project/types/file2/package.json 2000 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Users/username/dev/project/types/package.json 2000 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project/types 1 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Users/username/dev/project/types 1 undefined Project: /Users/username/dev/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /Users/username/dev/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -199,16 +195,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/Users/username/dev/package.json: *new* - {"pollingInterval":2000} -/Users/username/dev/project/package.json: *new* - {"pollingInterval":2000} -/Users/username/dev/project/types/file2/package.json: *new* - {"pollingInterval":2000} -/Users/username/dev/project/types/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /Users/username/dev/project/tsconfig.all.json: *new* {} diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js index 441716a379987..6efe5710a3644 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js @@ -66,8 +66,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/another.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -168,12 +166,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -320,12 +314,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -403,12 +393,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -480,12 +466,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js index 22926f47191b3..28b3e33056042 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossPackage_pathsAndSymlink.js @@ -199,8 +199,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/packages/app/ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/packages/common/lib/index.tsx 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/packages/common/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/packages/common/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -263,11 +261,8 @@ watchedFiles:: {"pollingInterval":2000} /project/packages/common/lib/index.tsx: *new* {"pollingInterval":500} -/project/packages/common/lib/package.json: *new* - {"pollingInterval":2000} /project/packages/common/package.json: {"pollingInterval":250} - {"pollingInterval":2000} *new* watchedDirectoriesRecursive:: /project/packages/app: *new* @@ -501,11 +496,8 @@ watchedFiles:: {"pollingInterval":2000} /project/packages/common/lib/index.tsx: {"pollingInterval":500} -/project/packages/common/lib/package.json: - {"pollingInterval":2000} /project/packages/common/package.json: {"pollingInterval":250} - {"pollingInterval":2000} watchedDirectoriesRecursive:: /project/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js index 0ee53e47b9555..9562e71dbfca2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_sharedOutDir.js @@ -194,8 +194,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/index.ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/sub 1 undefined Project: /packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/sub 1 undefined Project: /packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/sub/folder/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/sub/folder/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/sub/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) @@ -288,10 +286,6 @@ watchedFiles:: {"pollingInterval":500} /packages/dep/sub/folder/index.ts: *new* {"pollingInterval":500} -/packages/dep/sub/folder/package.json: *new* - {"pollingInterval":2000} -/packages/dep/sub/package.json: *new* - {"pollingInterval":2000} /packages/dep/tsconfig.json: *new* {"pollingInterval":2000} /tsconfig.base.json: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js index 38a9161e2372a..c298bbc53876d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_stripSrc.js @@ -131,10 +131,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/folder/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/app/src/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) @@ -229,9 +225,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/folder/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/dep/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -325,25 +318,14 @@ watchedFiles:: {"pollingInterval":500} /packages/app/src/index.ts: *new* {"pollingInterval":500} -/packages/app/src/package.json: *new* - {"pollingInterval":2000} /packages/app/src/utils.ts: *new* {"pollingInterval":500} /packages/app/tsconfig.json: *new* {"pollingInterval":2000} /packages/dep/src/main.ts: *new* {"pollingInterval":500} -/packages/dep/src/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: *new* {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/tsconfig.json: *new* {"pollingInterval":2000} @@ -455,25 +437,14 @@ watchedFiles:: {"pollingInterval":250} /packages/app/src/a.ts: {"pollingInterval":500} -/packages/app/src/package.json: - {"pollingInterval":2000} /packages/app/src/utils.ts: {"pollingInterval":500} /packages/app/tsconfig.json: {"pollingInterval":2000} /packages/dep/src/main.ts: {"pollingInterval":500} -/packages/dep/src/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/tsconfig.json: {"pollingInterval":2000} @@ -878,23 +849,12 @@ watchedFiles:: {"pollingInterval":250} /packages/app/src/a.ts: {"pollingInterval":500} -/packages/app/src/package.json: - {"pollingInterval":2000} /packages/app/tsconfig.json: {"pollingInterval":2000} /packages/dep/src/main.ts: {"pollingInterval":500} -/packages/dep/src/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js index 511e3a68bdd63..cfb159b3ea180 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toDist.js @@ -131,10 +131,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/folder/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/app/src/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) @@ -229,9 +225,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/folder/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/dep/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -325,25 +318,14 @@ watchedFiles:: {"pollingInterval":500} /packages/app/src/index.ts: *new* {"pollingInterval":500} -/packages/app/src/package.json: *new* - {"pollingInterval":2000} /packages/app/src/utils.ts: *new* {"pollingInterval":500} /packages/app/tsconfig.json: *new* {"pollingInterval":2000} /packages/dep/src/main.ts: *new* {"pollingInterval":500} -/packages/dep/src/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: *new* {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/tsconfig.json: *new* {"pollingInterval":2000} @@ -455,25 +437,14 @@ watchedFiles:: {"pollingInterval":250} /packages/app/src/a.ts: {"pollingInterval":500} -/packages/app/src/package.json: - {"pollingInterval":2000} /packages/app/src/utils.ts: {"pollingInterval":500} /packages/app/tsconfig.json: {"pollingInterval":2000} /packages/dep/src/main.ts: {"pollingInterval":500} -/packages/dep/src/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/tsconfig.json: {"pollingInterval":2000} @@ -878,23 +849,12 @@ watchedFiles:: {"pollingInterval":250} /packages/app/src/a.ts: {"pollingInterval":500} -/packages/app/src/package.json: - {"pollingInterval":2000} /packages/app/tsconfig.json: {"pollingInterval":2000} /packages/dep/src/main.ts: {"pollingInterval":500} -/packages/dep/src/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js index 1ff20572701cf..93c6e0bb3aa2b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_paths_toSrc.js @@ -131,10 +131,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/folder/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/app/src/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) @@ -229,9 +225,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/folder/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/dep/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -325,25 +318,14 @@ watchedFiles:: {"pollingInterval":500} /packages/app/src/index.ts: *new* {"pollingInterval":500} -/packages/app/src/package.json: *new* - {"pollingInterval":2000} /packages/app/src/utils.ts: *new* {"pollingInterval":500} /packages/app/tsconfig.json: *new* {"pollingInterval":2000} /packages/dep/src/main.ts: *new* {"pollingInterval":500} -/packages/dep/src/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: *new* {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/tsconfig.json: *new* {"pollingInterval":2000} @@ -455,25 +437,14 @@ watchedFiles:: {"pollingInterval":250} /packages/app/src/a.ts: {"pollingInterval":500} -/packages/app/src/package.json: - {"pollingInterval":2000} /packages/app/src/utils.ts: {"pollingInterval":500} /packages/app/tsconfig.json: {"pollingInterval":2000} /packages/dep/src/main.ts: {"pollingInterval":500} -/packages/dep/src/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/tsconfig.json: {"pollingInterval":2000} @@ -878,23 +849,12 @@ watchedFiles:: {"pollingInterval":250} /packages/app/src/a.ts: {"pollingInterval":500} -/packages/app/src/package.json: - {"pollingInterval":2000} /packages/app/tsconfig.json: {"pollingInterval":2000} /packages/dep/src/main.ts: {"pollingInterval":500} -/packages/dep/src/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/dep/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js index d4ce9888ed416..867a51f96e87a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_stripSrc.js @@ -197,9 +197,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/folder/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/dep/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -295,14 +292,8 @@ watchedFiles:: {"pollingInterval":2000} /packages/dep/src/index.ts: *new* {"pollingInterval":500} -/packages/dep/src/package.json: *new* - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: *new* {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: *new* - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: *new* - {"pollingInterval":2000} /packages/dep/tsconfig.json: *new* {"pollingInterval":2000} @@ -405,14 +396,8 @@ watchedFiles:: {"pollingInterval":2000} /packages/dep/src/index.ts: {"pollingInterval":500} -/packages/dep/src/package.json: - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: - {"pollingInterval":2000} /packages/dep/tsconfig.json: {"pollingInterval":2000} @@ -588,9 +573,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/folder/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -657,17 +639,8 @@ watchedFiles:: {"pollingInterval":2000} /packages/dep/src/index.ts: {"pollingInterval":500} -/packages/dep/src/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /packages/dep/src/sub/folder/index.ts: {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* -/packages/dep/src/sub/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /packages/dep/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js index a3d5e4938b291..492efb083013c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toDist.js @@ -197,9 +197,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/folder/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/dep/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -295,14 +292,8 @@ watchedFiles:: {"pollingInterval":2000} /packages/dep/src/index.ts: *new* {"pollingInterval":500} -/packages/dep/src/package.json: *new* - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: *new* {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: *new* - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: *new* - {"pollingInterval":2000} /packages/dep/tsconfig.json: *new* {"pollingInterval":2000} @@ -405,14 +396,8 @@ watchedFiles:: {"pollingInterval":2000} /packages/dep/src/index.ts: {"pollingInterval":500} -/packages/dep/src/package.json: - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: - {"pollingInterval":2000} /packages/dep/tsconfig.json: {"pollingInterval":2000} @@ -588,9 +573,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/folder/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -657,17 +639,8 @@ watchedFiles:: {"pollingInterval":2000} /packages/dep/src/index.ts: {"pollingInterval":500} -/packages/dep/src/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /packages/dep/src/sub/folder/index.ts: {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* -/packages/dep/src/sub/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /packages/dep/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js index c61a4b0d322e3..aa2138e18855e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportCrossProject_symlinks_toSrc.js @@ -188,9 +188,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/dep/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /packages/dep/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/folder/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/package.json 2000 undefined Project: /packages/dep/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/dep/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/dep/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -286,14 +283,8 @@ watchedFiles:: {"pollingInterval":2000} /packages/dep/src/index.ts: *new* {"pollingInterval":500} -/packages/dep/src/package.json: *new* - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: *new* {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: *new* - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: *new* - {"pollingInterval":2000} /packages/dep/tsconfig.json: *new* {"pollingInterval":2000} @@ -396,14 +387,8 @@ watchedFiles:: {"pollingInterval":2000} /packages/dep/src/index.ts: {"pollingInterval":500} -/packages/dep/src/package.json: - {"pollingInterval":2000} /packages/dep/src/sub/folder/index.ts: {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: - {"pollingInterval":2000} -/packages/dep/src/sub/package.json: - {"pollingInterval":2000} /packages/dep/tsconfig.json: {"pollingInterval":2000} @@ -579,9 +564,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/dep/src 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/folder/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/sub/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/dep/src/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -648,17 +630,8 @@ watchedFiles:: {"pollingInterval":2000} /packages/dep/src/index.ts: {"pollingInterval":500} -/packages/dep/src/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /packages/dep/src/sub/folder/index.ts: {"pollingInterval":500} -/packages/dep/src/sub/folder/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* -/packages/dep/src/sub/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /packages/dep/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js index 243e803c0efdd..9d50ac66baf28 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns1.js @@ -139,7 +139,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/clients/s3.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/clients/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -178,8 +177,6 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/project/node_modules/aws-sdk/clients/package.json: *new* - {"pollingInterval":2000} /project/node_modules/aws-sdk/clients/s3.d.ts: *new* {"pollingInterval":500} /project/node_modules/aws-sdk/index.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js index 125913113e95c..2f0c738955885 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns2.js @@ -139,7 +139,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/clients/s3.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/aws-sdk/clients/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -178,8 +177,6 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/project/node_modules/aws-sdk/clients/package.json: *new* - {"pollingInterval":2000} /project/node_modules/aws-sdk/clients/s3.d.ts: *new* {"pollingInterval":500} /project/node_modules/aws-sdk/index.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js index 7b0c8a752732a..333ee921c92ac 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_networkPaths.js @@ -139,7 +139,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //tsclient/project/nod Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //tsclient/project/node_modules/aws-sdk/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //tsclient/project/node_modules/aws-sdk/clients/s3.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //tsclient/project/node_modules/aws-sdk/clients/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -172,8 +171,6 @@ Info seq [hh:mm:ss:mss] FileName: //tsclient/project/index.ts ProjectRootPath: Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* After Request watchedFiles:: -//tsclient/project/node_modules/aws-sdk/clients/package.json: *new* - {"pollingInterval":2000} //tsclient/project/node_modules/aws-sdk/clients/s3.d.ts: *new* {"pollingInterval":500} //tsclient/project/node_modules/aws-sdk/index.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js index c4576d789d2fb..e492fbf0d022f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js @@ -159,7 +159,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/package.json Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -201,8 +200,6 @@ watchedFiles:: {"pollingInterval":500} /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/jsconfig.json: {"pollingInterval":2000} -/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/package.json: *new* - {"pollingInterval":2000} /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.json: {"pollingInterval":2000} /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js index 560cc7908adad..52e9ccd1ecd84 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js @@ -198,8 +198,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 2 root files in 2 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/@remix-run/server-runtime/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/@remix-run/server-runtime/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -244,8 +242,6 @@ c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/index.d.ts: *new* {"pollingInterval":500} c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/jsconfig.json: {"pollingInterval":2000} -c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/package.json: *new* - {"pollingInterval":2000} c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.json: {"pollingInterval":2000} c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.json: @@ -256,8 +252,6 @@ c:/project/node_modules/.store/tsconfig.json: {"pollingInterval":2000} c:/project/node_modules/@remix-run/server-runtime/index.d.ts: *new* {"pollingInterval":500} -c:/project/node_modules/@remix-run/server-runtime/package.json: *new* - {"pollingInterval":2000} c:/project/node_modules/jsconfig.json: {"pollingInterval":2000} c:/project/node_modules/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js index 4551104b015fa..ec5678e5c82ee 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js @@ -173,7 +173,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/project/node_m Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/project/node_modules 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/aws-sdk/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/aws-sdk/clients/s3.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/aws-sdk/clients/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -212,8 +211,6 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -c:/project/node_modules/aws-sdk/clients/package.json: *new* - {"pollingInterval":2000} c:/project/node_modules/aws-sdk/clients/s3.d.ts: *new* {"pollingInterval":500} c:/project/node_modules/aws-sdk/index.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js index 9c5b449d88ca8..d33d760e478a1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportNodeModuleSymlinkRenamed.js @@ -226,7 +226,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/web/package. Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/utils/src/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/utils/src/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -235,7 +234,6 @@ Info seq [hh:mm:ss:mss] Files (1) ../utils/src/index.ts Root file specified for compilation - File is CommonJS module because '../utils/package.json' does not have field "type" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -288,8 +286,6 @@ watchedFiles:: {"pollingInterval":250} /packages/utils/src/index.ts: *new* {"pollingInterval":500} -/packages/utils/src/package.json: *new* - {"pollingInterval":2000} /packages/utils/tsconfig.json: *new* {"pollingInterval":2000} /packages/web/package.json: *new* @@ -521,8 +517,6 @@ watchedFiles:: {"pollingInterval":250} /packages/utils/src/index.ts: {"pollingInterval":500} -/packages/utils/src/package.json: - {"pollingInterval":2000} /packages/utils/tsconfig.json: {"pollingInterval":2000} /packages/web/package.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js index e0448899eed96..be5b683636d9f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider1.js @@ -164,7 +164,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/forms.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@angular/forms/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -222,8 +221,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@angular/forms/forms.d.ts: *new* {"pollingInterval":500} -/node_modules/@angular/forms/package.json: *new* - {"pollingInterval":2000} /package.json: *new* {"pollingInterval":250} /tsconfig.json: *new* @@ -468,8 +465,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@angular/forms/forms.d.ts: {"pollingInterval":500} -/node_modules/@angular/forms/package.json: - {"pollingInterval":2000} /package.json: {"pollingInterval":250} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js index 89e682d1ead04..612cd0e24ea89 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider5.js @@ -63,7 +63,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react-hook-form/dist/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react-hook-form/dist/useForm.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react-hook-form/dist/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -98,8 +97,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/react-hook-form/dist/index.d.ts: *new* {"pollingInterval":500} -/node_modules/react-hook-form/dist/package.json: *new* - {"pollingInterval":2000} /node_modules/react-hook-form/dist/useForm.d.ts: *new* {"pollingInterval":500} /package.json: *new* @@ -172,7 +169,6 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react-hook-form/dist/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -208,23 +204,6 @@ Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileName: /index.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject2* After Request -watchedFiles:: -/lib.d.ts: - {"pollingInterval":500} -/lib.decorators.d.ts: - {"pollingInterval":500} -/lib.decorators.legacy.d.ts: - {"pollingInterval":500} -/node_modules/react-hook-form/dist/index.d.ts: - {"pollingInterval":500} -/node_modules/react-hook-form/dist/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* -/node_modules/react-hook-form/dist/useForm.d.ts: - {"pollingInterval":500} -/package.json: - {"pollingInterval":250} - Projects:: /dev/null/autoImportProviderProject1* (AutoImportProvider) projectStateVersion: 1 @@ -449,9 +428,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/react-hook-form/dist/index.d.ts: {"pollingInterval":500} -/node_modules/react-hook-form/dist/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /node_modules/react-hook-form/dist/useForm.d.ts: {"pollingInterval":500} /package.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js index 5d141c0daf2f9..08212559b1012 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider6.js @@ -235,7 +235,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.es2019.symbol.d.t Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.es5.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (38) @@ -423,7 +422,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -536,9 +534,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} -/node_modules/@types/react/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /package.json: *new* {"pollingInterval":250} /tsconfig.json: *new* @@ -819,9 +814,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/react/index.d.ts: {"pollingInterval":500} -/node_modules/@types/react/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /package.json: {"pollingInterval":250} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js index 923734767437d..2379034d051c6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider7.js @@ -89,7 +89,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/index.ts 500 unde Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) @@ -171,7 +170,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (4) @@ -224,9 +222,6 @@ watchedFiles:: {"pollingInterval":500} /packages/mylib/mySubDir/myClass2.ts: *new* {"pollingInterval":500} -/packages/mylib/mySubDir/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /src/index.ts: *new* {"pollingInterval":500} /tsconfig.json: *new* @@ -343,9 +338,6 @@ watchedFiles:: {"pollingInterval":500} /packages/mylib/mySubDir/myClass2.ts: {"pollingInterval":500} -/packages/mylib/mySubDir/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /tsconfig.json: {"pollingInterval":2000} @@ -1263,9 +1255,6 @@ watchedFiles:: {"pollingInterval":500} /packages/mylib/mySubDir/myClass2.ts: {"pollingInterval":500} -/packages/mylib/mySubDir/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js index f29c71acf1c85..afa516e5230ca 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider8.js @@ -89,7 +89,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/index.ts 500 unde Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) @@ -171,7 +170,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /dev/null/autoImportProviderProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (4) @@ -224,9 +222,6 @@ watchedFiles:: {"pollingInterval":500} /packages/mylib/mySubDir/myClass2.ts: *new* {"pollingInterval":500} -/packages/mylib/mySubDir/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /src/index.ts: *new* {"pollingInterval":500} /tsconfig.json: *new* @@ -343,9 +338,6 @@ watchedFiles:: {"pollingInterval":500} /packages/mylib/mySubDir/myClass2.ts: {"pollingInterval":500} -/packages/mylib/mySubDir/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /tsconfig.json: {"pollingInterval":2000} @@ -1263,9 +1255,6 @@ watchedFiles:: {"pollingInterval":500} /packages/mylib/mySubDir/myClass2.ts: {"pollingInterval":500} -/packages/mylib/mySubDir/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js index 6a6f651d1bc2e..4b8e21abd9a11 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap2.js @@ -156,7 +156,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -165,7 +164,6 @@ Info seq [hh:mm:ss:mss] Files (1) node_modules/dependency/lib/index.d.ts Root file specified for compilation - File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) @@ -193,8 +191,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/dependency/lib/index.d.ts: *new* {"pollingInterval":500} -/node_modules/dependency/lib/package.json: *new* - {"pollingInterval":2000} /package.json: *new* {"pollingInterval":250} /src/foo.ts: *new* @@ -286,8 +282,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} -/node_modules/dependency/lib/package.json: - {"pollingInterval":2000} /package.json: {"pollingInterval":250} /tsconfig.json: @@ -395,7 +389,6 @@ Info seq [hh:mm:ss:mss] getCompletionData: Is inside comment: * Info seq [hh:mm:ss:mss] getCompletionData: Get previous token: * Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -404,7 +397,6 @@ Info seq [hh:mm:ss:mss] Files (1) node_modules/dependency/lib/index.d.ts Root file specified for compilation - File is ECMAScript module because 'node_modules/dependency/package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] getExportInfoMap: cache miss or empty; calculating new results @@ -1133,9 +1125,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} -/node_modules/dependency/lib/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /package.json: {"pollingInterval":250} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js index 909820209b14f..a055b9ba5ae09 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_exportMap3.js @@ -149,7 +149,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/dependency/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -185,8 +184,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/dependency/lib/index.d.ts: *new* {"pollingInterval":500} -/node_modules/dependency/lib/package.json: *new* - {"pollingInterval":2000} /package.json: *new* {"pollingInterval":250} /src/foo.ts: *new* @@ -278,8 +275,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/dependency/lib/index.d.ts: {"pollingInterval":500} -/node_modules/dependency/lib/package.json: - {"pollingInterval":2000} /package.json: {"pollingInterval":250} /tsconfig.json: @@ -1132,9 +1127,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/dependency/lib/lol.d.ts: *new* {"pollingInterval":500} -/node_modules/dependency/lib/package.json: +/node_modules/dependency/lib/package.json: *new* {"pollingInterval":2000} - {"pollingInterval":2000} *new* /package.json: {"pollingInterval":250} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js index 135cda3b8bb82..62032839337d7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js @@ -220,7 +220,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/package.json 250 undefined WatchType: package.json file Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types/react-router-dom/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -282,7 +281,6 @@ watchedFiles:: {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/react-router-dom/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} *new* /Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.json: {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/tsconfig.json: @@ -1009,7 +1007,6 @@ watchedFiles:: {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/react-router-dom/package.json: {"pollingInterval":2000} - {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.json: {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js index ffb5faecf4d5f..893584181b71f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_namespaceSameNameAsIntrinsic.js @@ -164,7 +164,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/fp-ts/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/fp-ts/lib/string.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/fp-ts/lib/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -225,8 +224,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/fp-ts/index.d.ts: *new* {"pollingInterval":500} -/node_modules/fp-ts/lib/package.json: *new* - {"pollingInterval":2000} /node_modules/fp-ts/lib/string.d.ts: *new* {"pollingInterval":500} /package.json: *new* @@ -1265,8 +1262,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/fp-ts/index.d.ts: {"pollingInterval":500} -/node_modules/fp-ts/lib/package.json: - {"pollingInterval":2000} /node_modules/fp-ts/lib/string.d.ts: {"pollingInterval":500} /package.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js index 0dd971afd3b73..3fbf56a681b58 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_pnpm.js @@ -132,8 +132,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /package.json 250 unde Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -171,10 +169,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts: *new* {"pollingInterval":500} -/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/package.json: *new* - {"pollingInterval":2000} -/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/package.json: *new* - {"pollingInterval":2000} /package.json: *new* {"pollingInterval":250} /tsconfig.json: *new* @@ -264,10 +258,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts: {"pollingInterval":500} -/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/package.json: - {"pollingInterval":2000} -/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/package.json: - {"pollingInterval":2000} /package.json: {"pollingInterval":250} /tsconfig.json: @@ -432,8 +422,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -493,12 +481,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/mobx.d.ts: {"pollingInterval":500} -/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/dist/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* -/node_modules/.pnpm/mobx@6.0.4/node_modules/mobx/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /package.json: {"pollingInterval":250} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js index 1e6db41dd2be9..4e3f126907346 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_wildcardExports3.js @@ -195,8 +195,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/apps/web/pack Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/packages/ui/src/Card.tsx 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/packages/ui/src/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/packages/ui/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -258,11 +256,8 @@ watchedFiles:: {"pollingInterval":2000} /project/packages/ui/package.json: {"pollingInterval":250} - {"pollingInterval":2000} *new* /project/packages/ui/src/Card.tsx: *new* {"pollingInterval":500} -/project/packages/ui/src/package.json: *new* - {"pollingInterval":2000} watchedDirectoriesRecursive:: /project/apps/web/app: *new* @@ -699,11 +694,8 @@ watchedFiles:: {"pollingInterval":2000} /project/packages/ui/package.json: {"pollingInterval":250} - {"pollingInterval":2000} /project/packages/ui/src/Card.tsx: {"pollingInterval":500} -/project/packages/ui/src/package.json: - {"pollingInterval":2000} watchedDirectoriesRecursive:: /project/apps/web/app: diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js index 5dd14526aa732..07ce59d53f7cc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportReExportFromAmbientModule.js @@ -71,7 +71,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/fs-extra/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/fs-extra/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -120,7 +119,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/fs-extra/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -169,9 +167,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/fs-extra/index.d.ts: *new* {"pollingInterval":500} -/node_modules/@types/fs-extra/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /node_modules/@types/node/index.d.ts: *new* {"pollingInterval":500} /tsconfig.json: *new* @@ -259,9 +254,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/fs-extra/index.d.ts: {"pollingInterval":500} -/node_modules/@types/fs-extra/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /node_modules/@types/node/index.d.ts: {"pollingInterval":500} /tsconfig.json: @@ -1093,9 +1085,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/fs-extra/index.d.ts: {"pollingInterval":500} -/node_modules/@types/fs-extra/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /node_modules/@types/node/index.d.ts: {"pollingInterval":500} /tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js index e54fd77cc53b9..34f27fd1201ae 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js @@ -43,8 +43,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -83,12 +81,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/tests/cases/fourslash/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} @@ -860,8 +854,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -911,8 +903,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -934,21 +924,11 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/tests/cases/fourslash/package.json: - {"pollingInterval":2000} *new* /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: - {"pollingInterval":2000} *new* /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} -watchedFiles *deleted*:: -/tests/cases/fourslash/package.json: - {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: - {"pollingInterval":2000} - watchedDirectories:: /tests/cases/fourslash/server: *new* {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js index f623621f83ab2..279869e1debc1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js @@ -43,8 +43,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -83,12 +81,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/tests/cases/fourslash/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} @@ -866,8 +860,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -917,8 +909,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -940,21 +930,11 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/tests/cases/fourslash/package.json: - {"pollingInterval":2000} *new* /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: - {"pollingInterval":2000} *new* /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} -watchedFiles *deleted*:: -/tests/cases/fourslash/package.json: - {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: - {"pollingInterval":2000} - watchedDirectories:: /tests/cases/fourslash/server: *new* {} diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js index 8c54822f874f5..e2c22ce1bdd2e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_addToNamedWithDifferentCacheValue.js @@ -86,7 +86,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /src/index.ts 500 unde Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir 1 undefined Project: /tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/mylib/mySubDir/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) @@ -190,8 +189,6 @@ watchedFiles:: {"pollingInterval":500} /packages/mylib/mySubDir/myClass2.ts: *new* {"pollingInterval":500} -/packages/mylib/mySubDir/package.json: *new* - {"pollingInterval":2000} /src/index.ts: *new* {"pollingInterval":500} /tsconfig.json: *new* @@ -293,8 +290,6 @@ watchedFiles:: {"pollingInterval":500} /packages/mylib/mySubDir/myClass2.ts: {"pollingInterval":500} -/packages/mylib/mySubDir/package.json: - {"pollingInterval":2000} /tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js index dbba7355a52c1..6310b67131db3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_computedSymbolName.js @@ -83,7 +83,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/node/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/ts-node/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/ts-node/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -132,7 +131,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/ts-node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -183,9 +181,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/ts-node/index.d.ts: *new* {"pollingInterval":500} -/node_modules/@types/ts-node/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /tsconfig.json: *new* {"pollingInterval":2000} @@ -273,9 +268,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/ts-node/index.d.ts: {"pollingInterval":500} -/node_modules/@types/ts-node/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js index 83f4bcc5e4de5..a8b4e62dcf8a1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_jsModuleExportsAssignment.js @@ -77,7 +77,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /third_party/marked/src/defaults.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /third_party/marked/src/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -171,8 +170,6 @@ watchedFiles:: {"pollingInterval":500} /third_party/marked/src/defaults.js: *new* {"pollingInterval":500} -/third_party/marked/src/package.json: *new* - {"pollingInterval":2000} /tsconfig.json: *new* {"pollingInterval":2000} @@ -293,8 +290,6 @@ watchedFiles:: {"pollingInterval":500} /third_party/marked/src/defaults.js: {"pollingInterval":500} -/third_party/marked/src/package.json: - {"pollingInterval":2000} /tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js index c28e535033cb0..04356a55c2e79 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js @@ -71,8 +71,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -111,12 +109,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/tests/cases/fourslash/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} @@ -171,8 +165,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -220,16 +212,10 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/tests/cases/fourslash/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /tests/cases/fourslash/server/indexdef.d.ts: *new* {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} @@ -349,18 +335,12 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/tests/cases/fourslash/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /tests/cases/fourslash/server/indexdef.d.ts: {"pollingInterval":500} /tests/cases/fourslash/server/indexdef.d.ts.map: *new* {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js index b2dc2bc81bb51..101ed9e6d44ba 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js @@ -71,8 +71,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -111,12 +109,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/tests/cases/fourslash/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} @@ -171,9 +165,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/out/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -221,18 +212,10 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/tests/cases/fourslash/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} /tests/cases/fourslash/server/out/indexdef.d.ts: *new* {"pollingInterval":500} -/tests/cases/fourslash/server/out/package.json: *new* - {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} @@ -350,20 +333,12 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/tests/cases/fourslash/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} /tests/cases/fourslash/server/out/indexdef.d.ts: {"pollingInterval":500} /tests/cases/fourslash/server/out/indexdef.d.ts.map: *new* {"pollingInterval":500} -/tests/cases/fourslash/server/out/package.json: - {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js index 2b1bade94fe13..b86f4fce469cb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsOutOfDateMapping.js @@ -50,7 +50,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/a/dist/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /node_modules/a/dist/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /node_modules/a/dist/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -87,8 +86,6 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/node_modules/a/dist/package.json: *new* - {"pollingInterval":2000} watchedDirectoriesRecursive:: /node_modules/a/dist/node_modules/@types: *new* @@ -128,7 +125,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /index.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/a/dist/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -170,7 +166,6 @@ Info seq [hh:mm:ss:mss] Files (4) Root file specified for compilation Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /node_modules/a/dist/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /node_modules/a/dist/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /node_modules/a/dist/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) @@ -190,12 +185,6 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/node_modules/a/dist/package.json: - {"pollingInterval":2000} *new* - -watchedFiles *deleted*:: -/node_modules/a/dist/package.json: - {"pollingInterval":2000} watchedDirectoriesRecursive *deleted*:: /node_modules/a/dist/node_modules/@types: @@ -290,8 +279,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/a/dist/index.d.ts.map: *new* {"pollingInterval":500} -/node_modules/a/dist/package.json: - {"pollingInterval":2000} /node_modules/a/src/index.ts: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/fourslashServer/definition01.js b/tests/baselines/reference/tsserver/fourslashServer/definition01.js index c2a8f5366f10f..46f8dbaeb4f5a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/definition01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/definition01.js @@ -38,8 +38,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -81,14 +79,10 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/tests/cases/fourslash/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/a.ts: *new* {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js index 1d59491b29d4e..f96996894e7ff 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getFileReferences_server2.js @@ -174,7 +174,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /pa Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/shared/src/package.json 2000 undefined Project: /packages/server/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/server/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/server/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -244,7 +243,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/shared/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/shared/src/package.json 2000 undefined Project: /packages/shared/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/shared/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/shared/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -297,7 +295,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/client/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/client/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/shared/src/package.json 2000 undefined Project: /packages/client/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/client/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/client/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -401,10 +398,6 @@ watchedFiles:: {"pollingInterval":500} /packages/server/tsconfig.json: *new* {"pollingInterval":2000} -/packages/shared/src/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} - {"pollingInterval":2000} /packages/shared/src/referenced.ts: *new* {"pollingInterval":500} /packages/shared/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js index 82e76cedbe49f..0fa3edbc2399a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource15_bundler.js @@ -299,7 +299,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliar Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/index.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/react.production.min.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/react.development.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (4) @@ -378,8 +377,6 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/node_modules/react/cjs/package.json: *new* - {"pollingInterval":2000} /node_modules/react/cjs/react.development.js: *new* {"pollingInterval":500} /node_modules/react/cjs/react.production.min.js: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js index 6473d1139795f..d3c7545aedd78 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource2_nodeModulesWithTypes.js @@ -107,7 +107,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /index.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/types/main.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/types/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -153,8 +152,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/foo/types/main.d.ts: *new* {"pollingInterval":500} -/node_modules/foo/types/package.json: *new* - {"pollingInterval":2000} Projects:: /dev/null/inferredProject1* (Inferred) @@ -206,7 +203,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/lib/main.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/lib/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) @@ -262,12 +258,8 @@ watchedFiles:: {"pollingInterval":500} /node_modules/foo/lib/main.js: *new* {"pollingInterval":500} -/node_modules/foo/lib/package.json: *new* - {"pollingInterval":2000} /node_modules/foo/types/main.d.ts: {"pollingInterval":500} -/node_modules/foo/types/package.json: - {"pollingInterval":2000} Projects:: /dev/null/auxiliaryProject1* (Auxiliary) *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js index 7232cb3bbca9d..88ccb1802560e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource3_nodeModulesAtTypes.js @@ -224,7 +224,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliaryProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/lib/main.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/lib/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (2) @@ -285,8 +284,6 @@ watchedFiles:: {"pollingInterval":2000} /node_modules/foo/lib/main.js: *new* {"pollingInterval":500} -/node_modules/foo/lib/package.json: *new* - {"pollingInterval":2000} Projects:: /dev/null/auxiliaryProject1* (Auxiliary) *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js index a483723901cea..e5c10da0977ce 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource6_sameAsGoToDef2.js @@ -114,7 +114,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /b.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/types/a.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/foo/types/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -160,8 +159,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/foo/types/a.d.ts: *new* {"pollingInterval":500} -/node_modules/foo/types/package.json: *new* - {"pollingInterval":2000} Projects:: /dev/null/inferredProject1* (Inferred) @@ -256,8 +253,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/foo/types/a.d.ts.map: *new* {"pollingInterval":500} -/node_modules/foo/types/package.json: - {"pollingInterval":2000} Projects:: /dev/null/inferredProject1* (Inferred) diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js index 1cf7967299c6d..272a9f03c7093 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource7_conditionallyMinified.js @@ -202,7 +202,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/auxiliar Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/index.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/react.production.min.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/react.development.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/react/cjs/package.json 2000 undefined Project: /dev/null/auxiliaryProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/auxiliaryProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/auxiliaryProject1*' (Auxiliary) Info seq [hh:mm:ss:mss] Files (4) @@ -281,8 +280,6 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/node_modules/react/cjs/package.json: *new* - {"pollingInterval":2000} /node_modules/react/cjs/react.development.js: *new* {"pollingInterval":500} /node_modules/react/cjs/react.production.min.js: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js index 216c583ccafc8..41b71ad8b4f5d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource8_mapFromAtTypes.js @@ -99,7 +99,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/l Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/common/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -143,8 +142,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/lodash/common/math.d.ts: *new* {"pollingInterval":500} -/node_modules/@types/lodash/common/package.json: *new* - {"pollingInterval":2000} /node_modules/@types/lodash/index.d.ts: *new* {"pollingInterval":500} /node_modules/@types/lodash/package.json: *new* @@ -193,7 +190,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /index.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/common/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -244,9 +240,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/lodash/common/math.d.ts: {"pollingInterval":500} -/node_modules/@types/lodash/common/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /node_modules/@types/lodash/index.d.ts: {"pollingInterval":500} /node_modules/@types/lodash/package.json: @@ -385,9 +378,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/lodash/common/math.d.ts: {"pollingInterval":500} -/node_modules/@types/lodash/common/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /node_modules/@types/lodash/index.d.ts: {"pollingInterval":500} /node_modules/@types/lodash/package.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js index a49947f513f4a..7bb6eedd30cf1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/goToSource9_mapFromAtTypes2.js @@ -100,7 +100,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/l Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/common/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -144,8 +143,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/lodash/common/math.d.ts: *new* {"pollingInterval":500} -/node_modules/@types/lodash/common/package.json: *new* - {"pollingInterval":2000} /node_modules/@types/lodash/index.d.ts: *new* {"pollingInterval":500} /node_modules/@types/lodash/package.json: *new* @@ -194,7 +191,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /index.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/lodash/common/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -245,9 +241,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/lodash/common/math.d.ts: {"pollingInterval":500} -/node_modules/@types/lodash/common/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /node_modules/@types/lodash/index.d.ts: {"pollingInterval":500} /node_modules/@types/lodash/package.json: @@ -358,9 +351,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/lodash/common/math.d.ts: {"pollingInterval":500} -/node_modules/@types/lodash/common/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /node_modules/@types/lodash/index.d.ts: {"pollingInterval":500} /node_modules/@types/lodash/package.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js index 7ee8257af3594..26ce028134677 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelateive2.js @@ -90,7 +90,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /apps/app1/tsconfi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /apps/app1/src/package.json 2000 undefined Project: /apps/app1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /apps/app1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/apps/app1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (8) @@ -179,8 +178,6 @@ watchedFiles:: {"pollingInterval":500} /apps/app1/src/index.ts: *new* {"pollingInterval":500} -/apps/app1/src/package.json: *new* - {"pollingInterval":2000} /apps/app1/src/utils.ts: *new* {"pollingInterval":500} /apps/app1/tsconfig.json: *new* @@ -322,8 +319,6 @@ After Request watchedFiles:: /apps/app1/src/app.ts: {"pollingInterval":500} -/apps/app1/src/package.json: - {"pollingInterval":2000} /apps/app1/src/utils.ts: {"pollingInterval":500} /apps/app1/tsconfig.json: @@ -722,8 +717,6 @@ Info seq [hh:mm:ss:mss] FileName: /apps/app1/src/app.ts ProjectRootPath: undef Info seq [hh:mm:ss:mss] Projects: /apps/app1/tsconfig.json After Request watchedFiles:: -/apps/app1/src/package.json: - {"pollingInterval":2000} /apps/app1/src/utils.ts: {"pollingInterval":500} /apps/app1/tsconfig.json: @@ -1124,8 +1117,6 @@ Info seq [hh:mm:ss:mss] FileName: /shared/data.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /apps/app1/tsconfig.json After Request watchedFiles:: -/apps/app1/src/package.json: - {"pollingInterval":2000} /apps/app1/src/utils.ts: {"pollingInterval":500} /apps/app1/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js index 4c140938503ed..7a82a9896774b 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_externalNonRelative1.js @@ -268,7 +268,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/pkg-2/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/pkg-2/src/utils.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/pkg-2/src/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (2) @@ -333,8 +332,6 @@ watchedFiles:: {"pollingInterval":2000} /packages/pkg-2/src/index.ts: *new* {"pollingInterval":500} -/packages/pkg-2/src/package.json: *new* - {"pollingInterval":2000} /packages/pkg-2/src/utils.ts: *new* {"pollingInterval":500} /packages/pkg-2/tsconfig.json: *new* @@ -569,8 +566,6 @@ watchedFiles:: {"pollingInterval":2000} /packages/pkg-2/src/index.ts: {"pollingInterval":500} -/packages/pkg-2/src/package.json: - {"pollingInterval":2000} /packages/pkg-2/src/utils.ts: {"pollingInterval":500} /packages/pkg-2/tsconfig.json: @@ -717,7 +712,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /packages/pkg-2/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/pkg-2/src/package.json 2000 undefined Project: /packages/pkg-2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/pkg-2/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/pkg-2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -805,9 +799,6 @@ watchedFiles:: {"pollingInterval":250} /packages/pkg-2/src/index.ts: {"pollingInterval":500} -/packages/pkg-2/src/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} *new* /packages/pkg-2/src/utils.ts: {"pollingInterval":500} /packages/pkg-2/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js index 85285d42db94c..710334dfd09fa 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importNameCodeFix_pnpm1.js @@ -59,11 +59,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -107,11 +102,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -155,23 +145,8 @@ watchedFiles:: {"pollingInterval":500} /project/index.ts: *new* {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /project/tsconfig.json: *new* {"pollingInterval":2000} @@ -250,23 +225,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /project/tsconfig.json: {"pollingInterval":2000} @@ -466,23 +426,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /project/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js index 9d54f35ec1d6c..4ea71c97c48f3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpm1.js @@ -59,11 +59,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -107,11 +102,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -155,23 +145,8 @@ watchedFiles:: {"pollingInterval":500} /project/index.ts: *new* {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /project/tsconfig.json: *new* {"pollingInterval":2000} @@ -250,23 +225,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /project/tsconfig.json: {"pollingInterval":2000} @@ -434,23 +394,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /project/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js index 3bd3379e8ad48..0afeb43c562bd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importStatementCompletions_pnpmTransitive.js @@ -65,14 +65,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/csstype@3.0.8/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (6) @@ -119,14 +111,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/csstype@3.0.8/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.pnpm/@types+react@17.0.7/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -173,34 +157,10 @@ watchedFiles:: {"pollingInterval":500} /project/index.ts: *new* {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts: *new* {"pollingInterval":500} -/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/csstype@3.0.8/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /project/tsconfig.json: *new* {"pollingInterval":2000} @@ -284,34 +244,10 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/index.d.ts: {"pollingInterval":500} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/@types/react/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/node_modules/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/@types+react@17.0.7/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/index.d.ts: {"pollingInterval":500} -/project/node_modules/.pnpm/csstype@3.0.8/node_modules/csstype/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/csstype@3.0.8/node_modules/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/csstype@3.0.8/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} -/project/node_modules/.pnpm/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /project/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js index d99174d5b2dcf..4232a57aad3d1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js +++ b/tests/baselines/reference/tsserver/fourslashServer/importSuggestionsCache_moduleAugmentation.js @@ -66,7 +66,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 5 Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -113,7 +112,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /node_modules/@types/react/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -159,9 +157,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/react/index.d.ts: *new* {"pollingInterval":500} -/node_modules/@types/react/package.json: *new* - {"pollingInterval":2000} - {"pollingInterval":2000} /tsconfig.json: *new* {"pollingInterval":2000} @@ -242,9 +237,6 @@ watchedFiles:: {"pollingInterval":500} /node_modules/@types/react/index.d.ts: {"pollingInterval":500} -/node_modules/@types/react/package.json: - {"pollingInterval":2000} - {"pollingInterval":2000} /tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js b/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js index 3c08c48a9a2e9..96c0898fd0f3e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js @@ -43,8 +43,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -83,12 +81,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/tests/cases/fourslash/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} @@ -184,8 +178,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -235,8 +227,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -258,21 +248,11 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/tests/cases/fourslash/package.json: - {"pollingInterval":2000} *new* /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: - {"pollingInterval":2000} *new* /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} -watchedFiles *deleted*:: -/tests/cases/fourslash/package.json: - {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: - {"pollingInterval":2000} - watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: {} *new* @@ -374,8 +354,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots @@ -432,8 +410,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -457,21 +433,11 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/tests/cases/fourslash/package.json: - {"pollingInterval":2000} *new* /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: - {"pollingInterval":2000} *new* /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} -watchedFiles *deleted*:: -/tests/cases/fourslash/package.json: - {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: - {"pollingInterval":2000} - watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: {} *new* @@ -627,12 +593,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: {"pollingInterval":500} -/tests/cases/fourslash/package.json: - {"pollingInterval":2000} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: - {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js b/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js index 8eaaebf2c00ff..6f2e8ffaff9dc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectInfo02.js @@ -59,8 +59,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots @@ -122,12 +120,8 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/tests/cases/fourslash/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/b.ts: *new* {"pollingInterval":500} -/tests/cases/fourslash/server/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js b/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js index 80f34b28ed869..fa234f0efbc89 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectWithNonExistentFiles.js @@ -60,8 +60,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/c.ts 500 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /tests/cases/fourslash/server/tsconfig.json WatchType: Type roots @@ -148,14 +146,10 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/tests/cases/fourslash/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/b.ts: *new* {"pollingInterval":500} /tests/cases/fourslash/server/c.ts: *new* {"pollingInterval":500} -/tests/cases/fourslash/server/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js b/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js index 48e4e2976d7f8..2fa0474b68474 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js @@ -38,8 +38,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/four Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.decorators.legacy.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -81,14 +79,10 @@ watchedFiles:: {"pollingInterval":500} /lib.decorators.legacy.d.ts: *new* {"pollingInterval":500} -/tests/cases/fourslash/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/a.ts: *new* {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} -/tests/cases/fourslash/server/package.json: *new* - {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js index eeca496dc8f70..79ecd95990291 100644 --- a/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js +++ b/tests/baselines/reference/tsserver/getMoveToRefactoringFileSuggestions/works-for-suggesting-a-list-of-files,-excluding-node_modules-within-a-project.js @@ -68,9 +68,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/d/e/file3.ts Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/@types/node/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/@types/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.cache/package.json 2000 undefined Project: /project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/project/tsconfig.json' (Configured) @@ -225,12 +222,6 @@ After request PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} -/project/node_modules/.cache/package.json: *new* - {"pollingInterval":2000} -/project/node_modules/@types/node/package.json: *new* - {"pollingInterval":2000} -/project/node_modules/@types/package.json: *new* - {"pollingInterval":2000} FsWatches:: /project/a/file4.ts: *new* diff --git a/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js b/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js index c355fee68d3cd..30e581791953a 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js +++ b/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js @@ -41,8 +41,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/module.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -81,14 +79,10 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js index b5dd99818b058..5a06bb102edb0 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js +++ b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js @@ -64,8 +64,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 un Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module3/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -110,14 +108,10 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -190,12 +184,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/jsconfig.json: @@ -266,8 +256,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/module.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/module.d.ts ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -288,8 +276,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module3/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -316,20 +302,10 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} *new* - -PolledWatches *deleted*:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -523,14 +499,10 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js b/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js index 07d13dee96823..d62d1f6afa370 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config-with-redirection.js @@ -226,21 +226,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/utils.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -260,13 +245,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== @@ -284,13 +262,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-s Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-scripthost' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -306,34 +277,10 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-e Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-es5' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/projects/project1/typeroot1'. Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== @@ -354,17 +301,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-d Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -492,16 +428,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project1/node_modules: *new* {"pollingInterval":500} -/home/src/projects/project1/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: *new* - {"pollingInterval":2000} FsWatches:: /home/src/projects/project1/core.d.ts: *new* @@ -643,90 +571,9 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. @@ -734,7 +581,7 @@ Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-dom' from 'node_modules Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Scoped package detected, looking in 'typescript__lib-dom' -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom.ts' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom.tsx' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom.d.ts' does not exist. @@ -761,10 +608,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) @@ -837,16 +680,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: *new* @@ -996,63 +831,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. @@ -1231,63 +1009,11 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -1444,58 +1170,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. @@ -1514,62 +1188,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-d Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -1760,57 +1379,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project1/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1,/home/src/projects/project1/typeroot2'. ======== Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/projects/project1/typeroot1, /home/src/projects/project1/typeroot2'. Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -1819,13 +1390,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/in Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 6 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -1895,16 +1459,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} /home/src/projects/project1/typeroot2: *new* {"pollingInterval":500} @@ -2064,57 +1620,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project1/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/projects/project1/typeroot1'. Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -2155,10 +1663,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 7 projectProgramVersion: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -2250,16 +1754,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/project1/typeroot2: @@ -2420,34 +1916,13 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Scoped package detected, looking in 'typescript__lib-webworker' -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker.ts' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker.tsx' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker.d.ts' does not exist. @@ -2474,50 +1949,11 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-webworker' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.webworker.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 8 projectProgramVersion: 6 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -2586,16 +2022,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: @@ -2770,55 +2198,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -2834,62 +2213,10 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-w Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-scripthost/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-scripthost/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-es5/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-es5/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 9 projectProgramVersion: 7 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) diff --git a/tests/baselines/reference/tsserver/libraryResolution/with-config.js b/tests/baselines/reference/tsserver/libraryResolution/with-config.js index cabdcdf6abf74..7bb9ca0eb52d7 100644 --- a/tests/baselines/reference/tsserver/libraryResolution/with-config.js +++ b/tests/baselines/reference/tsserver/libraryResolution/with-config.js @@ -187,21 +187,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/utils.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -232,10 +217,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.webworker.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. @@ -263,10 +244,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-scripthost' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.scripthost.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. @@ -294,32 +271,11 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-es5' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.es5.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/projects/project1/typeroot1'. Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== @@ -351,15 +307,7 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/lib/lib.dom.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/sometype/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1/package.json 2000 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot1 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -487,16 +435,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project1/node_modules: *new* {"pollingInterval":500} -/home/src/projects/project1/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: *new* - {"pollingInterval":2000} FsWatches:: /home/src/lib/lib.dom.d.ts: *new* @@ -611,54 +551,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. @@ -677,58 +569,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-d Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -922,57 +763,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. @@ -1147,57 +937,11 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 4 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -1346,67 +1090,9 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. @@ -1414,7 +1100,7 @@ Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-dom' from 'node_modules Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Scoped package detected, looking in 'typescript__lib-dom' -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom.ts' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom.tsx' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom.d.ts' does not exist. @@ -1441,10 +1127,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 5 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -1635,48 +1317,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project1/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1,/home/src/projects/project1/typeroot2'. ======== Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/projects/project1/typeroot1, /home/src/projects/project1/typeroot2'. Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -1685,10 +1328,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/in Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project1/typeroot1/sometype/index.d.ts', result '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Type reference directive 'sometype' was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts', primary: true. ======== Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 6 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -1758,16 +1397,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} /home/src/projects/project1/typeroot2: *new* {"pollingInterval":500} @@ -1933,48 +1564,9 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project1/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'sometype', containing file '/home/src/projects/project1/__inferred type names__.ts', root directory '/home/src/projects/project1/typeroot1'. ======== Info seq [hh:mm:ss:mss] Resolving with primary search path '/home/src/projects/project1/typeroot1'. Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype.d.ts' does not exist. @@ -1997,13 +1589,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-d Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-dom' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project1/typeroot2 1 undefined Project: /home/src/projects/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 7 projectProgramVersion: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -2065,16 +1650,8 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 1 PolledWatches:: -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project1/node_modules: {"pollingInterval":500} -/home/src/projects/project1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/package.json: - {"pollingInterval":2000} -/home/src/projects/project1/typeroot1/sometype/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/project1/typeroot2: @@ -2244,52 +1821,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -2305,59 +1836,10 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-w Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts', result '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-webworker' was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-webworker/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 8 projectProgramVersion: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) @@ -2559,38 +2041,13 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.jsonFailedLookupInvalidation Info seq [hh:mm:ss:mss] Running: /home/src/projects/project1/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-webworker' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.webworker.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. Info seq [hh:mm:ss:mss] Loading module '@typescript/lib-webworker' from 'node_modules' folder, target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project1/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Scoped package detected, looking in 'typescript__lib-webworker' -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker.ts' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker.tsx' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-webworker.d.ts' does not exist. @@ -2617,46 +2074,10 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name '@typescript/lib-webworker' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-scripthost' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es5' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.es5.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/home/src/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/sometype/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/typeroot1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'sometype' from '/home/src/projects/project1/__inferred type names__.ts' of old program, it was successfully resolved to '/home/src/projects/project1/typeroot1/sometype/index.d.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-dom' from '/home/src/projects/project1/__lib_node_modules_lookup_lib.dom.d.ts__.ts' of old program, it was successfully resolved to '/home/src/projects/node_modules/@typescript/lib-dom/index.d.ts'. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/lib-dom/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/@typescript/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project1/tsconfig.json projectStateVersion: 9 projectProgramVersion: 7 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project1/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (9) diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js index 9a1834f7f2be8..d1a97b7473f2e 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js @@ -54,13 +54,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules/minimatch/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules/glob/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/node_modules/path/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (5) @@ -87,24 +80,10 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer PolledWatches:: -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project1/jsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/project1/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project1/src/jsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/project1/src/node_modules/glob/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project1/src/node_modules/minimatch/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project1/src/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project1/src/node_modules/path/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project1/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project1/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/project1/tsconfig.json: *new* @@ -307,24 +286,10 @@ PolledWatches:: {"pollingInterval":500} /node_modules: *new* {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/project1/jsconfig.json: {"pollingInterval":2000} -/user/username/projects/project1/package.json: - {"pollingInterval":2000} /user/username/projects/project1/src/jsconfig.json: {"pollingInterval":2000} -/user/username/projects/project1/src/node_modules/glob/package.json: - {"pollingInterval":2000} -/user/username/projects/project1/src/node_modules/minimatch/package.json: - {"pollingInterval":2000} -/user/username/projects/project1/src/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/project1/src/node_modules/path/package.json: - {"pollingInterval":2000} -/user/username/projects/project1/src/package.json: - {"pollingInterval":2000} /user/username/projects/project1/src/tsconfig.json: {"pollingInterval":2000} /user/username/projects/project1/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js index d765f8953a934..719f71642cbe3 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/should-be-set-to-2-if-the-project-has-js-root-files.js @@ -21,8 +21,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/file1.js ProjectR Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/test/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -40,10 +38,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer PolledWatches:: -/a/b/node_modules/package.json: *new* - {"pollingInterval":2000} -/a/b/node_modules/test/package.json: *new* - {"pollingInterval":2000} /a/lib/lib.d.ts: *new* {"pollingInterval":500} @@ -207,10 +201,6 @@ After request PolledWatches:: /a/b/bower_components: *new* {"pollingInterval":500} -/a/b/node_modules/package.json: - {"pollingInterval":2000} -/a/b/node_modules/test/package.json: - {"pollingInterval":2000} /a/lib/lib.d.ts: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js index 571cd73700431..384ab1bebdd90 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js +++ b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project-built.js @@ -137,7 +137,7 @@ export * from "./subfolder"; //# sourceMappingURL=index.d.ts.map //// [/home/src/projects/project/packages/package-a/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.es2021.d.ts","../src/subfolder/index.ts","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-11228512861-export const FOO = \"bar\";","signature":"-8746013027-export declare const FOO = \"bar\";\n","impliedFormat":99},{"version":"-16576232793-export * from \"./subfolder\";","signature":"-14439737455-export * from \"./subfolder\";\n","impliedFormat":99}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declarationMap":true,"esModuleInterop":true,"module":99,"outDir":"./","rootDir":"../src","target":8,"tsBuildInfoFile":"./tsconfig.tsbuildinfo"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.es2021.d.ts","../src/subfolder/index.ts","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},{"version":"-11228512861-export const FOO = \"bar\";","signature":"-8746013027-export declare const FOO = \"bar\";\n"},{"version":"-16576232793-export * from \"./subfolder\";","signature":"-14439737455-export * from \"./subfolder\";\n"}],"root":[2,3],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declarationMap":true,"esModuleInterop":true,"module":99,"outDir":"./","rootDir":"../src","target":8,"tsBuildInfoFile":"./tsconfig.tsbuildinfo"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project/packages/package-a/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -156,33 +156,27 @@ export * from "./subfolder"; "../../../../../../../a/lib/lib.es2021.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/subfolder/index.ts": { "original": { "version": "-11228512861-export const FOO = \"bar\";", - "signature": "-8746013027-export declare const FOO = \"bar\";\n", - "impliedFormat": 99 + "signature": "-8746013027-export declare const FOO = \"bar\";\n" }, "version": "-11228512861-export const FOO = \"bar\";", - "signature": "-8746013027-export declare const FOO = \"bar\";\n", - "impliedFormat": "esnext" + "signature": "-8746013027-export declare const FOO = \"bar\";\n" }, "../src/index.ts": { "original": { "version": "-16576232793-export * from \"./subfolder\";", - "signature": "-14439737455-export * from \"./subfolder\";\n", - "impliedFormat": 99 + "signature": "-14439737455-export * from \"./subfolder\";\n" }, "version": "-16576232793-export * from \"./subfolder\";", - "signature": "-14439737455-export * from \"./subfolder\";\n", - "impliedFormat": "esnext" + "signature": "-14439737455-export * from \"./subfolder\";\n" } }, "root": [ @@ -214,7 +208,7 @@ export * from "./subfolder"; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1234 + "size": 1178 } //// [/home/src/projects/project/packages/package-b/build/index.js] @@ -230,7 +224,7 @@ export {}; //# sourceMappingURL=index.d.ts.map //// [/home/src/projects/project/packages/package-b/build/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.es2021.d.ts","../../package-a/build/subfolder/index.d.ts","../../package-a/build/index.d.ts","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true,"impliedFormat":1},{"version":"-8746013027-export declare const FOO = \"bar\";\n","impliedFormat":99},{"version":"-14439737455-export * from \"./subfolder\";\n","impliedFormat":99},{"version":"-5331409584-import { FOO } from \"package-a\";\nconsole.log(FOO);\n","signature":"-3531856636-export {};\n","impliedFormat":99}],"root":[4],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declarationMap":true,"esModuleInterop":true,"module":99,"outDir":"./","rootDir":"../src","target":8,"tsBuildInfoFile":"./tsconfig.tsbuildinfo"},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.es2021.d.ts","../../package-a/build/subfolder/index.d.ts","../../package-a/build/index.d.ts","../src/index.ts"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"-8746013027-export declare const FOO = \"bar\";\n","-14439737455-export * from \"./subfolder\";\n",{"version":"-5331409584-import { FOO } from \"package-a\";\nconsole.log(FOO);\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declarationMap":true,"esModuleInterop":true,"module":99,"outDir":"./","rootDir":"../src","target":8,"tsBuildInfoFile":"./tsconfig.tsbuildinfo"},"fileIdsList":[[2],[3]],"referencedMap":[[3,1],[4,2]],"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/home/src/projects/project/packages/package-b/build/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -253,41 +247,27 @@ export {}; "../../../../../../../a/lib/lib.es2021.d.ts": { "original": { "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../package-a/build/subfolder/index.d.ts": { - "original": { - "version": "-8746013027-export declare const FOO = \"bar\";\n", - "impliedFormat": 99 - }, "version": "-8746013027-export declare const FOO = \"bar\";\n", - "signature": "-8746013027-export declare const FOO = \"bar\";\n", - "impliedFormat": "esnext" + "signature": "-8746013027-export declare const FOO = \"bar\";\n" }, "../../package-a/build/index.d.ts": { - "original": { - "version": "-14439737455-export * from \"./subfolder\";\n", - "impliedFormat": 99 - }, "version": "-14439737455-export * from \"./subfolder\";\n", - "signature": "-14439737455-export * from \"./subfolder\";\n", - "impliedFormat": "esnext" + "signature": "-14439737455-export * from \"./subfolder\";\n" }, "../src/index.ts": { "original": { "version": "-5331409584-import { FOO } from \"package-a\";\nconsole.log(FOO);\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 99 + "signature": "-3531856636-export {};\n" }, "version": "-5331409584-import { FOO } from \"package-a\";\nconsole.log(FOO);\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "esnext" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -318,7 +298,7 @@ export {}; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 1321 + "size": 1222 } @@ -403,8 +383,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package-a/t Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src 1 undefined Config: /home/src/projects/project/packages/package-a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src 1 undefined Config: /home/src/projects/project/packages/package-a/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package-b/package.json'. Info seq [hh:mm:ss:mss] ======== Resolving module 'package-a' from '/home/src/projects/project/packages/package-b/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Bundler'. Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. @@ -417,8 +395,8 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/pac Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package-a.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package-a.jsx' does not exist. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package-b/package-a' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package-b/package.json'. Info seq [hh:mm:ss:mss] Loading module 'package-a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package-b/src/node_modules' does not exist, skipping all lookups in it. @@ -433,8 +411,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package-a Info seq [hh:mm:ss:mss] 'package.json' does not have a 'peerDependencies' field. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project/node_modules/package-a/build/index.d.ts', result '/home/src/projects/project/packages/package-a/build/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'package-a' was successfully resolved to '/home/src/projects/project/packages/package-a/build/index.d.ts' with Package ID 'package-a/build/index.d.ts@1.0.0'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package-a/package.json'. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module './subfolder' from '/home/src/projects/project/packages/package-a/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Using compiler options of project reference redirect '/home/src/projects/project/packages/package-a/tsconfig.json'. @@ -451,9 +427,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src Info seq [hh:mm:ss:mss] ======== Module name './subfolder' was successfully resolved to '/home/src/projects/project/packages/package-a/src/subfolder/index.ts'. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/subfolder/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src/subfolder/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-es2021' from '/home/src/projects/project/packages/package-b/__lib_node_modules_lookup_lib.es2021.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. @@ -490,9 +463,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2021.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations @@ -504,9 +474,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b 0 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src/subfolder/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/src/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Type roots @@ -528,13 +495,10 @@ Info seq [hh:mm:ss:mss] Files (4) Library 'lib.es2021.d.ts' specified in compilerOptions ../package-a/src/subfolder/index.ts Imported via "./subfolder" from file '../package-a/src/index.ts' - File is ECMAScript module because '../package-a/package.json' has field "type" with value "module" ../package-a/src/index.ts Imported via "package-a" from file 'src/index.ts' with packageId 'package-a/build/index.d.ts@1.0.0' - File is ECMAScript module because '../package-a/package.json' has field "type" with value "module" src/index.ts Matched by include pattern './src/**/*.ts' in 'tsconfig.json' - File is ECMAScript module because 'package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package.json 250 undefined WatchType: package.json file @@ -640,18 +604,12 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package-a/src/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/packages/package-a/src/subfolder/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package-b/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/packages/package-b/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/packages/package-b/package-a: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package-b/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2021.d.ts: *new* @@ -875,18 +833,6 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/subfolder/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package-aX' from '/home/src/projects/project/packages/package-b/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Bundler'. Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. @@ -926,9 +872,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package-aX' was not resolved. ======== Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es2021' from '/home/src/projects/project/packages/package-b/__lib_node_modules_lookup_lib.es2021.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package-aX 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package-aX 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-b/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations @@ -936,8 +879,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a/src/subfolder/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a/src/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -951,7 +892,6 @@ Info seq [hh:mm:ss:mss] Files (2) Library 'lib.es2021.d.ts' specified in compilerOptions src/index.ts Matched by include pattern './src/**/*.ts' in 'tsconfig.json' - File is ECMAScript module because 'package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -983,14 +923,8 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package-b/package-aX: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package-b/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: -/home/src/projects/project/packages/package-a/src/package.json: - {"pollingInterval":2000} -/home/src/projects/project/packages/package-a/src/subfolder/package.json: - {"pollingInterval":2000} /home/src/projects/project/packages/package-b/package-a: {"pollingInterval":500} @@ -1195,13 +1129,6 @@ Before running Timeout callback:: count: 1 3: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package-a' from '/home/src/projects/project/packages/package-b/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Bundler'. Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. @@ -1229,8 +1156,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package-a Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package-a/build/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project/node_modules/package-a/build/index.d.ts', result '/home/src/projects/project/packages/package-a/build/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'package-a' was successfully resolved to '/home/src/projects/project/packages/package-a/build/index.d.ts' with Package ID 'package-a/build/index.d.ts@1.0.0'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module './subfolder' from '/home/src/projects/project/packages/package-a/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Using compiler options of project reference redirect '/home/src/projects/project/packages/package-a/tsconfig.json'. Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Bundler'. @@ -1246,20 +1171,12 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src Info seq [hh:mm:ss:mss] ======== Module name './subfolder' was successfully resolved to '/home/src/projects/project/packages/package-a/src/subfolder/index.ts'. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/subfolder/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es2021' from '/home/src/projects/project/packages/package-b/__lib_node_modules_lookup_lib.es2021.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src/subfolder/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-b/package-aX 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-b/package-aX 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -1275,13 +1192,10 @@ Info seq [hh:mm:ss:mss] Files (4) Library 'lib.es2021.d.ts' specified in compilerOptions ../package-a/src/subfolder/index.ts Imported via "./subfolder" from file '../package-a/src/index.ts' - File is ECMAScript module because '../package-a/package.json' has field "type" with value "module" ../package-a/src/index.ts Imported via "package-a" from file 'src/index.ts' with packageId 'package-a/build/index.d.ts@1.0.0' - File is ECMAScript module because '../package-a/package.json' has field "type" with value "module" src/index.ts Matched by include pattern './src/**/*.ts' in 'tsconfig.json' - File is ECMAScript module because 'package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -1307,18 +1221,12 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package-a/src/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/packages/package-a/src/subfolder/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package-b/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package-b/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/packages/package-b/package-a: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package-b/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/project/packages/package-b/package-aX: diff --git a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js index 95ab6a3ca9803..87191e5993968 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js +++ b/tests/baselines/reference/tsserver/moduleResolution/using-referenced-project.js @@ -196,8 +196,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package-a/t Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/tsconfig.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src 1 undefined Config: /home/src/projects/project/packages/package-a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src 1 undefined Config: /home/src/projects/project/packages/package-a/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package-b/package.json'. Info seq [hh:mm:ss:mss] ======== Resolving module 'package-a' from '/home/src/projects/project/packages/package-b/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Bundler'. Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. @@ -210,8 +208,8 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/pac Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package-a.js' does not exist. Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package-a.jsx' does not exist. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package-b/package-a' does not exist, skipping all lookups in it. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package.json' exists according to earlier cached lookups. +Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist. +Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package-b/package.json'. Info seq [hh:mm:ss:mss] Loading module 'package-a' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON. Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration. Info seq [hh:mm:ss:mss] Directory '/home/src/projects/project/packages/package-b/src/node_modules' does not exist, skipping all lookups in it. @@ -226,8 +224,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package-a Info seq [hh:mm:ss:mss] 'package.json' does not have a 'peerDependencies' field. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project/node_modules/package-a/build/index.d.ts', result '/home/src/projects/project/packages/package-a/build/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'package-a' was successfully resolved to '/home/src/projects/project/packages/package-a/build/index.d.ts' with Package ID 'package-a/build/index.d.ts@1.0.0'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package-a/package.json'. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module './subfolder' from '/home/src/projects/project/packages/package-a/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Using compiler options of project reference redirect '/home/src/projects/project/packages/package-a/tsconfig.json'. @@ -244,9 +240,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src Info seq [hh:mm:ss:mss] ======== Module name './subfolder' was successfully resolved to '/home/src/projects/project/packages/package-a/src/subfolder/index.ts'. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/subfolder/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src/subfolder/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module '@typescript/lib-es2021' from '/home/src/projects/project/packages/package-b/__lib_node_modules_lookup_lib.es2021.d.ts__.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Node10'. @@ -283,9 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2021.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations @@ -297,9 +287,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b 0 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src/subfolder/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/src/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Type roots @@ -321,13 +308,10 @@ Info seq [hh:mm:ss:mss] Files (4) Library 'lib.es2021.d.ts' specified in compilerOptions ../package-a/src/subfolder/index.ts Imported via "./subfolder" from file '../package-a/src/index.ts' - File is ECMAScript module because '../package-a/package.json' has field "type" with value "module" ../package-a/src/index.ts Imported via "package-a" from file 'src/index.ts' with packageId 'package-a/build/index.d.ts@1.0.0' - File is ECMAScript module because '../package-a/package.json' has field "type" with value "module" src/index.ts Matched by include pattern './src/**/*.ts' in 'tsconfig.json' - File is ECMAScript module because 'package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package.json 250 undefined WatchType: package.json file @@ -433,18 +417,12 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package-a/src/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/packages/package-a/src/subfolder/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package-b/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/packages/package-b/node_modules/@types: *new* {"pollingInterval":500} /home/src/projects/project/packages/package-b/package-a: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package-b/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2021.d.ts: *new* @@ -668,18 +646,6 @@ Before running Timeout callback:: count: 1 2: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/subfolder/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package-aX' from '/home/src/projects/project/packages/package-b/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Bundler'. Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. @@ -719,9 +685,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package-aX' was not resolved. ======== Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es2021' from '/home/src/projects/project/packages/package-b/__lib_node_modules_lookup_lib.es2021.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package-aX 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package-aX 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-b/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations @@ -729,8 +692,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a/src/subfolder/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a/src/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -744,7 +705,6 @@ Info seq [hh:mm:ss:mss] Files (2) Library 'lib.es2021.d.ts' specified in compilerOptions src/index.ts Matched by include pattern './src/**/*.ts' in 'tsconfig.json' - File is ECMAScript module because 'package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -776,14 +736,8 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package-b/package-aX: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package-b/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: -/home/src/projects/project/packages/package-a/src/package.json: - {"pollingInterval":2000} -/home/src/projects/project/packages/package-a/src/subfolder/package.json: - {"pollingInterval":2000} /home/src/projects/project/packages/package-b/package-a: {"pollingInterval":500} @@ -988,13 +942,6 @@ Before running Timeout callback:: count: 1 3: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-b/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package-a' from '/home/src/projects/project/packages/package-b/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Bundler'. Info seq [hh:mm:ss:mss] Resolving in CJS mode with conditions 'import', 'types'. @@ -1022,8 +969,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package-a Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package-a/build/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project/node_modules/package-a/build/index.d.ts', result '/home/src/projects/project/packages/package-a/build/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'package-a' was successfully resolved to '/home/src/projects/project/packages/package-a/build/index.d.ts' with Package ID 'package-a/build/index.d.ts@1.0.0'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module './subfolder' from '/home/src/projects/project/packages/package-a/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Using compiler options of project reference redirect '/home/src/projects/project/packages/package-a/tsconfig.json'. Info seq [hh:mm:ss:mss] Explicitly specified module resolution kind: 'Bundler'. @@ -1039,20 +984,12 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src Info seq [hh:mm:ss:mss] ======== Module name './subfolder' was successfully resolved to '/home/src/projects/project/packages/package-a/src/subfolder/index.ts'. ======== Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/subfolder/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package-a/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '@typescript/lib-es2021' from '/home/src/projects/project/packages/package-b/__lib_node_modules_lookup_lib.es2021.d.ts__.ts' of old program, it was not resolved. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-b/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package-a 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src/subfolder/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package-a/src/package.json 2000 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-b/package-aX 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package-b/package-aX 1 undefined Project: /home/src/projects/project/packages/package-b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package-b/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -1068,13 +1005,10 @@ Info seq [hh:mm:ss:mss] Files (4) Library 'lib.es2021.d.ts' specified in compilerOptions ../package-a/src/subfolder/index.ts Imported via "./subfolder" from file '../package-a/src/index.ts' - File is ECMAScript module because '../package-a/package.json' has field "type" with value "module" ../package-a/src/index.ts Imported via "package-a" from file 'src/index.ts' with packageId 'package-a/build/index.d.ts@1.0.0' - File is ECMAScript module because '../package-a/package.json' has field "type" with value "module" src/index.ts Matched by include pattern './src/**/*.ts' in 'tsconfig.json' - File is ECMAScript module because 'package.json' has field "type" with value "module" Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] event: @@ -1100,18 +1034,12 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package-a/src/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/packages/package-a/src/subfolder/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package-b/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package-b/node_modules/@types: {"pollingInterval":500} /home/src/projects/project/packages/package-b/package-a: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package-b/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/project/packages/package-b/package-aX: diff --git a/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js b/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js index ec8f33d6e9730..c360ba45106b7 100644 --- a/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js +++ b/tests/baselines/reference/tsserver/openfile/can-open-same-file-again.js @@ -57,9 +57,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject 1 undefined Config: /user/someuser/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/src/package.json 2000 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/package.json 2000 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/someuser/projects/package.json 2000 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots @@ -154,14 +151,8 @@ After request PolledWatches:: /user/someuser/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/someuser/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/someuser/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/someuser/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/someuser/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js b/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js index ebcb5e21ae8e0..87ae8001b37f9 100644 --- a/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js +++ b/tests/baselines/reference/tsserver/openfile/uses-existing-project-even-if-project-refresh-is-pending.js @@ -56,9 +56,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject 1 undefined Config: /user/someuser/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/someuser/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/src/package.json 2000 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/package.json 2000 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/someuser/projects/package.json 2000 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/myproject/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/someuser/projects/node_modules/@types 1 undefined Project: /user/someuser/projects/myproject/tsconfig.json WatchType: Type roots @@ -153,14 +150,8 @@ After request PolledWatches:: /user/someuser/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/someuser/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/someuser/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/someuser/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/someuser/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js b/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js index 10687f14d8f2a..0f4d6494cac2b 100644 --- a/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js +++ b/tests/baselines/reference/tsserver/plugins/gets-external-files-with-config-file-reload.js @@ -73,8 +73,6 @@ PluginFactory Invoke Info seq [hh:mm:ss:mss] Plugin validation succeeded Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/someFile.txt 500 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,14 +178,10 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/someFile.txt: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -346,14 +340,10 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/someOtherFile.txt: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/someFile.txt: diff --git a/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js b/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js index 53101bf7bee38..480f9f49a9ccc 100644 --- a/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js +++ b/tests/baselines/reference/tsserver/plugins/new-files-with-non-ts-extensions-with-wildcard-matching.js @@ -78,8 +78,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b.vue 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -184,12 +182,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -308,12 +302,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js b/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js index bafb624f640f6..a6b7b5fecd667 100644 --- a/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js +++ b/tests/baselines/reference/tsserver/plugins/when-scriptKind-changes-for-the-external-file.js @@ -77,8 +77,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -182,14 +180,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js b/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js index 52c9a2bae5920..7299a826bc678 100644 --- a/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js +++ b/tests/baselines/reference/tsserver/pluginsAsync/project-is-deferred-closed-before-plugins-are-loaded.js @@ -60,8 +60,6 @@ request import plugin-a awaiting config file delete Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/project/tsconfig.json WatchType: Type roots @@ -156,12 +154,8 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js index 4b60c8bd07bd4..317938aa8208d 100644 --- a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js +++ b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js @@ -77,12 +77,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@custom/plugin/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@custom/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/src/package.json 2000 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@types 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules/@types 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -181,22 +175,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/users/username/projects/myproject/node_modules/@custom/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/node_modules/@custom/plugin/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js b/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js index af1878ba9d207..aeeead39431e3 100644 --- a/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js +++ b/tests/baselines/reference/tsserver/projectErrors/file-rename-on-wsl2.js @@ -69,8 +69,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/src/b.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/username/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/src/package.json 2000 undefined Project: /home/username/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/package.json 2000 undefined Project: /home/username/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/username/project/node_modules/@types 1 undefined Project: /home/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/username/project/node_modules/@types 1 undefined Project: /home/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/username/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -168,10 +166,6 @@ After request PolledWatches:: /home/username/project/node_modules/@types: *new* {"pollingInterval":500} -/home/username/project/package.json: *new* - {"pollingInterval":2000} -/home/username/project/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -215,12 +209,8 @@ export const b = 10; PolledWatches:: /home/username/project/node_modules/@types: {"pollingInterval":500} -/home/username/project/package.json: - {"pollingInterval":2000} /home/username/project/src/b.ts: *new* {"pollingInterval":500} -/home/username/project/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -326,8 +316,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/username/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/username/project/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/username/project/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/username/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -368,16 +356,12 @@ After request PolledWatches:: /home/username/project/node_modules/@types: {"pollingInterval":500} -/home/username/project/package.json: - {"pollingInterval":2000} /home/username/project/src/b.ts: {"pollingInterval":500} /home/username/project/src/jsconfig.json: *new* {"pollingInterval":2000} /home/username/project/src/node_modules/@types: *new* {"pollingInterval":500} -/home/username/project/src/package.json: - {"pollingInterval":2000} /home/username/project/src/tsconfig.json: *new* {"pollingInterval":2000} @@ -544,8 +528,6 @@ Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /home/username/project/src/c.ts ProjectRootPath: /home/username/project Info seq [hh:mm:ss:mss] Projects: /home/username/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/username/project/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/username/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -585,12 +567,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/username/project/node_modules/@types: {"pollingInterval":500} -/home/username/project/package.json: - {"pollingInterval":2000} /home/username/project/src/node_modules/@types: {"pollingInterval":500} -/home/username/project/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/username/project/src/b.ts: @@ -666,12 +644,8 @@ After request PolledWatches:: /home/username/project/node_modules/@types: {"pollingInterval":500} -/home/username/project/package.json: - {"pollingInterval":2000} /home/username/project/src/node_modules/@types: {"pollingInterval":500} -/home/username/project/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js index 9b34c951b72b8..146b35e7b9670 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js @@ -62,9 +62,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -161,16 +158,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -333,16 +324,10 @@ Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/node_modules: @@ -840,9 +825,6 @@ Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jso Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@angular/core/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@angular/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -893,22 +875,10 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/node_modules/@angular/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@angular/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js index 49e7740c2fb85..24d60e66f0f4f 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js @@ -62,9 +62,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -161,16 +158,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -336,16 +327,10 @@ Before running Timeout callback:: count: 3 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/node_modules: @@ -882,9 +867,6 @@ Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.jso Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@angular/core/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@angular/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -935,22 +917,10 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/node_modules/@angular/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@angular/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js b/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js index d7bcc39e10973..84ccdba9078a7 100644 --- a/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js +++ b/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js @@ -288,12 +288,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/utilities.js 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/backend/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -443,38 +437,26 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/client/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/src/client/tsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/server/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/test/backend/jsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/myproject/test/backend/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/test/backend/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/test/jsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/myproject/test/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/test/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -687,30 +669,18 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/client/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/src/client/tsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/server/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: {"pollingInterval":2000} -/user/username/projects/myproject/test/backend/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/test/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/test/backend/jsconfig.json: @@ -778,12 +748,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/backend/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -896,10 +860,6 @@ TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discove Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) @@ -1040,20 +1000,14 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/myproject/src/client/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/src/client/tsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} *new* /user/username/projects/myproject/src/server/jsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/myproject/src/server/package.json: - {"pollingInterval":2000} *new* /user/username/projects/myproject/src/server/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: @@ -1062,22 +1016,6 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} *new* - -PolledWatches *deleted*:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/server/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/test/backend/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/test/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js b/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js index d01d0b0a605c8..45c5d0465f7a3 100644 --- a/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js @@ -77,9 +77,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -183,14 +180,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js b/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js index 5835200e327d4..f19b46b3631db 100644 --- a/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js @@ -75,9 +75,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/blabla.json 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -180,14 +177,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js index 7b0e6134bf6de..f79333487cd43 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js @@ -89,7 +89,7 @@ declare namespace Hmi { //// [/user/username/projects/myproject/buttonClass/Source.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./Source.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-1678937917-module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}","impliedFormat":1}],"root":[2],"options":{"composite":true,"module":0,"outFile":"./Source.js"},"outSignature":"6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n","latestChangedDtsFile":"./Source.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./Source.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-1678937917-module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}"],"root":[2],"options":{"composite":true,"module":0,"outFile":"./Source.js"},"outSignature":"6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n","latestChangedDtsFile":"./Source.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/buttonClass/Source.tsbuildinfo.readable.baseline.txt] { @@ -99,22 +99,8 @@ declare namespace Hmi { "./Source.ts" ], "fileInfos": { - "../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./Source.ts": { - "original": { - "version": "-1678937917-module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}", - "impliedFormat": 1 - }, - "version": "-1678937917-module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}", - "impliedFormat": "commonjs" - } + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./Source.ts": "-1678937917-module Hmi {\n export class Button {\n public static myStaticFunction() {\n }\n }\n}" }, "root": [ [ @@ -131,7 +117,7 @@ declare namespace Hmi { "latestChangedDtsFile": "./Source.d.ts" }, "version": "FakeTSVersion", - "size": 893 + "size": 833 } //// [/user/username/projects/myproject/SiblingClass/Source.js] @@ -157,7 +143,7 @@ declare namespace Hmi { //// [/user/username/projects/myproject/SiblingClass/Source.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../buttonClass/Source.d.ts","./Source.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n","impliedFormat":1},{"version":"-3370344921-module Hmi {\n export class Sibling {\n public mySiblingFunction() {\n }\n }\n}","impliedFormat":1}],"root":[3],"options":{"composite":true,"module":0,"outFile":"./Source.js"},"outSignature":"-2810380820-declare namespace Hmi {\n class Sibling {\n mySiblingFunction(): void;\n }\n}\n","latestChangedDtsFile":"./Source.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../buttonClass/Source.d.ts","./Source.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n","-3370344921-module Hmi {\n export class Sibling {\n public mySiblingFunction() {\n }\n }\n}"],"root":[3],"options":{"composite":true,"module":0,"outFile":"./Source.js"},"outSignature":"-2810380820-declare namespace Hmi {\n class Sibling {\n mySiblingFunction(): void;\n }\n}\n","latestChangedDtsFile":"./Source.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/SiblingClass/Source.tsbuildinfo.readable.baseline.txt] { @@ -168,30 +154,9 @@ declare namespace Hmi { "./Source.ts" ], "fileInfos": { - "../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "../buttonClass/Source.d.ts": { - "original": { - "version": "6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n", - "impliedFormat": 1 - }, - "version": "6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n", - "impliedFormat": "commonjs" - }, - "./Source.ts": { - "original": { - "version": "-3370344921-module Hmi {\n export class Sibling {\n public mySiblingFunction() {\n }\n }\n}", - "impliedFormat": 1 - }, - "version": "-3370344921-module Hmi {\n export class Sibling {\n public mySiblingFunction() {\n }\n }\n}", - "impliedFormat": "commonjs" - } + "../../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "../buttonClass/Source.d.ts": "6176297704-declare namespace Hmi {\n class Button {\n static myStaticFunction(): void;\n }\n}\n", + "./Source.ts": "-3370344921-module Hmi {\n export class Sibling {\n public mySiblingFunction() {\n }\n }\n}" }, "root": [ [ @@ -208,7 +173,7 @@ declare namespace Hmi { "latestChangedDtsFile": "./Source.d.ts" }, "version": "FakeTSVersion", - "size": 1054 + "size": 964 } diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js index da7448c8f0aa2..f51eb8e939097 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -670,20 +647,12 @@ export declare function fn3(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js index 5de9cb5063b7d..c0cd10aec83b6 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -655,20 +632,12 @@ export declare function fn2(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js index eb5e73cb53c2a..2689db2fc3e58 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -666,20 +643,12 @@ export declare function fn2(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js index fb5c42e5c41d6..cce64e1abce3a 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -655,20 +632,12 @@ export declare function fn2(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js index 8bc2270cab8d1..44647429de655 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -656,20 +633,12 @@ export declare function fn3(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js index 1f2841d3467f3..643df96e62e83 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -634,20 +611,12 @@ export declare function fn2(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js index 37af36988a2d4..4868272de0f15 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -654,20 +631,12 @@ export declare function fn2(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js index 2d2e88eaa4465..b409ebea01f21 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -634,20 +611,12 @@ export declare function fn2(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js index 952fc1aa9b3de..f07819b86478f 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -526,20 +503,12 @@ export declare function fn2(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js index 7ba44f582a640..9fdfa122362f0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js index fcae4e0ff414d..a44d84ef38b4b 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js index b963bf3353abc..1395de2b939ec 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js index 891d8ae2d4b1a..0d612e6f48a3f 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js index 177cc5fb18a05..0b16dde4d05cc 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js index 65514e8043b0e..39b445663ecac 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -559,20 +536,12 @@ export declare function fn2(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js index 26889046af6be..3a6e86e5aa487 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js index 93e6288c6d01b..fa4a566d858b8 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js index dbd4e0e2295ce..b2548ac82faf6 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js index b2b72522153bf..4d28b04279911 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js index c7502afcfdfa6..f290f010cc397 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js index ba7bddd6a4310..6a719187d2a93 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js index 839688d6710dd..e5fdf34ad1ba5 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js index 92e781880ce82..d90603926962e 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js index ca3bc7c836da6..545f941fe38f2 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js index 404c0f72a34b4..0d1e08aaa071b 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -282,9 +270,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -393,20 +378,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js index 632297879b98a..38bb75ecf5220 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js index 163d09cf3efb0..7b204c2e63722 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js index 13f064b71b51f..4fd2a7ecc8090 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js index e4f4d5301e0b5..9d32f222fe364 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js index 6214504c47e60..fd5f7a747a85b 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js index 72b2e7f0ab6ef..4acacb11a4e83 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js index da4f1f75378d5..f6eff873665c0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js index bffc2ff1bfbea..bdd297b3f99d7 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js index 65975e638e82c..6fc9ad56976a1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js index ab796d91a08c5..a799eec3b5d17 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js index 86ad6f3032d0a..1f4e4d052230a 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js index d2f5e2aa2b4e4..a45da684bc5f7 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js index 5c8a09d14b41e..1e326b7d19fd1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js index 17d37b834c291..a632086201e36 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js index a89449d1a168c..99d1b12d103c4 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js index 1534c27795f9f..cc4466f211b7c 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js index 91312b3e7297b..d0d4dd755ebed 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js index 16f7fd0f669da..fc5bd34e38413 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js index 4df848ecf7a23..9c77c273182e1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js index 49d32b577426b..26a572f5036e6 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js @@ -104,10 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -207,20 +203,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js b/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js index 9ebcabbce9303..ef4d314114fe2 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/when-options-for-dependency-project-are-different-from-usage-project.js @@ -116,10 +116,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/a 1 undefined Config: /home/src/projects/project/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/a/package.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/b/package.json 2000 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b/node_modules/@types 1 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/b/node_modules/@types 1 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/b/tsconfig.json WatchType: Type roots @@ -224,18 +220,10 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/project/a/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/b/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/b/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js index 77bed7b044a3e..f51108c157631 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js @@ -111,10 +111,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -217,20 +213,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js index a87faf5e570d7..54f79dffd1591 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js @@ -111,10 +111,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -217,20 +213,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js index 7272d87a916b4..448edc8a1fcde 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js @@ -111,10 +111,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -217,20 +213,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js index 075e656321999..7fd40341940d5 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js @@ -111,10 +111,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -217,20 +213,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -292,9 +280,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -403,20 +388,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js index 8a48b813051dc..615557f38b449 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js @@ -111,10 +111,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -217,20 +213,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -292,9 +280,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -403,20 +388,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js index 5b846245463da..ad622a01ed13c 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js @@ -111,10 +111,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/fns.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/package.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Type roots @@ -217,20 +213,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -292,9 +280,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -403,20 +388,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/usage/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/usage/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js index 643160e9b5a17..d2f38577438ec 100644 --- a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js +++ b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js @@ -115,7 +115,7 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-14968179652-namespace container {\n export const myConst = 30;\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { @@ -125,22 +125,8 @@ declare namespace container { "../../lib/index.ts" ], "fileInfos": { - "../../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "../../lib/index.ts": { - "original": { - "version": "-14968179652-namespace container {\n export const myConst = 30;\n}\n", - "impliedFormat": 1 - }, - "version": "-14968179652-namespace container {\n export const myConst = 30;\n}\n", - "impliedFormat": "commonjs" - } + "../../../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "../../lib/index.ts": "-14968179652-namespace container {\n export const myConst = 30;\n}\n" }, "root": [ [ @@ -157,7 +143,7 @@ declare namespace container { "latestChangedDtsFile": "./lib.d.ts" }, "version": "FakeTSVersion", - "size": 825 + "size": 765 } //// [/user/username/projects/container/built/local/exec.js] @@ -190,7 +176,7 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","impliedFormat":1},{"version":"-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { @@ -201,30 +187,9 @@ declare namespace container { "../../compositeexec/index.ts" ], "fileInfos": { - "../../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./lib.d.ts": { - "original": { - "version": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", - "impliedFormat": 1 - }, - "version": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", - "impliedFormat": "commonjs" - }, - "../../compositeexec/index.ts": { - "original": { - "version": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n", - "impliedFormat": 1 - }, - "version": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./lib.d.ts": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", + "../../compositeexec/index.ts": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" }, "root": [ [ @@ -241,7 +206,7 @@ declare namespace container { "latestChangedDtsFile": "./compositeExec.d.ts" }, "version": "FakeTSVersion", - "size": 1017 + "size": 927 } diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js index 30a72a13eabda..c90efcddb6af7 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js @@ -79,7 +79,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/shared/bld/library/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../src/library/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3524703962-export function foo() {}","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../src/library/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"3524703962-export function foo() {}","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/shared/bld/library/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -92,23 +92,19 @@ export declare function foo(): void; "../../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../src/library/index.ts": { "original": { "version": "3524703962-export function foo() {}", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "3524703962-export function foo() {}", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "root": [ @@ -124,11 +120,11 @@ export declare function foo(): void; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 776 + "size": 740 } //// [/user/username/projects/myproject/app/bld/program/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/bld/library/index.d.ts","../../src/program/bar.ts","../../src/program/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-9677035610-import {foo} from \"shared\";","impliedFormat":1},{"version":"193491849-foo","affectsGlobalScope":true,"impliedFormat":1}],"root":[3,4],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[4,[{"start":0,"length":3,"messageText":"Cannot find name 'foo'.","category":1,"code":2304}]]],"affectedFilesPendingEmit":[3,4],"emitSignatures":[3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/bld/library/index.d.ts","../../src/program/bar.ts","../../src/program/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-9677035610-import {foo} from \"shared\";",{"version":"193491849-foo","affectsGlobalScope":true}],"root":[3,4],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[4,[{"start":0,"length":3,"messageText":"Cannot find name 'foo'.","category":1,"code":2304}]]],"affectedFilesPendingEmit":[3,4],"emitSignatures":[3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/app/bld/program/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -148,42 +144,28 @@ export declare function foo(): void; "../../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/bld/library/index.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../../src/program/bar.ts": { - "original": { - "version": "-9677035610-import {foo} from \"shared\";", - "impliedFormat": 1 - }, "version": "-9677035610-import {foo} from \"shared\";", - "signature": "-9677035610-import {foo} from \"shared\";", - "impliedFormat": "commonjs" + "signature": "-9677035610-import {foo} from \"shared\";" }, "../../src/program/index.ts": { "original": { "version": "193491849-foo", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "193491849-foo", "signature": "193491849-foo", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -235,7 +217,7 @@ export declare function foo(): void; ] }, "version": "FakeTSVersion", - "size": 1129 + "size": 1033 } @@ -307,13 +289,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/bld/library/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/bld/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots @@ -434,32 +409,18 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/app/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/app/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/app/src/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/app/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/app/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/app/src/program/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/app/src/program/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/app/src/program/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/shared/bld/library/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/shared/bld/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js index 0be7decd55c35..5d948ae9b915e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js @@ -78,7 +78,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/shared/bld/library/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../src/library/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"3524703962-export function foo() {}","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../src/library/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"3524703962-export function foo() {}","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2],"options":{"composite":true,"outDir":"./"},"latestChangedDtsFile":"./index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/shared/bld/library/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -91,23 +91,19 @@ export declare function foo(): void; "../../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../src/library/index.ts": { "original": { "version": "3524703962-export function foo() {}", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "3524703962-export function foo() {}", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "root": [ @@ -123,11 +119,11 @@ export declare function foo(): void; "latestChangedDtsFile": "./index.d.ts" }, "version": "FakeTSVersion", - "size": 776 + "size": 740 } //// [/user/username/projects/myproject/app/bld/program/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/bld/library/index.d.ts","../../src/program/bar.ts","../../src/program/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-9677035610-import {foo} from \"shared\";","impliedFormat":1},{"version":"193491849-foo","affectsGlobalScope":true,"impliedFormat":1}],"root":[3,4],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[4,[{"start":0,"length":3,"messageText":"Cannot find name 'foo'.","category":1,"code":2304}]]],"affectedFilesPendingEmit":[3,4],"emitSignatures":[3,4]},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../../a/lib/lib.d.ts","../../../shared/bld/library/index.d.ts","../../src/program/bar.ts","../../src/program/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-9677035610-import {foo} from \"shared\";",{"version":"193491849-foo","affectsGlobalScope":true}],"root":[3,4],"options":{"composite":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"semanticDiagnosticsPerFile":[[4,[{"start":0,"length":3,"messageText":"Cannot find name 'foo'.","category":1,"code":2304}]]],"affectedFilesPendingEmit":[3,4],"emitSignatures":[3,4]},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/app/bld/program/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -147,42 +143,28 @@ export declare function foo(): void; "../../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../../shared/bld/library/index.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../../src/program/bar.ts": { - "original": { - "version": "-9677035610-import {foo} from \"shared\";", - "impliedFormat": 1 - }, "version": "-9677035610-import {foo} from \"shared\";", - "signature": "-9677035610-import {foo} from \"shared\";", - "impliedFormat": "commonjs" + "signature": "-9677035610-import {foo} from \"shared\";" }, "../../src/program/index.ts": { "original": { "version": "193491849-foo", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "193491849-foo", "signature": "193491849-foo", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true } }, "root": [ @@ -234,7 +216,7 @@ export declare function foo(): void; ] }, "version": "FakeTSVersion", - "size": 1129 + "size": 1033 } @@ -305,13 +287,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots @@ -431,32 +406,18 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/app/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/app/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/app/src/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/app/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/app/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/app/src/program/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/app/src/program/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/app/src/program/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/shared/src/library/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/shared/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js index d4ccd6ac792f5..9486b94f0a669 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js @@ -134,13 +134,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/library/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/shared/src/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/program/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app/src/node_modules/@types 1 undefined Project: /user/username/projects/myproject/app/src/program/tsconfig.json WatchType: Type roots @@ -260,32 +253,18 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/app/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/app/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/app/src/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/app/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/app/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/app/src/program/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/app/src/program/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/app/src/program/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/shared/src/library/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/shared/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js index e35eca7601810..39dc3565338b5 100644 --- a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js +++ b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js @@ -112,7 +112,7 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-14968179652-namespace container {\n export const myConst = 30;\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { @@ -122,22 +122,8 @@ declare namespace container { "../../lib/index.ts" ], "fileInfos": { - "../../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "../../lib/index.ts": { - "original": { - "version": "-14968179652-namespace container {\n export const myConst = 30;\n}\n", - "impliedFormat": 1 - }, - "version": "-14968179652-namespace container {\n export const myConst = 30;\n}\n", - "impliedFormat": "commonjs" - } + "../../../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "../../lib/index.ts": "-14968179652-namespace container {\n export const myConst = 30;\n}\n" }, "root": [ [ @@ -154,7 +140,7 @@ declare namespace container { "latestChangedDtsFile": "./lib.d.ts" }, "version": "FakeTSVersion", - "size": 825 + "size": 765 } //// [/user/username/projects/container/built/local/exec.js] @@ -187,7 +173,7 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","impliedFormat":1},{"version":"-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { @@ -198,30 +184,9 @@ declare namespace container { "../../compositeexec/index.ts" ], "fileInfos": { - "../../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./lib.d.ts": { - "original": { - "version": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", - "impliedFormat": 1 - }, - "version": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", - "impliedFormat": "commonjs" - }, - "../../compositeexec/index.ts": { - "original": { - "version": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n", - "impliedFormat": 1 - }, - "version": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./lib.d.ts": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", + "../../compositeexec/index.ts": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" }, "root": [ [ @@ -238,7 +203,7 @@ declare namespace container { "latestChangedDtsFile": "./compositeExec.d.ts" }, "version": "FakeTSVersion", - "size": 1017 + "size": 927 } diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js index 97b7b09278a08..0361a81a63ee2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js @@ -315,10 +315,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -426,16 +422,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -597,16 +585,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -695,16 +675,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -813,10 +785,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -839,16 +807,8 @@ After request PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1046,10 +1006,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -1118,16 +1074,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1300,10 +1248,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -1319,10 +1263,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -1439,48 +1379,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} *new* - -PolledWatches *deleted*:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: - {} -/user/username/projects/myproject/tsconfig-indirect1.json: - {} -/user/username/projects/myproject/tsconfig-indirect2.json: - {} -/user/username/projects/myproject/tsconfig-src.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Timeout callback:: count: 0 Projects:: diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js index 0a2c232d1b556..c0f192c30f333 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js @@ -269,11 +269,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -382,20 +377,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -563,20 +548,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -667,20 +642,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -794,11 +759,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -820,20 +780,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches *deleted*:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1014,11 +964,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -1087,20 +1032,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1258,11 +1193,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -1278,11 +1208,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -1401,52 +1326,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} *new* - -PolledWatches *deleted*:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/indirect1/main.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: - {} -/user/username/projects/myproject/tsconfig-indirect1.json: - {} -/user/username/projects/myproject/tsconfig-src.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Timeout callback:: count: 0 Projects:: diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index 2aefdeae19e26..3066102b20a7d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -229,9 +229,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -275,24 +272,18 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -396,24 +387,18 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules: {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -495,20 +480,14 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules: {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/jsconfig.json: @@ -586,20 +565,14 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules: {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -671,9 +644,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -699,20 +669,14 @@ PolledWatches *deleted*:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules: {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -844,9 +808,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots @@ -896,24 +857,18 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1043,9 +998,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots @@ -1091,9 +1043,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots @@ -1162,40 +1111,28 @@ PolledWatches:: {"pollingInterval":500} *new* /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/myproject/src/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules: {"pollingInterval":500} *new* /user/username/projects/myproject/src/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} *new* /user/username/projects/myproject/src/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: /user/username/projects/myproject/node_modules: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules: {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js b/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js index d7bf25412e5fe..5f9b3ed7518d9 100644 --- a/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js @@ -112,7 +112,7 @@ declare namespace container { //# sourceMappingURL=lib.d.ts.map //// [/user/username/projects/container/built/local/lib.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"-14968179652-namespace container {\n export const myConst = 30;\n}\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../lib/index.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","-14968179652-namespace container {\n export const myConst = 30;\n}\n"],"root":[2],"options":{"composite":true,"declarationMap":true,"outFile":"./lib.js"},"outSignature":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","latestChangedDtsFile":"./lib.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/lib.tsbuildinfo.readable.baseline.txt] { @@ -122,22 +122,8 @@ declare namespace container { "../../lib/index.ts" ], "fileInfos": { - "../../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "../../lib/index.ts": { - "original": { - "version": "-14968179652-namespace container {\n export const myConst = 30;\n}\n", - "impliedFormat": 1 - }, - "version": "-14968179652-namespace container {\n export const myConst = 30;\n}\n", - "impliedFormat": "commonjs" - } + "../../../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "../../lib/index.ts": "-14968179652-namespace container {\n export const myConst = 30;\n}\n" }, "root": [ [ @@ -154,7 +140,7 @@ declare namespace container { "latestChangedDtsFile": "./lib.d.ts" }, "version": "FakeTSVersion", - "size": 825 + "size": 765 } //// [/user/username/projects/container/built/local/exec.js] @@ -187,7 +173,7 @@ declare namespace container { //# sourceMappingURL=compositeExec.d.ts.map //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","impliedFormat":1},{"version":"4250822250-declare namespace container {\n const myConst = 30;\n}\n","impliedFormat":1},{"version":"-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./lib.d.ts","../../compositeexec/index.ts"],"fileInfos":["-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","4250822250-declare namespace container {\n const myConst = 30;\n}\n","-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n"],"root":[3],"options":{"composite":true,"declarationMap":true,"outFile":"./compositeExec.js"},"outSignature":"6546330589-declare namespace container {\n function getMyConst(): number;\n}\n","latestChangedDtsFile":"./compositeExec.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/container/built/local/compositeExec.tsbuildinfo.readable.baseline.txt] { @@ -198,30 +184,9 @@ declare namespace container { "../../compositeexec/index.ts" ], "fileInfos": { - "../../../../../../a/lib/lib.d.ts": { - "original": { - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": 1 - }, - "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "impliedFormat": "commonjs" - }, - "./lib.d.ts": { - "original": { - "version": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", - "impliedFormat": 1 - }, - "version": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", - "impliedFormat": "commonjs" - }, - "../../compositeexec/index.ts": { - "original": { - "version": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n", - "impliedFormat": 1 - }, - "version": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n", - "impliedFormat": "commonjs" - } + "../../../../../../a/lib/lib.d.ts": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "./lib.d.ts": "4250822250-declare namespace container {\n const myConst = 30;\n}\n", + "../../compositeexec/index.ts": "-4062145979-namespace container {\n export function getMyConst() {\n return myConst;\n }\n}\n" }, "root": [ [ @@ -238,7 +203,7 @@ declare namespace container { "latestChangedDtsFile": "./compositeExec.d.ts" }, "version": "FakeTSVersion", - "size": 1017 + "size": 927 } diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index b9b83378bf036..6c2c1096d044b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -106,11 +106,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -261,20 +256,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -332,9 +317,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots @@ -492,22 +474,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: @@ -654,24 +626,14 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/lib/index.d.ts.map: *new* {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 6e18d582e2df7..f8d9496b36b91 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -118,11 +118,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -273,20 +268,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -344,9 +329,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots @@ -504,22 +486,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: @@ -716,22 +688,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index e1d96c2290cb5..f6028264ad2e5 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -106,10 +106,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -260,18 +256,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -328,9 +316,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots @@ -488,20 +473,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 37c840d9a09e8..581c94780c352 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -118,10 +118,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -272,18 +268,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -340,9 +328,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots @@ -500,20 +485,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index b88dbfd231c46..1232e01eddb9d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -106,11 +106,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -261,20 +256,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -332,9 +317,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots @@ -492,22 +474,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: @@ -654,24 +626,14 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/lib/index.d.ts.map: *new* {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index fb496cd74a7a6..5596f4dd0ad18 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -118,11 +118,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -273,20 +268,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -344,9 +329,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots @@ -504,22 +486,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: @@ -716,22 +688,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index 4a06de7f14506..3d5213f264f33 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -106,10 +106,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -260,18 +256,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -328,9 +316,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots @@ -488,20 +473,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 2bffa1464364e..197cf09c3ebc5 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -118,10 +118,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -272,18 +268,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -340,9 +328,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots @@ -500,20 +485,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index a4eae6250543f..73c8def7732fb 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -106,11 +106,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -261,20 +256,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -406,22 +391,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/lib/index.d.ts.map: *new* {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 1a67a2c7df83c..85f7a3b9abb5f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -118,11 +118,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -273,20 +268,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -421,20 +406,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index e392f8a79e9c3..8b9fe45fe69c5 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -106,10 +106,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -260,18 +256,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 2d41cdc855f46..d2c12a652d9a6 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -118,10 +118,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -272,18 +268,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index e4cec4f85d581..7999349d3e109 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -106,11 +106,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -261,20 +256,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -406,22 +391,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/lib/index.d.ts.map: *new* {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 88262b15cdca7..7673ab1243559 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -118,11 +118,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -273,20 +268,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -349,9 +334,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots @@ -619,22 +601,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/lib/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index e22ef30f9c12e..d58f12622d5b2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -106,10 +106,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -260,18 +256,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -332,9 +320,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots @@ -602,20 +587,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 9e427724798ee..a9c814bf843c0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -118,10 +118,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/index.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/node_modules/@types 1 undefined Project: /user/username/projects/myproject/a/tsconfig.json WatchType: Type roots @@ -272,18 +268,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: *new* @@ -344,9 +332,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/b/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b 0 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/node_modules/@types 1 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Type roots @@ -614,20 +599,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js index 9861c3a02f896..cb4fcb5b8ce56 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js @@ -176,10 +176,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/a 1 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/a 1 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/a/package.json 2000 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/b/package.json 2000 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/b/node_modules/@types 1 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/b/node_modules/@types 1 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/b/tsconfig.json WatchType: Type roots @@ -290,18 +286,10 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -371,9 +359,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/a/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/a/package.json 2000 undefined Project: /user/username/projects/solution/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/a/node_modules/@types 1 undefined Project: /user/username/projects/solution/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/a/node_modules/@types 1 undefined Project: /user/username/projects/solution/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/a/tsconfig.json WatchType: Type roots @@ -615,11 +600,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/a 1 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/b 1 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/b 1 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/a/package.json 2000 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/b/package.json 2000 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/c/package.json 2000 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/c/node_modules/@types 1 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/c/node_modules/@types 1 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/c/tsconfig.json WatchType: Type roots @@ -730,12 +710,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/c 1 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/b 1 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/b 1 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/a/package.json 2000 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/b/package.json 2000 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/c/package.json 2000 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/d/package.json 2000 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/d/node_modules/@types 1 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/d/node_modules/@types 1 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/d/tsconfig.json WatchType: Type roots @@ -977,28 +951,16 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/solution/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/a/package.json: - {"pollingInterval":2000} /user/username/projects/solution/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/solution/b/package.json: - {"pollingInterval":2000} /user/username/projects/solution/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/d/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/d/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/node_modules/@types: {"pollingInterval":500} -/user/username/projects/solution/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js index a51c683a5c1f9..bff12b86588db 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js @@ -88,7 +88,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -102,33 +102,27 @@ export declare function foo(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/bar.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "root": [ @@ -149,7 +143,7 @@ export declare function foo(): void; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 938 + "size": 884 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -166,7 +160,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/index.d.ts","../../node_modules/b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -187,41 +181,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../node_modules/b/lib/index.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../../node_modules/b/lib/bar.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -244,7 +224,7 @@ export {}; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1098 + "size": 1002 } @@ -321,12 +301,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -437,28 +411,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js index 9652c1720c238..a6c3cb2cc36b6 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js @@ -86,7 +86,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -100,33 +100,27 @@ export declare function foo(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/bar.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "root": [ @@ -147,7 +141,7 @@ export declare function foo(): void; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 938 + "size": 884 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -164,7 +158,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -185,41 +179,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/lib/index.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../b/lib/bar.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "3563314629-import { foo } from 'b';\nimport { bar } from 'b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -242,7 +222,7 @@ export {}; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1066 + "size": 970 } @@ -317,12 +297,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -432,28 +406,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js index cf308fad2496e..1b5b25cf59221 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js @@ -139,12 +139,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -255,28 +249,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js index 59e6c1d6c689f..d5837a200703b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js @@ -135,12 +135,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -250,28 +244,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index 76c4e843ea61d..04ed0ffe9180b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -88,7 +88,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -102,33 +102,27 @@ export declare function foo(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/bar.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "root": [ @@ -149,7 +143,7 @@ export declare function foo(): void; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 938 + "size": 884 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -166,7 +160,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/index.d.ts","../../node_modules/@issue/b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -187,41 +181,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../node_modules/@issue/b/lib/index.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../../node_modules/@issue/b/lib/bar.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -244,7 +224,7 @@ export {}; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1126 + "size": 1030 } @@ -321,12 +301,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -437,28 +411,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js index 0a6bb8a9e7a03..60ba5930d39df 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js @@ -86,7 +86,7 @@ export declare function foo(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/bar.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -100,33 +100,27 @@ export declare function foo(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/bar.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" } }, "root": [ @@ -147,7 +141,7 @@ export declare function foo(): void; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 938 + "size": 884 } //// [/user/username/projects/myproject/packages/A/lib/index.js] @@ -164,7 +158,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/index.d.ts","../b/lib/bar.d.ts","./src/index.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/index.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -185,41 +179,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/lib/index.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../b/lib/bar.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/index.ts": { "original": { "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "8545527381-import { foo } from '@issue/b';\nimport { bar } from '@issue/b/lib/bar';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -242,7 +222,7 @@ export {}; "latestChangedDtsFile": "./lib/index.d.ts" }, "version": "FakeTSVersion", - "size": 1080 + "size": 984 } @@ -317,12 +297,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -432,28 +406,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index 1de95f3800f1f..939b7db156772 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -139,12 +139,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -255,28 +249,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js index 659779488fda1..3a2fc45498bab 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js @@ -135,12 +135,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -250,28 +244,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js index a7095f188229f..4652defa775f3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js @@ -85,7 +85,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -99,33 +99,27 @@ export declare function bar(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/foo.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "./src/bar/foo.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "root": [ @@ -146,7 +140,7 @@ export declare function bar(): void; "latestChangedDtsFile": "./lib/bar/foo.d.ts" }, "version": "FakeTSVersion", - "size": 942 + "size": 888 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -163,7 +157,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/b/lib/foo.d.ts","../../node_modules/b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -184,41 +178,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../node_modules/b/lib/foo.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../../node_modules/b/lib/bar/foo.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/test.ts": { "original": { "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -241,7 +221,7 @@ export {}; "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1111 + "size": 1015 } @@ -316,13 +296,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -433,30 +406,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js index b469828ef168b..232704679d28d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js @@ -83,7 +83,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -97,33 +97,27 @@ export declare function bar(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/foo.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "./src/bar/foo.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "root": [ @@ -144,7 +138,7 @@ export declare function bar(): void; "latestChangedDtsFile": "./lib/bar/foo.d.ts" }, "version": "FakeTSVersion", - "size": 942 + "size": 888 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -161,7 +155,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,41 +176,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/lib/foo.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../b/lib/bar/foo.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/test.ts": { "original": { "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "14700910833-import { foo } from 'b/lib/foo';\nimport { bar } from 'b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -239,7 +219,7 @@ export {}; "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1079 + "size": 983 } @@ -312,13 +292,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -428,30 +401,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js index 2d26bf3fd19ab..cdb00d47d4eea 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js @@ -134,13 +134,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -251,30 +244,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js index ee7a638528446..fb17c54385746 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js @@ -130,13 +130,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -246,30 +239,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index 473e6b5faad9e..3c483e5b6b90b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -85,7 +85,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -99,33 +99,27 @@ export declare function bar(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/foo.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "./src/bar/foo.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "root": [ @@ -146,7 +140,7 @@ export declare function bar(): void; "latestChangedDtsFile": "./lib/bar/foo.d.ts" }, "version": "FakeTSVersion", - "size": 942 + "size": 888 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -163,7 +157,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../../node_modules/@issue/b/lib/foo.d.ts","../../node_modules/@issue/b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -184,41 +178,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../../node_modules/@issue/b/lib/foo.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../../node_modules/@issue/b/lib/bar/foo.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/test.ts": { "original": { "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -241,7 +221,7 @@ export {}; "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1140 + "size": 1044 } @@ -316,13 +296,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -433,30 +406,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js index 55125398b5b85..2d6624c3c9610 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js @@ -83,7 +83,7 @@ export declare function bar(): void; //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","./src/foo.ts","./src/bar/foo.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"4646078106-export function foo() { }","signature":"-5677608893-export declare function foo(): void;\n"},{"version":"1045484683-export function bar() { }","signature":"-2904461644-export declare function bar(): void;\n"}],"root":[2,3],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"latestChangedDtsFile":"./lib/bar/foo.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/B/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -97,33 +97,27 @@ export declare function bar(): void; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./src/foo.ts": { "original": { "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 + "signature": "-5677608893-export declare function foo(): void;\n" }, "version": "4646078106-export function foo() { }", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "./src/bar/foo.ts": { "original": { "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 + "signature": "-2904461644-export declare function bar(): void;\n" }, "version": "1045484683-export function bar() { }", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" } }, "root": [ @@ -144,7 +138,7 @@ export declare function bar(): void; "latestChangedDtsFile": "./lib/bar/foo.d.ts" }, "version": "FakeTSVersion", - "size": 942 + "size": 888 } //// [/user/username/projects/myproject/packages/A/lib/test.js] @@ -161,7 +155,7 @@ export {}; //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-5677608893-export declare function foo(): void;\n","impliedFormat":1},{"version":"-2904461644-export declare function bar(): void;\n","impliedFormat":1},{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../../a/lib/lib.d.ts","../b/lib/foo.d.ts","../b/lib/bar/foo.d.ts","./src/test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-5677608893-export declare function foo(): void;\n","-2904461644-export declare function bar(): void;\n",{"version":"-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n","signature":"-3531856636-export {};\n"}],"root":[4],"options":{"composite":true,"outDir":"./lib","rootDir":"./src"},"fileIdsList":[[2,3]],"referencedMap":[[4,1]],"latestChangedDtsFile":"./lib/test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/packages/A/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -182,41 +176,27 @@ export {}; "../../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../b/lib/foo.d.ts": { - "original": { - "version": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": 1 - }, "version": "-5677608893-export declare function foo(): void;\n", - "signature": "-5677608893-export declare function foo(): void;\n", - "impliedFormat": "commonjs" + "signature": "-5677608893-export declare function foo(): void;\n" }, "../b/lib/bar/foo.d.ts": { - "original": { - "version": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": 1 - }, "version": "-2904461644-export declare function bar(): void;\n", - "signature": "-2904461644-export declare function bar(): void;\n", - "impliedFormat": "commonjs" + "signature": "-2904461644-export declare function bar(): void;\n" }, "./src/test.ts": { "original": { "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-20350237855-import { foo } from '@issue/b/lib/foo';\nimport { bar } from '@issue/b/lib/bar/foo';\nfoo();\nbar();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -239,7 +219,7 @@ export {}; "latestChangedDtsFile": "./lib/test.d.ts" }, "version": "FakeTSVersion", - "size": 1094 + "size": 998 } @@ -312,13 +292,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -428,30 +401,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index 32dade80ed317..7f3c8c786f344 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -134,13 +134,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -251,30 +244,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js index b1d62156a5eed..6f2061ca8f50a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js @@ -130,13 +130,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@issue/b 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/B/src/bar/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/A/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/A/tsconfig.json WatchType: Type roots @@ -246,30 +239,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/A/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/A/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/A/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/A/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/B/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js index 155d86345f50b..39aefd4f90ea0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js @@ -226,10 +226,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -337,16 +333,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -587,16 +575,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -681,16 +661,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -793,10 +765,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -819,16 +787,8 @@ After request PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -981,10 +941,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -1053,16 +1009,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1144,16 +1092,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1246,16 +1186,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1344,16 +1276,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1507,9 +1431,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -1578,26 +1499,18 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1801,9 +1714,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -1848,18 +1758,10 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/jsconfig.json: @@ -2024,16 +1926,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/src/node_modules/@types: @@ -2265,16 +2159,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2405,10 +2291,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -2424,10 +2306,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -2545,44 +2423,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} *new* - -PolledWatches *deleted*:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: - {} -/user/username/projects/myproject/tsconfig-src.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Timeout callback:: count: 0 Projects:: @@ -2694,16 +2534,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2805,16 +2637,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2914,16 +2738,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3032,12 +2848,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/main.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots @@ -3158,10 +2968,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -3197,28 +3003,10 @@ After request PolledWatches:: /user/username/projects/myproject/indirect3/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/indirect3/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/target/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3414,10 +3202,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -3582,26 +3366,10 @@ After request PolledWatches:: /user/username/projects/myproject/indirect3/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/indirect3/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/target/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js index 8910fd9c1ffd1..4d5ac98cd4422 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js @@ -313,10 +313,6 @@ Info seq [hh:mm:ss:mss] event: Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -424,16 +420,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -678,16 +666,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -776,16 +756,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -894,10 +866,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -920,16 +888,8 @@ After request PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1126,10 +1086,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -1198,16 +1154,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1293,16 +1241,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1399,16 +1339,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1501,16 +1433,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1684,9 +1608,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -1755,26 +1676,18 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1982,9 +1895,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -2029,18 +1939,10 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/jsconfig.json: @@ -2209,16 +2111,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/src/node_modules/@types: @@ -2454,16 +2348,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2636,10 +2522,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -2655,10 +2537,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -2776,48 +2654,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} *new* - -PolledWatches *deleted*:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: - {} -/user/username/projects/myproject/tsconfig-indirect1.json: - {} -/user/username/projects/myproject/tsconfig-indirect2.json: - {} -/user/username/projects/myproject/tsconfig-src.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Timeout callback:: count: 0 Projects:: @@ -2858,11 +2694,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -2964,11 +2795,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect2/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect2/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots @@ -3217,22 +3043,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/indirect2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3376,22 +3190,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/indirect2/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3535,22 +3337,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/indirect2/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3697,12 +3487,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/main.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots @@ -3820,10 +3604,6 @@ Info seq [hh:mm:ss:mss] Files (3) Matched by include pattern './src/**/*' in 'tsconfig-src.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -3848,11 +3628,6 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -3880,11 +3655,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect2/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots @@ -3922,32 +3692,10 @@ After request PolledWatches:: /user/username/projects/myproject/indirect3/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/indirect3/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/target/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/indirect2/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4223,10 +3971,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -4286,11 +4030,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -4347,11 +4086,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect2/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect2/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots @@ -4595,32 +4329,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/indirect2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/indirect3/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/indirect3/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/target/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js b/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js index 60ff517739c01..822a96c0ac921 100644 --- a/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js +++ b/tests/baselines/reference/tsserver/projectReferences/referencing-const-enum-from-referenced-project-with-preserveConstEnums.js @@ -105,11 +105,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/utils 1 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/utils/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/utils/package.json 2000 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/package.json 2000 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/package.json 2000 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/project/package.json 2000 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/project/node_modules/@types 1 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/project/node_modules/@types 1 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/node_modules/@types 1 undefined Project: /user/username/projects/project/src/project/tsconfig.json WatchType: Type roots @@ -213,22 +208,12 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/project/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/project/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project/src/project/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/project/src/project/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project/src/utils/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js b/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js index 8029b33b46841..1df01bd2c23e9 100644 --- a/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/reusing-d.ts-files-from-composite-and-non-composite-projects.js @@ -129,11 +129,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dist 1 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dist 1 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dist/compositeb/package.json 2000 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dist/package.json 2000 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositea/package.json 2000 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositea/node_modules/@types 1 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositea/node_modules/@types 1 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/compositea/tsconfig.json WatchType: Type roots @@ -243,20 +238,10 @@ After request PolledWatches:: /user/username/projects/myproject/compositea/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/compositea/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/dist/compositeb/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/dist/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -370,10 +355,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositeb 1 undefined Config: /user/username/projects/myproject/compositeb/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositeb 1 undefined Config: /user/username/projects/myproject/compositeb/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositeb/b.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositeb/package.json 2000 undefined Project: /user/username/projects/myproject/compositec/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/compositec/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/compositec/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositec/package.json 2000 undefined Project: /user/username/projects/myproject/compositec/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositec/node_modules/@types 1 undefined Project: /user/username/projects/myproject/compositec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/compositec/node_modules/@types 1 undefined Project: /user/username/projects/myproject/compositec/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/compositec/tsconfig.json WatchType: Type roots @@ -486,26 +467,12 @@ After request PolledWatches:: /user/username/projects/myproject/compositea/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/compositea/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/compositeb/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/compositec/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/compositec/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/dist/compositeb/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/dist/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js index e3d3dc87e56a9..170d9e6b55ee5 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js @@ -103,7 +103,7 @@ export {}; //# sourceMappingURL=keyboard.test.d.ts.map //// [/user/username/projects/project/out/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../src/common/input/keyboard.ts","../src/common/input/keyboard.test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }","signature":"-14411843863-export declare function evaluateKeyboardEvent(): void;\n","impliedFormat":1},{"version":"-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declarationMap":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./input/keyboard.test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../src/common/input/keyboard.ts","../src/common/input/keyboard.test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }","signature":"-14411843863-export declare function evaluateKeyboardEvent(): void;\n"},{"version":"-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"composite":true,"declarationMap":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./input/keyboard.test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/project/out/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -122,33 +122,27 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/common/input/keyboard.ts": { "original": { "version": "-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }", - "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "impliedFormat": 1 + "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n" }, "version": "-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }", - "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "impliedFormat": "commonjs" + "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n" }, "../src/common/input/keyboard.test.ts": { "original": { "version": "-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -174,7 +168,7 @@ export {}; "latestChangedDtsFile": "./input/keyboard.test.d.ts" }, "version": "FakeTSVersion", - "size": 1250 + "size": 1196 } //// [/user/username/projects/project/out/terminal.js] @@ -194,7 +188,7 @@ export {}; //# sourceMappingURL=terminal.d.ts.map //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./input/keyboard.d.ts","../src/terminal.ts","./input/keyboard.test.d.ts","../src/common/input/keyboard.test.ts","../src/common/input/keyboard.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14411843863-export declare function evaluateKeyboardEvent(): void;\n","impliedFormat":1},{"version":"-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"declarationMap":true,"outDir":"./","tsBuildInfoFile":"./src.tsconfig.tsbuildinfo"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./terminal.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./input/keyboard.d.ts","../src/terminal.ts","./input/keyboard.test.d.ts","../src/common/input/keyboard.test.ts","../src/common/input/keyboard.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-14411843863-export declare function evaluateKeyboardEvent(): void;\n",{"version":"-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"},"-3531856636-export {};\n"],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"declarationMap":true,"outDir":"./","tsBuildInfoFile":"./src.tsconfig.tsbuildinfo"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./terminal.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -216,41 +210,27 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./input/keyboard.d.ts": { - "original": { - "version": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "impliedFormat": 1 - }, "version": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "impliedFormat": "commonjs" + "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n" }, "../src/terminal.ts": { "original": { "version": "-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./input/keyboard.test.d.ts": { - "original": { - "version": "-3531856636-export {};\n", - "impliedFormat": 1 - }, "version": "-3531856636-export {};\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -302,7 +282,7 @@ export {}; "latestChangedDtsFile": "./terminal.d.ts" }, "version": "FakeTSVersion", - "size": 1269 + "size": 1173 } @@ -347,11 +327,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/input/keyboard.test.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/src/common/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/input/package.json 2000 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/package.json 2000 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/package.json 2000 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/package.json 2000 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots @@ -468,22 +443,12 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/project/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project/src/common/input/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project/src/common/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/project/src/common/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/project/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -577,11 +542,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/src/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/out/input/keyboard.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/out/input/keyboard.test.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/out/input/package.json 2000 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/out/package.json 2000 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/package.json 2000 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/package.json 2000 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/node_modules/@types 1 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/node_modules/@types 1 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: Type roots @@ -702,26 +662,12 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/project/node_modules/@types: {"pollingInterval":500} -/user/username/projects/project/out/input/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project/out/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project/package.json: - {"pollingInterval":2000} -/user/username/projects/project/src/common/input/package.json: - {"pollingInterval":2000} /user/username/projects/project/src/common/node_modules/@types: {"pollingInterval":500} -/user/username/projects/project/src/common/package.json: - {"pollingInterval":2000} /user/username/projects/project/src/node_modules/@types: {"pollingInterval":500} -/user/username/projects/project/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -905,26 +851,12 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/project/node_modules/@types: {"pollingInterval":500} -/user/username/projects/project/out/input/package.json: - {"pollingInterval":2000} -/user/username/projects/project/out/package.json: - {"pollingInterval":2000} -/user/username/projects/project/package.json: - {"pollingInterval":2000} -/user/username/projects/project/src/common/input/package.json: - {"pollingInterval":2000} /user/username/projects/project/src/common/node_modules/@types: {"pollingInterval":500} -/user/username/projects/project/src/common/package.json: - {"pollingInterval":2000} /user/username/projects/project/src/node_modules/@types: {"pollingInterval":500} -/user/username/projects/project/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js index 234a49b0725c1..04b2421781a5e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js @@ -103,7 +103,7 @@ export {}; //# sourceMappingURL=keyboard.test.d.ts.map //// [/user/username/projects/project/out/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../src/common/input/keyboard.ts","../src/common/input/keyboard.test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }","signature":"-14411843863-export declare function evaluateKeyboardEvent(): void;\n","impliedFormat":1},{"version":"-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[2,3],"options":{"composite":true,"declarationMap":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./input/keyboard.test.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../src/common/input/keyboard.ts","../src/common/input/keyboard.test.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }","signature":"-14411843863-export declare function evaluateKeyboardEvent(): void;\n"},{"version":"-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"}],"root":[2,3],"options":{"composite":true,"declarationMap":true,"outDir":"./"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./input/keyboard.test.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/project/out/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -122,33 +122,27 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../src/common/input/keyboard.ts": { "original": { "version": "-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }", - "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "impliedFormat": 1 + "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n" }, "version": "-15187822601-function bar() { return \"just a random function so .d.ts location doesnt match\"; }\nexport function evaluateKeyboardEvent() { }", - "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "impliedFormat": "commonjs" + "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n" }, "../src/common/input/keyboard.test.ts": { "original": { "version": "-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-7258701250-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction testEvaluateKeyboardEvent() {\n return evaluateKeyboardEvent();\n}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -174,7 +168,7 @@ export {}; "latestChangedDtsFile": "./input/keyboard.test.d.ts" }, "version": "FakeTSVersion", - "size": 1250 + "size": 1196 } //// [/user/username/projects/project/out/terminal.js] @@ -194,7 +188,7 @@ export {}; //# sourceMappingURL=terminal.d.ts.map //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./input/keyboard.d.ts","../src/terminal.ts","./input/keyboard.test.d.ts","../src/common/input/keyboard.test.ts","../src/common/input/keyboard.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-14411843863-export declare function evaluateKeyboardEvent(): void;\n","impliedFormat":1},{"version":"-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n","impliedFormat":1},{"version":"-3531856636-export {};\n","impliedFormat":1}],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"declarationMap":true,"outDir":"./","tsBuildInfoFile":"./src.tsconfig.tsbuildinfo"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./terminal.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./input/keyboard.d.ts","../src/terminal.ts","./input/keyboard.test.d.ts","../src/common/input/keyboard.test.ts","../src/common/input/keyboard.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-14411843863-export declare function evaluateKeyboardEvent(): void;\n",{"version":"-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n","signature":"-3531856636-export {};\n"},"-3531856636-export {};\n"],"root":[[2,4]],"resolvedRoot":[[4,5],[2,6]],"options":{"composite":true,"declarationMap":true,"outDir":"./","tsBuildInfoFile":"./src.tsconfig.tsbuildinfo"},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./terminal.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/project/out/src.tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -216,41 +210,27 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./input/keyboard.d.ts": { - "original": { - "version": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "impliedFormat": 1 - }, "version": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n", - "impliedFormat": "commonjs" + "signature": "-14411843863-export declare function evaluateKeyboardEvent(): void;\n" }, "../src/terminal.ts": { "original": { "version": "-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-9992649704-import { evaluateKeyboardEvent } from 'common/input/keyboard';\nfunction foo() {\n return evaluateKeyboardEvent();\n}\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" }, "./input/keyboard.test.d.ts": { - "original": { - "version": "-3531856636-export {};\n", - "impliedFormat": 1 - }, "version": "-3531856636-export {};\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -302,7 +282,7 @@ export {}; "latestChangedDtsFile": "./terminal.d.ts" }, "version": "FakeTSVersion", - "size": 1269 + "size": 1173 } @@ -347,11 +327,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/input/keyboard.test.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/src/common/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/input/package.json 2000 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/package.json 2000 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/package.json 2000 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/package.json 2000 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/node_modules/@types 1 undefined Project: /user/username/projects/project/src/common/tsconfig.json WatchType: Type roots @@ -468,22 +443,12 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/project/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/project/src/common/input/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project/src/common/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/project/src/common/package.json: *new* - {"pollingInterval":2000} /user/username/projects/project/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/project/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -575,11 +540,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/project/src/tsconfig.js Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src 1 undefined Config: /user/username/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src 1 undefined Config: /user/username/projects/project/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/project/src/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/input/package.json 2000 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/common/package.json 2000 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/src/package.json 2000 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project/package.json 2000 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/node_modules/@types 1 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/src/node_modules/@types 1 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/project/node_modules/@types 1 undefined Project: /user/username/projects/project/src/tsconfig.json WatchType: Type roots @@ -699,22 +659,12 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/project/node_modules/@types: {"pollingInterval":500} -/user/username/projects/project/package.json: - {"pollingInterval":2000} -/user/username/projects/project/src/common/input/package.json: - {"pollingInterval":2000} /user/username/projects/project/src/common/node_modules/@types: {"pollingInterval":500} -/user/username/projects/project/src/common/package.json: - {"pollingInterval":2000} /user/username/projects/project/src/node_modules/@types: {"pollingInterval":500} -/user/username/projects/project/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js index 1384af654eb97..8dfd56c4ff8ae 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-first-indirect-project-but-not-in-another-one.js @@ -249,12 +249,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -357,10 +351,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -466,22 +456,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -667,22 +645,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +750,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -914,12 +868,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -944,10 +892,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -970,22 +914,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches *deleted*:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1163,12 +1095,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1227,10 +1153,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -1297,22 +1219,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1399,12 +1309,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-s Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1487,12 +1391,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi } ] } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1539,10 +1437,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -1558,10 +1452,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -1678,52 +1568,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/indirect1/main.ts: - {} -/user/username/projects/myproject/own/main.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: - {} -/user/username/projects/myproject/tsconfig-indirect1.json: - {} -/user/username/projects/myproject/tsconfig-indirect2.json: - {} -/user/username/projects/myproject/tsconfig-src.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Timeout callback:: count: 0 Projects:: diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js index 457b4a6ae23d4..5f9105d0052a4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set-in-indirect-project.js @@ -202,12 +202,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -310,11 +304,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -422,22 +411,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -623,22 +600,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -739,22 +704,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -866,12 +819,6 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -899,11 +846,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -926,22 +868,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches *deleted*:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1096,12 +1026,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1160,11 +1084,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -1232,22 +1151,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1334,12 +1241,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-i Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1401,12 +1302,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1453,11 +1348,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -1473,11 +1363,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -1595,48 +1480,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/indirect1/main.ts: - {} -/user/username/projects/myproject/own/main.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: - {} -/user/username/projects/myproject/tsconfig-indirect1.json: - {} -/user/username/projects/myproject/tsconfig-src.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Timeout callback:: count: 0 Projects:: diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index 6b544db0aa10b..86248ff2baecc 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -162,11 +162,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -271,18 +266,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -436,18 +421,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -530,18 +505,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -637,11 +602,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -665,18 +625,8 @@ After request PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -795,11 +745,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -865,18 +810,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -943,11 +878,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /dummy/dummy.ts ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -992,11 +922,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1105,34 +1030,14 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js index 10992771a2981..6ae1386c5f88f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js @@ -160,11 +160,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -264,10 +259,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -375,18 +366,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -643,18 +624,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -748,18 +719,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -859,11 +820,6 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -888,10 +844,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -915,18 +867,8 @@ After request PolledWatches *deleted*:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1052,11 +994,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1112,10 +1049,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -1184,18 +1117,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1286,18 +1209,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1399,18 +1312,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1508,18 +1411,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1718,18 +1611,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1955,18 +1838,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2078,18 +1951,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2338,11 +2201,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-src.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -2386,11 +2244,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. "configFilePath": "/user/username/projects/myproject/tsconfig-src.json" } } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -2434,10 +2287,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -2453,10 +2302,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -2574,42 +2419,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/own/main.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: - {} -/user/username/projects/myproject/tsconfig-src.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Timeout callback:: count: 0 Projects:: @@ -2760,18 +2569,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2885,18 +2684,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3008,18 +2797,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3140,12 +2919,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/main.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots @@ -3254,11 +3027,6 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -3283,10 +3051,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -3323,30 +3087,10 @@ After request PolledWatches:: /user/username/projects/myproject/indirect3/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/indirect3/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/target/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3518,11 +3262,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -3578,10 +3317,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -3788,28 +3523,10 @@ After request PolledWatches:: /user/username/projects/myproject/indirect3/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/indirect3/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/target/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js index 6f426b5d32b24..c424fdb674630 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js @@ -247,12 +247,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -355,10 +349,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -464,22 +454,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -748,22 +726,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -865,22 +831,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -995,12 +949,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1025,10 +973,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -1051,22 +995,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches *deleted*:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1243,12 +1175,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/functions.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -1307,10 +1233,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -1377,22 +1299,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1491,22 +1401,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1616,22 +1514,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1737,22 +1623,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1878,7 +1752,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -1994,26 +1867,14 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2151,7 +2012,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-src. } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -2275,22 +2135,10 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/node_modules: @@ -2444,22 +2292,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2721,12 +2557,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig-s Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/src/main.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -2808,12 +2638,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi } ] } -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -2860,10 +2684,6 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -2879,10 +2699,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -3000,52 +2816,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/indirect1/main.ts: - {} -/user/username/projects/myproject/own/main.ts: - {} -/user/username/projects/myproject/src/helpers/functions.ts: - {} -/user/username/projects/myproject/tsconfig-indirect1.json: - {} -/user/username/projects/myproject/tsconfig-indirect2.json: - {} -/user/username/projects/myproject/tsconfig-src.json: - {} -/user/username/projects/myproject/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/src: - {} - Timeout callback:: count: 0 Projects:: @@ -3089,11 +2859,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -3200,11 +2965,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect2/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect2/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots @@ -3450,24 +3210,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/indirect2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3626,24 +3372,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/indirect2/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3802,24 +3534,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/indirect2/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3981,12 +3699,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/main.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/package.json 2000 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect3/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect3/tsconfig.json WatchType: Type roots @@ -4098,12 +3810,6 @@ Info seq [hh:mm:ss:mss] Files (5) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -4125,10 +3831,6 @@ Info seq [hh:mm:ss:mss] Files (3) Matched by include pattern './src/**/*' in 'tsconfig-src.json' Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -4153,11 +3855,6 @@ Info seq [hh:mm:ss:mss] Files (4) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect1.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -4185,11 +3882,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Config: /user/username/projects/myproject/tsconfig-src.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-src.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/indirect2/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots @@ -4228,34 +3920,10 @@ After request PolledWatches:: /user/username/projects/myproject/indirect3/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/indirect3/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/target/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/indirect1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/indirect2/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/own/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4511,12 +4179,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig-indi } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig-indirect2.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/main.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/own/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -4575,10 +4237,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-src.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-src.json WatchType: Type roots @@ -4643,11 +4301,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect1.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect1.json WatchType: Type roots @@ -4713,11 +4366,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect2/main.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig-indirect2.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/helpers/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect2/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig-indirect2.json WatchType: Type roots @@ -4955,34 +4603,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/indirect1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/indirect2/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/indirect3/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/indirect3/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/own/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/helpers/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/target/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/helpers/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/target/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js index 9e3dfc15ed015..d85208f1802e3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js @@ -145,12 +145,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots @@ -262,22 +256,10 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/api/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/api/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/api/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/shared/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -349,10 +331,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots @@ -571,12 +549,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/src/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots @@ -730,30 +702,14 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/solution/api/node_modules/@types: {"pollingInterval":500} -/user/username/projects/solution/api/package.json: - {"pollingInterval":2000} -/user/username/projects/solution/api/src/package.json: - {"pollingInterval":2000} /user/username/projects/solution/app/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/app/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/app/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/node_modules/@types: {"pollingInterval":500} -/user/username/projects/solution/package.json: - {"pollingInterval":2000} /user/username/projects/solution/shared/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/shared/package.json: - {"pollingInterval":2000} -/user/username/projects/solution/shared/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js index b9707445934d1..b553272aa740f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js @@ -146,12 +146,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots @@ -263,22 +257,10 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/api/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/api/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/api/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/shared/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -350,10 +332,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots @@ -490,24 +468,12 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/solution/api/node_modules/@types: {"pollingInterval":500} -/user/username/projects/solution/api/package.json: - {"pollingInterval":2000} -/user/username/projects/solution/api/src/package.json: - {"pollingInterval":2000} /user/username/projects/solution/node_modules/@types: {"pollingInterval":500} -/user/username/projects/solution/package.json: - {"pollingInterval":2000} /user/username/projects/solution/shared/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/shared/package.json: - {"pollingInterval":2000} -/user/username/projects/solution/shared/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js index bf88f6db3c1a4..1bed7c71da622 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js @@ -145,12 +145,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots @@ -262,22 +256,10 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/api/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/api/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/api/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/shared/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -349,10 +331,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots @@ -571,12 +549,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/src/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots @@ -730,30 +702,14 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/solution/api/node_modules/@types: {"pollingInterval":500} -/user/username/projects/solution/api/package.json: - {"pollingInterval":2000} -/user/username/projects/solution/api/src/package.json: - {"pollingInterval":2000} /user/username/projects/solution/app/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/app/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/app/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/node_modules/@types: {"pollingInterval":500} -/user/username/projects/solution/package.json: - {"pollingInterval":2000} /user/username/projects/solution/shared/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/shared/package.json: - {"pollingInterval":2000} -/user/username/projects/solution/shared/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js index 63e73ae041905..818abd899d73b 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js @@ -147,12 +147,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots @@ -264,22 +258,10 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/api/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/api/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/api/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/shared/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -351,10 +333,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots @@ -573,12 +551,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/src/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots @@ -732,30 +704,14 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/solution/api/node_modules/@types: {"pollingInterval":500} -/user/username/projects/solution/api/package.json: - {"pollingInterval":2000} -/user/username/projects/solution/api/src/package.json: - {"pollingInterval":2000} /user/username/projects/solution/app/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/app/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/app/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/node_modules/@types: {"pollingInterval":500} -/user/username/projects/solution/package.json: - {"pollingInterval":2000} /user/username/projects/solution/shared/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/shared/package.json: - {"pollingInterval":2000} -/user/username/projects/solution/shared/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js index 80bc54b0f9b45..04594dd191b42 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js @@ -145,12 +145,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/src/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/package.json 2000 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/api/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/api/tsconfig.json WatchType: Type roots @@ -262,22 +256,10 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/api/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/api/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/api/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/shared/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/shared/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -349,10 +331,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/shared/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/shared/tsconfig.json WatchType: Type roots @@ -571,12 +549,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/solution/app/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/src/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/shared/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/src/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/package.json 2000 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/app/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/solution/node_modules/@types 1 undefined Project: /user/username/projects/solution/app/tsconfig.json WatchType: Type roots @@ -730,30 +702,14 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} /user/username/projects/solution/api/node_modules/@types: {"pollingInterval":500} -/user/username/projects/solution/api/package.json: - {"pollingInterval":2000} -/user/username/projects/solution/api/src/package.json: - {"pollingInterval":2000} /user/username/projects/solution/app/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/app/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/solution/app/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/solution/node_modules/@types: {"pollingInterval":500} -/user/username/projects/solution/package.json: - {"pollingInterval":2000} /user/username/projects/solution/shared/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/solution/shared/package.json: - {"pollingInterval":2000} -/user/username/projects/solution/shared/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js index 491919a9c77c0..c19d85a77bbab 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite-with-file-open-before-revert.js @@ -120,9 +120,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -216,9 +213,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -260,24 +254,18 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/app/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -491,8 +479,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots @@ -586,9 +572,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -620,28 +603,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/random/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -732,28 +707,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -867,9 +834,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -961,28 +925,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js index d9018f2ef8409..1fa0d240319f1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-appConfig-not-composite.js @@ -120,9 +120,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -216,9 +213,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -260,24 +254,18 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/app/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -631,8 +619,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots @@ -726,9 +712,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -760,28 +743,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/random/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -872,28 +847,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js index 78a8ae374d024..b34e65394fc31 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change-with-file-open-before-revert.js @@ -120,9 +120,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -216,9 +213,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -260,24 +254,18 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/app/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -379,8 +367,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots @@ -474,9 +460,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -508,28 +491,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/random/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -620,28 +595,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js index 5b259b72d227f..f635566961ae4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-demoConfig-change.js @@ -120,9 +120,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -216,9 +213,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -260,24 +254,18 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/app/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -406,8 +394,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots @@ -501,9 +487,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -535,28 +518,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/random/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -647,28 +622,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js index 08940ee55aac5..eed9c4b539974 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-finds-default-project.js @@ -120,9 +120,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -216,9 +213,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -260,24 +254,18 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/app/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -454,8 +442,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots @@ -549,9 +535,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -583,28 +566,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/random/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -695,28 +670,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -800,24 +767,16 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/project/app/jsconfig.json: @@ -909,9 +868,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -935,12 +891,8 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: @@ -949,14 +901,10 @@ PolledWatches *deleted*:: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1027,12 +975,8 @@ After request PolledWatches:: /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js index 75b1ef84e49c1..283257a86c050 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-reload-projects.js @@ -120,9 +120,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -216,9 +213,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -260,24 +254,18 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/app/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -332,9 +320,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/projects/project/app/Component-demos.ts ProjectRootPath: undefined:: Result: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -362,9 +347,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/app/tsconfig.json : } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -410,9 +392,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -438,9 +417,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -495,24 +471,18 @@ PolledWatches:: {"pollingInterval":500} *new* /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} *new* /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} *new* /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js index e62b9720f20cc..475f4fca173bf 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete-with-file-open-before-revert.js @@ -120,9 +120,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -216,9 +213,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -260,24 +254,18 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/app/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -408,8 +396,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots @@ -503,9 +489,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -537,28 +520,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/random/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -649,28 +624,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -785,9 +752,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -879,28 +843,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js index 7c4153c45cdfb..4491884d7f5e8 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-delete.js @@ -120,9 +120,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -216,9 +213,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -260,24 +254,18 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/app/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -478,8 +466,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots @@ -573,9 +559,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -607,28 +590,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/random/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -719,28 +694,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js index 779bdb9fc70bc..040cc0d516fb0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo-with-file-open-before-revert.js @@ -120,9 +120,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -216,9 +213,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -260,24 +254,18 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/app/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -419,8 +407,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots @@ -514,9 +500,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -548,28 +531,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/random/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -660,28 +635,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -796,9 +763,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -890,28 +854,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js index a1d32fa7212fd..37d8f3beb9c7f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-file-is-not-part-of-first-config-tree-found-solutionConfig-without-reference-to-demo.js @@ -120,9 +120,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/Component.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/app/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -216,9 +213,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -260,24 +254,18 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/app/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/app/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /home/src/projects/project/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -489,8 +477,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/random/tsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random 1 undefined Config: /home/src/projects/random/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/random/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/random/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/random/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/random/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules/@types 1 undefined Project: /home/src/projects/random/tsconfig.json WatchType: Type roots @@ -584,9 +570,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app 1 undefined Config: /home/src/projects/project/app/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/app/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/package.json 2000 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/app/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/project/node_modules/@types 1 undefined Project: /home/src/projects/project/app/tsconfig.json WatchType: Type roots @@ -618,28 +601,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/random/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -730,28 +705,20 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/node_modules/@types: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} /home/src/projects/project/app/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/app/node_modules: {"pollingInterval":500} /home/src/projects/project/app/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/app/package.json: - {"pollingInterval":2000} /home/src/projects/project/jsconfig.json: {"pollingInterval":2000} /home/src/projects/project/node_modules: {"pollingInterval":500} /home/src/projects/project/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/package.json: - {"pollingInterval":2000} /home/src/projects/random/node_modules/@types: {"pollingInterval":500} -/home/src/projects/random/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js b/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js index 68472156ac605..6bf87bb39fcc3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js @@ -447,10 +447,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/noCoreRef2 1 undefined Config: /user/username/projects/myproject/noCoreRef2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/noCoreRef2 1 undefined Config: /user/username/projects/myproject/noCoreRef2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/src/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -550,18 +546,10 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/main/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -656,10 +644,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/core/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/core/src/package.json 2000 undefined Project: /user/username/projects/myproject/core/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/core/package.json 2000 undefined Project: /user/username/projects/myproject/core/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/core/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/core/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/core/node_modules/@types 1 undefined Project: /user/username/projects/myproject/core/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/core/node_modules/@types 1 undefined Project: /user/username/projects/myproject/core/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/core/tsconfig.json WatchType: Type roots @@ -765,24 +749,12 @@ After request PolledWatches:: /user/username/projects/myproject/core/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/core/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -888,10 +860,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect/src/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/indirect/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect/src/package.json 2000 undefined Project: /user/username/projects/myproject/indirect/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect/package.json 2000 undefined Project: /user/username/projects/myproject/indirect/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/indirect/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/indirect/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirect/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirect/tsconfig.json WatchType: Type roots @@ -987,10 +955,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/coreRef1/src/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/coreRef1/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/coreRef1/src/package.json 2000 undefined Project: /user/username/projects/myproject/coreRef1/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/coreRef1/package.json 2000 undefined Project: /user/username/projects/myproject/coreRef1/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/coreRef1/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/coreRef1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/coreRef1/node_modules/@types 1 undefined Project: /user/username/projects/myproject/coreRef1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/coreRef1/node_modules/@types 1 undefined Project: /user/username/projects/myproject/coreRef1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/coreRef1/tsconfig.json WatchType: Type roots @@ -1086,10 +1050,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirectDisabledChildLoad1/src/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirectDisabledChildLoad1/src/package.json 2000 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirectDisabledChildLoad1/package.json 2000 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirectDisabledChildLoad1/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirectDisabledChildLoad1/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad1/tsconfig.json WatchType: Type roots @@ -1186,10 +1146,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirectDisabledChildLoad2/src/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirectDisabledChildLoad2/src/package.json 2000 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirectDisabledChildLoad2/package.json 2000 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirectDisabledChildLoad2/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/indirectDisabledChildLoad2/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/indirectDisabledChildLoad2/tsconfig.json WatchType: Type roots @@ -1286,10 +1242,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refToCoreRef3/src/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refToCoreRef3/src/package.json 2000 undefined Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refToCoreRef3/package.json 2000 undefined Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refToCoreRef3/node_modules/@types 1 undefined Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refToCoreRef3/node_modules/@types 1 undefined Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/refToCoreRef3/tsconfig.json WatchType: Type roots @@ -1385,10 +1337,6 @@ Info seq [hh:mm:ss:mss] event: } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/coreRef3/src/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/coreRef3/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/coreRef3/src/package.json 2000 undefined Project: /user/username/projects/myproject/coreRef3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/coreRef3/package.json 2000 undefined Project: /user/username/projects/myproject/coreRef3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/coreRef3/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/coreRef3/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/coreRef3/node_modules/@types 1 undefined Project: /user/username/projects/myproject/coreRef3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/coreRef3/node_modules/@types 1 undefined Project: /user/username/projects/myproject/coreRef3/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/coreRef3/tsconfig.json WatchType: Type roots @@ -1510,62 +1458,26 @@ After request PolledWatches:: /user/username/projects/myproject/core/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/core/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/core/src/file1.d.ts: *new* {"pollingInterval":2000} -/user/username/projects/myproject/core/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/coreRef1/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/coreRef1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/coreRef1/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/coreRef3/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/coreRef3/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/coreRef3/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/indirect/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/indirect/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/indirect/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/indirectDisabledChildLoad1/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/indirectDisabledChildLoad1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/indirectDisabledChildLoad1/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/indirectDisabledChildLoad2/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/indirectDisabledChildLoad2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/indirectDisabledChildLoad2/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/refToCoreRef3/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/refToCoreRef3/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/refToCoreRef3/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js b/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js index 10ef3bf02adb9..8715c32729f09 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js @@ -141,12 +141,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/emit-composite/package.json 2000 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/emit-composite/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/src/package.json 2000 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/package.json 2000 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/package.json 2000 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/consumer/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/packages/node_modules/@types 1 undefined Project: /user/username/projects/myproject/packages/consumer/tsconfig.json WatchType: Type roots @@ -251,28 +245,16 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/consumer/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/consumer/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/consumer/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/consumer/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/packages/emit-composite/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/packages/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/packages/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/packages/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js index a01fc39a347d1..500509d581cf2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js index 50de469c591ec..1b118136973f7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js index 3edb8505a2bde..e1e8856d018b6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js index 9eb3286eb0d31..3aa7aea0d3026 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index adea6f09dfcdd..350aeb330921d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js index 9f5fa9191a32b..0a7dc47487b31 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js index f3c4fb0a49d9e..ecf85eae44c84 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js @@ -80,7 +80,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -93,23 +93,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -126,7 +122,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -148,7 +144,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -167,32 +163,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -213,7 +200,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -254,9 +241,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -358,16 +342,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -531,18 +509,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -650,18 +622,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -708,18 +674,12 @@ export declare function fn5(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts: @@ -825,18 +785,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1180,18 +1134,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1284,18 +1232,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1387,18 +1329,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1486,18 +1422,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1587,9 +1517,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1624,12 +1551,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js index 8889d32c96d9c..9433b511761d1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1137,18 +1103,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1245,18 +1205,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1353,18 +1307,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1439,18 +1387,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1527,9 +1469,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1562,12 +1501,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js index d87617b40a46e..ccd27effd058a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js @@ -80,7 +80,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -93,23 +93,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -126,7 +122,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -148,7 +144,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -167,32 +163,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -213,7 +200,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -254,9 +241,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -358,16 +342,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -531,18 +509,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -650,18 +622,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -973,18 +939,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1064,18 +1024,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1154,18 +1108,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1240,18 +1188,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1326,9 +1268,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1363,12 +1302,6 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js index 135ec1cc71a3a..0199bf8b83d1a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js index ebf62c901e562..0593d6ba0deb2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index dfeaec5c70c7d..2cebaab1f19ae 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index d22c52434f105..d3b4eaa13f29e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js index 622a8cb1de393..7ffd75efd0b5a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js index 7e34d86b92d1f..f71a2a0f476e4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 4d1ce47125d0c..f367c68c80d57 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 404398c1f079f..f68af5808b9b0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index bc101440eaaf3..076f46579f95e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js index e289042beb9f0..50da748ed538f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js index 286282bc027e9..3d238945b1eed 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js @@ -85,7 +85,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,23 +98,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -131,7 +127,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -153,7 +149,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,32 +168,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -218,7 +205,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -259,9 +246,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -363,16 +347,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -536,18 +514,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -656,18 +628,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -728,18 +694,12 @@ Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts.map: @@ -863,18 +823,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1218,18 +1172,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1322,18 +1270,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1425,18 +1367,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1524,18 +1460,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1625,9 +1555,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1661,12 +1588,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js index be6d1d28ef323..08a900e3c8e2b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1136,18 +1102,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1244,18 +1204,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1353,18 +1307,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1446,18 +1394,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1541,9 +1483,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1577,12 +1516,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js index 62d8ebb4c73c5..dcedeacecadee 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js @@ -85,7 +85,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,23 +98,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -131,7 +127,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -153,7 +149,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,32 +168,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -218,7 +205,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -259,9 +246,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -363,16 +347,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -536,18 +514,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -656,18 +628,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1001,18 +967,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1099,18 +1059,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1196,18 +1150,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1289,18 +1237,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1382,9 +1324,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1420,12 +1359,6 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 34a80c5d2021b..4201ca04c62b4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index df11859484efb..6e0a5a907a897 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index e89d208bc7807..00119cd6009c9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index d00aa8e4cc69d..fb452a3b7155e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js index 498d673d48a9b..a91210d1eecc3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1011,18 +977,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1115,18 +1075,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1218,18 +1172,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1317,18 +1265,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1418,9 +1360,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1454,12 +1393,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 3e7d8a58da721..277b6af11bfc6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js index bb1a67d363fd8..8d4762ff1c9f5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -262,9 +249,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -366,16 +350,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -539,18 +517,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -657,18 +629,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js index 3d34049031d86..5a269b036697f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-action-before-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js index bacb2654ac06c..ea9d3d093f52d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-no-timeout.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js index a7c6e51a68d03..2d4244b802d95 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js index 7f97988c72ac8..7a8d2dcb27193 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js index 906cb8c2c93aa..e1f1a44656897 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js index 41eb0adfeb222..8feeccafc3a2f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js index 265951e41b82d..3e3ea459a7189 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js @@ -85,7 +85,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,23 +98,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -131,7 +127,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -153,7 +149,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,32 +168,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -218,7 +205,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -259,9 +246,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -363,16 +347,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -536,18 +514,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -655,18 +627,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -713,18 +679,12 @@ export declare function fn5(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts: @@ -830,18 +790,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1185,18 +1139,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1289,18 +1237,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1392,18 +1334,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1491,18 +1427,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1592,9 +1522,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1629,12 +1556,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js index feb44c26f267c..00792d613d8ad 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1142,18 +1108,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1250,18 +1210,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1358,18 +1312,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1444,18 +1392,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1532,9 +1474,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1567,12 +1506,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js index e20857f2a2f52..f85bac816c1a0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js @@ -85,7 +85,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,23 +98,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -131,7 +127,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -153,7 +149,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,32 +168,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -218,7 +205,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -259,9 +246,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -363,16 +347,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -536,18 +514,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -655,18 +627,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -978,18 +944,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1069,18 +1029,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1159,18 +1113,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1245,18 +1193,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1331,9 +1273,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1368,12 +1307,6 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js index b3923fcfc76f6..f37724bb26295 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js index 3ce7113202cbc..abc44b205c007 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 039af2bfb7a78..5e53802f62971 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index f1de005f41cb0..d58a2fccd8a1e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js index e414463fb4398..aa20287f6e986 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js index df44769ff23f5..92bb0cdd73eb3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 64b3c5ff58fe0..e31c78e2b49fa 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index fecf3fa57f57d..15b8c0b21f8d7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 24e7e0f203db2..c7c97cecd0937 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js index 6e3700d8cc79b..3b767d221d394 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js index 81affbc209c30..c34aed4cd0637 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js @@ -90,7 +90,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -103,23 +103,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -136,7 +132,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -158,7 +154,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -177,32 +173,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -223,7 +210,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,9 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -368,16 +352,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -541,18 +519,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -661,18 +633,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -733,18 +699,12 @@ Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts.map: @@ -868,18 +828,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1223,18 +1177,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1327,18 +1275,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1430,18 +1372,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1529,18 +1465,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1630,9 +1560,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1666,12 +1593,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js index e92fe0b79132c..32d52d2c8d761 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1141,18 +1107,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1249,18 +1209,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1358,18 +1312,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1451,18 +1399,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1546,9 +1488,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1582,12 +1521,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js index 6079c4ce9e0ff..cf719a2c723d1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js @@ -90,7 +90,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -103,23 +103,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -136,7 +132,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -158,7 +154,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -177,32 +173,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -223,7 +210,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,9 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -368,16 +352,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -541,18 +519,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -661,18 +633,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,18 +972,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1104,18 +1064,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1201,18 +1155,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1294,18 +1242,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1387,9 +1329,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1425,12 +1364,6 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 7bad82c60ea43..4827090c9443f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 7a6217aabc7fe..ca93a2b4c76e2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index c589dd5f718aa..34cff38c92c64 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 23559480b16bf..7f080f047dd4a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js index 98e14c31b8090..6380deb60aba2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js index 145585f2bcde2..3205962d543f4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js index 10f3fb78d67b3..1ab059af99af8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1016,18 +982,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1120,18 +1080,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1223,18 +1177,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1322,18 +1270,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1423,9 +1365,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1459,12 +1398,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js index 8b03a9c953360..c3c2289ba61f2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js index 99903da76f1ac..3f418194cec63 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -267,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -371,16 +355,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -544,18 +522,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js index 02a2967119a9c..5b729cb79c667 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js @@ -104,9 +104,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -208,16 +205,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -381,18 +372,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -500,18 +485,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -823,18 +802,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -914,18 +887,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1004,18 +971,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1090,18 +1051,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1176,9 +1131,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1213,12 +1165,6 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js index 5a6db1878df57..6c945276e0455 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js index bd9ad852cea81..21b0e5a067654 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js index 6bb163abd9ac8..372e8a7f2c2e7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js index 963003f716539..6eeaa71fd58de 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 2d2ad3c94a0da..22d33b79279d9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js index ba68441f76a59..eb386b735ad38 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js index c727b76ab2050..7420d66091cec 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js @@ -86,7 +86,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -99,23 +99,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -132,7 +128,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -154,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,32 +169,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -219,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -260,9 +247,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -364,16 +348,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -537,18 +515,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -656,18 +628,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -714,18 +680,12 @@ export declare function fn5(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts: @@ -831,18 +791,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1186,18 +1140,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1290,18 +1238,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1393,18 +1335,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1492,18 +1428,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1593,9 +1523,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1630,12 +1557,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js index f4daea7b16f10..86481aabd83b6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1143,18 +1109,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1251,18 +1211,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1359,18 +1313,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1445,18 +1393,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1533,9 +1475,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1568,12 +1507,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js index 9560cefcd1d77..e11d31adbf4d9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js @@ -86,7 +86,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -99,23 +99,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -132,7 +128,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -154,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,32 +169,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -219,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -260,9 +247,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -364,16 +348,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -537,18 +515,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -656,18 +628,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -979,18 +945,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1070,18 +1030,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1160,18 +1114,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1246,18 +1194,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1332,9 +1274,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1369,12 +1308,6 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js index 41f25bd42cdd8..9de1992e6d27a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js index 576c52f9bc076..3adbd1d903bb6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js index c7ee3ebba9223..8cb52ab43d76a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js index 631f3d7d15fad..cdc64d838545b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js index ed623f6932c7d..0766cb9451116 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js index 5c25e4ce440a6..0dade0819e07b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js index c129a2921a601..449e52ec3bb95 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js index 12745efa8e8e0..553ad34813c6a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 8ffa2fdab8013..78a2c9bdff75d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js index a411d1f1523a2..9624f6427ee47 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js index e58a96198a0f8..7bd6ddb84f776 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js @@ -91,7 +91,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,23 +104,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -137,7 +133,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -159,7 +155,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -178,32 +174,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -224,7 +211,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -265,9 +252,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -369,16 +353,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -542,18 +520,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -734,18 +700,12 @@ Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts.map: @@ -869,18 +829,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1224,18 +1178,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1328,18 +1276,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1431,18 +1373,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1530,18 +1466,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1631,9 +1561,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1667,12 +1594,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js index 0eeeba0b54422..ddf7162843bd9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1142,18 +1108,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1250,18 +1210,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1359,18 +1313,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1452,18 +1400,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1547,9 +1489,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1583,12 +1522,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js index 1f993e6101cd9..c89e1f5e9a0c4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js @@ -91,7 +91,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,23 +104,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -137,7 +133,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -159,7 +155,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -178,32 +174,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -224,7 +211,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -265,9 +252,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -369,16 +353,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -542,18 +520,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -662,18 +634,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1007,18 +973,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1105,18 +1065,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1202,18 +1156,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1295,18 +1243,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1388,9 +1330,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1426,12 +1365,6 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 1deb9e571765c..b4c97342f967f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 9ec404eaf6c4a..b9396338a3219 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 178c40e045bf6..71599e1cadddb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 6c8726c66b2f3..cfe139d84b369 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js index e1f98c964fb16..78f6a440be13f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1017,18 +983,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1121,18 +1081,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1224,18 +1178,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1323,18 +1271,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1424,9 +1366,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -1460,12 +1399,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index c81d3d8cfdaaa..a4e4cc83c5bd8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js index b49929f580530..f9809cea3508c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -268,9 +255,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -372,16 +356,10 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -545,18 +523,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -663,18 +635,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js index 1283dcbb95104..d699b928839de 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1185,7 +1127,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1238,54 +1179,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 3 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 1: /user/username/projects/myproject/main/tsconfig.json @@ -1599,7 +1492,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1655,52 +1547,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 3 9: *ensureProjectForOpenFiles* *deleted* 10: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js index 8818b1f109508..53eb8f37e8449 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js index 8814e2a929eab..f3bb2d9ea0151 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1179,7 +1121,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1254,54 +1195,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 0 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* @@ -1405,7 +1298,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1461,52 +1353,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 7: *ensureProjectForOpenFiles* *deleted* 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js index 0a4238a45da24..7c12a05cbf7c1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 66c35e31d2708..f0ac6d6b3a9f3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js index 23a800e7fcbc5..38047a5bd656f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js index fc554aa36d3ed..930e89cab959b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js @@ -80,7 +80,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -93,23 +93,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -126,7 +122,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -148,7 +144,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -167,32 +163,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -213,7 +200,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -255,9 +242,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -358,16 +342,10 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -434,9 +412,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -544,20 +519,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -741,22 +708,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -930,22 +889,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1004,22 +955,14 @@ export declare function fn5(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts: @@ -1080,7 +1023,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1138,26 +1080,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1981,26 +1913,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2114,26 +2036,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2246,26 +2158,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2374,26 +2276,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2503,26 +2395,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2637,10 +2519,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2663,9 +2541,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2699,20 +2574,10 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js index 328c2d05c7c02..51e093bbfab08 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1185,7 +1127,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1238,54 +1179,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 3 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 1: /user/username/projects/myproject/main/tsconfig.json @@ -1890,22 +1783,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2024,22 +1909,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2158,22 +2035,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2270,22 +2139,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2383,22 +2244,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2496,9 +2349,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2521,9 +2371,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2557,16 +2404,8 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js index e603200317db3..fa59ba4a06eb7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js @@ -80,7 +80,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -93,23 +93,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -126,7 +122,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -148,7 +144,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -167,32 +163,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -213,7 +200,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -255,9 +242,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -358,16 +342,10 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -434,9 +412,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -544,20 +519,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -741,22 +708,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1138,22 +1097,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1480,22 +1431,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1595,22 +1538,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1709,22 +1644,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1819,22 +1746,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1930,22 +1849,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2039,9 +1950,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2064,9 +1972,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2102,16 +2007,8 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js index 288051d353f59..d4b38d07e7ffa 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1185,7 +1127,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1238,54 +1179,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 3 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 1: /user/username/projects/myproject/main/tsconfig.json @@ -1598,7 +1491,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1654,52 +1546,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 3 9: *ensureProjectForOpenFiles* *deleted* 10: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js index 7aa6973785cc2..2e4a0f46026ff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 912b7523a693f..1679e6c362235 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1179,7 +1121,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1254,54 +1195,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 0 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* @@ -1404,7 +1297,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1460,52 +1352,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 7: *ensureProjectForOpenFiles* *deleted* 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index d143ea5d75e9e..251816c4f5998 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js index 53f9e0c511b3c..d1cb5db78c354 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js index ff2d2180e218c..bb79fd7232db9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 79f5cd4b0abd4..fcddcaa151fa4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index b5667b6d02169..afc0f013ffc68 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index 34b0e8b4d5f39..71ed49d1698ce 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js index db06d3e546195..eb4f39881591f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js index 72f194ca63cad..8fb999cfe78e8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js @@ -85,7 +85,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,23 +98,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -131,7 +127,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -153,7 +149,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,32 +168,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -218,7 +205,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -261,10 +248,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -366,20 +349,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -452,9 +427,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -560,24 +532,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -765,26 +727,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -899,26 +851,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1072,26 +1014,16 @@ Before request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts.map: @@ -1221,26 +1153,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2059,26 +1981,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2192,26 +2104,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2324,26 +2226,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2452,26 +2344,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2581,26 +2463,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2715,10 +2587,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2741,9 +2609,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2776,20 +2641,10 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js index 7b9cf69e5002e..14527a432b2b4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1821,26 +1763,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1958,26 +1890,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2096,26 +2018,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2218,26 +2130,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2341,26 +2243,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2469,10 +2361,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2495,9 +2383,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2530,20 +2415,10 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js index 310f9e09fb0f0..dd8047afd6938 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js @@ -85,7 +85,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,23 +98,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -131,7 +127,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -153,7 +149,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,32 +168,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -218,7 +205,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -261,10 +248,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -366,20 +349,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -452,9 +427,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -560,24 +532,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -765,26 +727,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -899,26 +851,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1555,26 +1497,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1680,26 +1612,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1804,26 +1726,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1924,26 +1836,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2045,26 +1947,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2169,10 +2061,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2195,9 +2083,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2232,20 +2117,10 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 86f42a1c4f791..df369212a97f7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 659e6cbd51372..3537486230255 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index bfd45d06852ff..12eba612f4ee9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 04c9f4c17e4bd..3ddf2b054cc7e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js index 1328d38b41013..32c73bd08d3d3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations-and-deleting-config-file.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -459,9 +434,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -630,24 +602,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -758,10 +720,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -815,30 +773,20 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1015,10 +963,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -1057,24 +1001,14 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/jsconfig.json: @@ -1303,26 +1237,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1434,26 +1358,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1583,10 +1497,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -1644,32 +1554,22 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1794,32 +1694,22 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1944,32 +1834,22 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2170,10 +2050,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -2216,26 +2092,16 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/jsconfig.json: @@ -2377,26 +2243,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2514,26 +2370,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2793,26 +2639,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2925,26 +2761,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3085,26 +2911,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3219,26 +3035,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3503,26 +3309,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3635,26 +3431,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3992,26 +3778,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4124,26 +3900,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4283,26 +4049,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4417,26 +4173,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4701,26 +4447,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4833,26 +4569,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5042,26 +4768,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5176,26 +4892,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5459,26 +5165,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5591,26 +5287,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5868,26 +5554,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -6000,26 +5676,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js index 4665e31ee4181..fb7e8603e1b4c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1732,26 +1674,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1865,26 +1797,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1997,26 +1919,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2125,26 +2037,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2254,26 +2156,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2388,10 +2280,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2414,9 +2302,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2449,20 +2334,10 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 9b3e37d4527ff..c91d76df2fdbd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js index 03a333d09f024..979aeda28ba03 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -455,9 +430,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -563,24 +535,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -768,26 +730,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -900,26 +852,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js index f9387ec46bac3..676e01fd9e473 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-action-before-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js index a0dc25abc15b9..bbcacc7c719f7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-no-timeout.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js index 8d60adcae8ca4..8ab4b688a5564 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js index 2434667d60bbf..1948999ee91f2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js index 06cbf60cbc7dc..947a8ef300143 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js index 87573d0b6405b..43651deacd129 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js index 635ac1fa9d5fc..1739cf5f08a97 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js @@ -85,7 +85,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,23 +98,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -131,7 +127,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -153,7 +149,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,32 +168,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -218,7 +205,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -281,10 +268,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -386,20 +369,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -463,9 +438,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -573,20 +545,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -776,22 +740,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -999,22 +955,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1076,22 +1024,14 @@ export declare function fn5(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts: @@ -1508,22 +1448,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2023,22 +1955,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2155,22 +2079,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2286,22 +2202,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2398,22 +2306,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2526,22 +2426,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2657,10 +2549,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2683,9 +2571,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2721,16 +2606,8 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js index bc7b287b969e2..85b1aaeb325f0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1989,22 +1937,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2125,22 +2065,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2261,22 +2193,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2360,22 +2284,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2475,22 +2391,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2593,10 +2501,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2619,9 +2523,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2655,16 +2556,8 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js index a3f83d2f9a3e1..91ddf239abb6c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js @@ -85,7 +85,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,23 +98,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -131,7 +127,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -153,7 +149,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,32 +168,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -218,7 +205,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -281,10 +268,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -386,20 +369,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -463,9 +438,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -573,20 +545,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -776,22 +740,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1207,22 +1163,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1684,22 +1632,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1803,22 +1743,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1921,22 +1853,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2020,22 +1944,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2135,22 +2051,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2251,10 +2159,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2277,9 +2181,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2315,16 +2216,8 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js index bf4c8e4e78337..966780807f117 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js index d9cf802cddc7b..a3f038678e94f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 5cf87225745d4..d10e3cb568be6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index b656feed3f689..aceda4bbe7760 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js index 89f89d12c630e..bbf67956d4932 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js index 3523a929ac203..d36a9ab8003c7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 775af82cd0849..d86793a22f8af 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 3fedb266b3fa1..d5477f005a3a8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 28491f1bdc4ad..b91934f160077 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js index 813c2b6fa891f..16309f6354bc6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js index d59d4516501ac..8186050b990fb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js @@ -90,7 +90,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -103,23 +103,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -136,7 +132,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -158,7 +154,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -177,32 +173,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -223,7 +210,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -286,10 +273,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -391,20 +374,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -468,9 +443,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -578,20 +550,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -781,22 +745,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1005,22 +961,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1102,22 +1050,14 @@ Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts.map: @@ -1573,22 +1513,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2088,22 +2020,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2220,22 +2144,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2351,22 +2267,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2463,22 +2371,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2591,22 +2491,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2722,10 +2614,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2748,9 +2636,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2785,16 +2670,8 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js index 79f702a4943fb..22724a88c8e35 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1980,22 +1928,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2116,22 +2056,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2253,22 +2185,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2359,22 +2283,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2481,22 +2397,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2606,10 +2514,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2632,9 +2536,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2669,16 +2570,8 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js index 00e341e86adcb..52bb511bbe2f6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js @@ -90,7 +90,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -103,23 +103,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -136,7 +132,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -158,7 +154,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -177,32 +173,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -223,7 +210,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -286,10 +273,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -391,20 +374,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -468,9 +443,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -578,20 +550,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -781,22 +745,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1213,22 +1169,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1718,22 +1666,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1844,22 +1784,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1969,22 +1901,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2075,22 +1999,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2197,22 +2113,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2320,10 +2228,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2346,9 +2250,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2385,16 +2286,8 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index e8e1aa81597f4..c0456ca6e47dd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 7497fb3acc045..c11ca1591352a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 8638c6f5696a8..356cd1a4852dd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 9e5dab4fde80a..2fcdf928a701f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js index 4a081c60fe604..5f3d976e99f9c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js index 1c4ad2a90713e..8d120a3783783 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js index 46883a1e8d924..107735b6a3d29 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations-and-deleting-config-file.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -472,9 +447,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -645,20 +617,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -752,10 +716,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -809,30 +769,20 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1012,10 +962,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -1056,24 +1002,14 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: @@ -1294,22 +1230,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1416,22 +1344,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1549,10 +1469,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -1610,32 +1526,22 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1751,32 +1657,22 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1892,32 +1788,22 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2121,10 +2007,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -2169,26 +2051,16 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: @@ -2322,22 +2194,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2448,22 +2312,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2719,22 +2575,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2835,22 +2683,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2980,22 +2820,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3098,22 +2930,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3379,22 +3203,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3495,22 +3311,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3620,8 +3428,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 6 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -3712,26 +3518,16 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3862,8 +3658,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 7 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -3975,26 +3769,14 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4104,22 +3886,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4225,22 +3999,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4372,22 +4138,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4491,22 +4249,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4778,22 +4528,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4894,22 +4636,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5019,8 +4753,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 9 projectProgramVersion: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -5111,26 +4843,16 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5241,26 +4963,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5364,26 +5076,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5504,8 +5206,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/dependency/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 10 projectProgramVersion: 5 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -5628,26 +5328,14 @@ After running Timeout callback:: count: 0 PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5757,22 +5445,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5878,22 +5558,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -6157,22 +5829,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -6273,22 +5937,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js index 91f38d6bd9690..c6bf86a5fe7b1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/goToDef-and-rename-locations.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1214,22 +1170,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1728,22 +1676,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1860,22 +1800,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1991,22 +1923,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2103,22 +2027,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2231,22 +2147,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2362,10 +2270,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2388,9 +2292,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2425,16 +2326,8 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js index 8e8bed6b7e441..33c043e7b483c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js index e3f2c037b8f40..a3b7f7315fbaa 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -471,9 +446,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,20 +553,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -784,22 +748,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1006,22 +962,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js index a2226157863d3..249b655e99475 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js @@ -126,10 +126,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -233,20 +229,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -308,9 +296,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -420,20 +405,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -623,22 +600,14 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1054,22 +1023,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1531,22 +1492,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1650,22 +1603,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1768,22 +1713,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1867,22 +1804,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1982,22 +1911,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2096,10 +2017,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2122,9 +2039,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2162,16 +2076,8 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js index 3804f64e5ca88..d0b7206d456a5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1203,7 +1145,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1256,54 +1197,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 3 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 1: /user/username/projects/myproject/main/tsconfig.json @@ -1617,7 +1510,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1673,52 +1565,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 3 9: *ensureProjectForOpenFiles* *deleted* 10: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js index 328027e7c6215..b2e366a675ebd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js index e711b44cc02ec..df928cddd7073 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1197,7 +1139,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1272,54 +1213,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 0 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* @@ -1423,7 +1316,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1479,52 +1371,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 7: *ensureProjectForOpenFiles* *deleted* 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js index f2064b9fdab56..b05045af640bb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 864934ffd71ad..60d01e8696656 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js index 424012656762e..a63273da93a9f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js index 6ac6c319b0dee..0f9d125c75442 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js @@ -86,7 +86,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -99,23 +99,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -132,7 +128,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -154,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,32 +169,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -219,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -282,9 +269,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -386,16 +370,10 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -452,9 +430,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -562,20 +537,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -759,22 +726,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -948,22 +907,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1022,22 +973,14 @@ export declare function fn5(): void; PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts: @@ -1098,7 +1041,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1156,26 +1098,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1999,26 +1931,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2132,26 +2054,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2264,26 +2176,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2378,26 +2280,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2507,26 +2399,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2641,10 +2523,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2667,9 +2545,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2703,20 +2578,10 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js index 807e22de1b5c2..b8ca4930414fa 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1203,7 +1145,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1256,54 +1197,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 3 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 1: /user/username/projects/myproject/main/tsconfig.json @@ -1908,22 +1801,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2042,22 +1927,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2176,22 +2053,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2274,22 +2143,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2387,22 +2248,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2500,9 +2353,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2525,9 +2375,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2561,16 +2408,8 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js index 3712dfc7972ea..dd7ec7c5dd0c8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js @@ -86,7 +86,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -99,23 +99,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -132,7 +128,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -154,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,32 +169,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -219,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -282,9 +269,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -386,16 +370,10 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -452,9 +430,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -562,20 +537,12 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -759,22 +726,14 @@ After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1156,22 +1115,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1498,22 +1449,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1613,22 +1556,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1727,22 +1662,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1825,22 +1752,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1936,22 +1855,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2045,9 +1956,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2070,9 +1978,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2108,16 +2013,8 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js index 4bc7465d7d5eb..c6b224a6597ad 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1203,7 +1145,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1256,54 +1197,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 3 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 1: /user/username/projects/myproject/main/tsconfig.json @@ -1616,7 +1509,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1672,52 +1564,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 3 9: *ensureProjectForOpenFiles* *deleted* 10: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js index 309a7737a4f16..32718901651ad 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 5fd165bc8d2dd..46446e11dd456 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1197,7 +1139,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1272,54 +1213,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 0 5: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* @@ -1422,7 +1315,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1478,52 +1370,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/dependency/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 7: *ensureProjectForOpenFiles* *deleted* 8: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js index addb62b0272e1..16166c1b5ffea 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js index beaaf0114d7de..6b1c625f4231b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js index aa224ecb0600a..212928c6b5ed7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 8ff3f567d748a..8320ebdbe8814 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js index c47d836af20cf..2dac91904c4e6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 50c50f21bca8d..0380a5f87d2e1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js index 01e6447328645..0df7eaba55678 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js index 7a0d3bc6dcba6..a8e902673ba20 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js @@ -91,7 +91,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,23 +104,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -137,7 +133,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -159,7 +155,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -178,32 +174,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -224,7 +211,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -288,10 +275,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -470,9 +445,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -578,24 +550,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -783,26 +745,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -917,26 +869,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1090,26 +1032,16 @@ Before request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts.map: @@ -1239,26 +1171,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2077,26 +1999,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2210,26 +2122,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2342,26 +2244,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2456,26 +2348,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2585,26 +2467,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2719,10 +2591,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2745,9 +2613,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2780,20 +2645,10 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js index fee1258d45a92..f86318ea1a446 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1839,26 +1781,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1976,26 +1908,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2114,26 +2036,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2222,26 +2134,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2345,26 +2247,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2473,10 +2365,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2499,9 +2387,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2534,20 +2419,10 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js index 2ecd3ae96263a..d24f33df16d47 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js @@ -91,7 +91,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,23 +104,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -137,7 +133,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -159,7 +155,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -178,32 +174,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -224,7 +211,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -288,10 +275,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -470,9 +445,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -578,24 +550,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -783,26 +745,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -917,26 +869,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1573,26 +1515,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1698,26 +1630,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1822,26 +1744,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1930,26 +1842,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2051,26 +1953,16 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2175,10 +2067,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2201,9 +2089,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2238,20 +2123,10 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 6a37fe55fa47c..ed37fdf7476d5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 5676ad90af2aa..049c5f02a68bc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 880d2cd7dcddd..c8925b6358c7e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index b0ad0dfa27719..0dee60f146fed 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js index 45d0f806427a4..c0f0f89ceeb1d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations-and-deleting-config-file.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -477,9 +452,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -648,24 +620,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -776,10 +738,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -833,30 +791,20 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1046,10 +994,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -1088,24 +1032,14 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/jsconfig.json: @@ -1334,26 +1268,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1465,26 +1389,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1614,10 +1528,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -1675,32 +1585,22 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1825,32 +1725,22 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1975,32 +1865,22 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2214,10 +2094,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject2* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (0) @@ -2260,26 +2136,16 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/jsconfig.json: @@ -2421,26 +2287,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2558,26 +2414,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2844,26 +2690,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2976,26 +2812,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3136,26 +2962,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3270,26 +3086,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3567,26 +3373,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3699,26 +3495,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -3922,26 +3708,16 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4150,26 +3926,16 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4252,26 +4018,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4384,26 +4140,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4546,26 +4292,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4681,26 +4417,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -4982,26 +4708,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5114,26 +4830,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5337,26 +5043,16 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5442,26 +5138,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5574,26 +5260,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5828,26 +5504,16 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -5930,26 +5596,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -6062,26 +5718,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -6355,26 +6001,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -6487,26 +6123,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js index b0c8eda6520e4..3908a268f6f1f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/goToDef-and-rename-locations.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1750,26 +1692,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1883,26 +1815,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2015,26 +1937,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2129,26 +2041,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2258,26 +2160,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -2392,10 +2284,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -2418,9 +2306,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency 1 undefined Config: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -2453,20 +2338,10 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 14057bf28a5c5..6a42c684beef7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js index 373dbefdcf3e1..3b4ae04d1cba2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -473,9 +448,6 @@ Info seq [hh:mm:ss:mss] event: } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Type roots @@ -581,24 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -786,26 +748,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -918,26 +870,16 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/dependency/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js index 514527cf2e467..955171101ca7b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -989,22 +948,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1103,22 +1054,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1216,22 +1159,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1325,22 +1260,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1443,10 +1370,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1479,16 +1402,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js index 1ada9a0067cf5..6f4ff8ba37f1c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-action-before-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -819,7 +778,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -872,48 +830,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 3: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 1: /user/username/projects/myproject/main/tsconfig.json @@ -1047,7 +963,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1103,46 +1018,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 2: *ensureProjectForOpenFiles* *deleted* 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js index 03468647bf622..4275fd045f0be 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-no-timeout.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js index bf61b0b32dedc..5021d4a16a846 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -812,7 +771,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -870,48 +828,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 0 3: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* @@ -989,7 +905,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1045,46 +960,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 1 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 5: *ensureProjectForOpenFiles* *new* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js index 6e2513a0f603f..d7ed32a5f87e6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index d4ff31a255739..cc1d5070ca532 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js index 3c8ef6ebf4b4b..3d134cc4bd882 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js index 4429cee52cb2a..c835cc3000fc7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js @@ -80,7 +80,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -93,23 +93,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -126,7 +122,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -148,7 +144,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -167,32 +163,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -213,7 +200,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -255,9 +242,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -358,16 +342,10 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -533,18 +511,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -667,7 +639,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -726,22 +697,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1050,22 +1013,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1164,22 +1119,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1277,22 +1224,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1386,22 +1325,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1504,10 +1435,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1540,16 +1467,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js index b4b1592e34cec..5ed933443e018 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -819,7 +778,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -872,48 +830,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 3: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 1: /user/username/projects/myproject/main/tsconfig.json @@ -1170,18 +1086,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1286,18 +1196,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1401,18 +1305,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1487,18 +1385,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1577,9 +1469,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1611,12 +1500,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js index 9b0cdc7d423cf..453390f7cd69d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js @@ -80,7 +80,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -93,23 +93,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -126,7 +122,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -148,7 +144,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -167,32 +163,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -213,7 +200,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -255,9 +242,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -358,16 +342,10 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -533,18 +511,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -877,18 +849,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -968,18 +934,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1058,18 +1018,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1144,18 +1098,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1234,9 +1182,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1268,12 +1213,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js index 68a93d5e4db28..9294dc8bf829e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -819,7 +778,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -872,48 +830,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 3: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 1: /user/username/projects/myproject/main/tsconfig.json @@ -1046,7 +962,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1102,46 +1017,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 2: *ensureProjectForOpenFiles* *deleted* 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js index dce11db515778..b47888366528d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index 88aec7edd3bcb..a79884244d42d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -812,7 +771,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -870,48 +828,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 0 3: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* @@ -988,7 +904,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1044,46 +959,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 1 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 5: *ensureProjectForOpenFiles* *new* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index 910a597a6d26f..f013963ec9339 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js index c90e74812c83e..68002f735b3c9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js index adfc75ce4411b..602b8aa26fbd9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index c51abd19ef82f..911975576c449 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index b08650ffcace5..1d33e5da569d5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index e0e6811024029..acc1b79b79c6e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js index 59d53b5b2d74f..2825e6eb9a170 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js index bde3c0e4ff87b..332ae20188e58 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js @@ -85,7 +85,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,23 +98,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -131,7 +127,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -153,7 +149,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,32 +168,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -218,7 +205,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -261,10 +248,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -366,20 +349,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -549,22 +524,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -667,22 +634,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -725,22 +684,14 @@ Before request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts.map: @@ -835,22 +786,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1156,22 +1099,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1270,22 +1205,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1383,22 +1310,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1492,22 +1411,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1610,10 +1521,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1646,16 +1553,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js index e36518e1586a5..b63d51de66d3c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1109,22 +1068,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1227,22 +1178,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1346,22 +1289,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1449,22 +1384,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1561,10 +1488,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1597,16 +1520,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js index 298541ed2c116..ce2a58f610398 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js @@ -85,7 +85,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,23 +98,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -131,7 +127,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -153,7 +149,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,32 +168,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -218,7 +205,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -261,10 +248,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -366,20 +349,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -549,22 +524,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -667,22 +634,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -952,22 +911,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1053,22 +1004,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1153,22 +1096,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1249,22 +1184,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1352,10 +1279,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1389,16 +1312,8 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 5887a860a5b9d..b4f1751559ded 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index d73148de4192b..8653eda2ab2d5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 14c36babc5e4e..fccb388ee2cf3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index de9566242fb65..b793ecf59eb0c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js index b96b3db2dacd0..638097d26fdf0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js index 3b379aa2dd93f..ccbe9c3b9418c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js @@ -88,7 +88,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -101,23 +101,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -134,7 +130,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -156,7 +152,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -175,32 +171,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -221,7 +208,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -264,10 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -369,20 +352,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -552,22 +527,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -669,22 +636,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js index bc68606fbca57..7df33a7c3945f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -937,22 +904,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1040,22 +999,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1142,22 +1093,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1240,22 +1183,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1350,10 +1285,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1384,16 +1315,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js index 773ee6fe8cd90..2be174e69c339 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-action-before-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js index 5de5623137090..115af1a8cc5bb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-no-timeout.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js index 9b98bd342e4e8..141ba988759e0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-delete.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js index e5f085f03843c..9ce6053246e76 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-change-as-rename-timeout-after-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js index 2d73c9841ce5d..878851fe44d36 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js index 067c923dd2a9f..429de98b21ea2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js index 1366567186f84..09d18f15025a0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js @@ -85,7 +85,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,23 +98,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -131,7 +127,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -153,7 +149,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,32 +168,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -218,7 +205,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -281,10 +268,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -386,20 +369,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -573,22 +548,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -998,22 +965,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1101,22 +1060,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1203,22 +1154,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1301,22 +1244,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1411,10 +1346,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1445,16 +1376,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js index a852e8a21dede..45c3e22dc8eba 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -999,22 +966,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1102,22 +1061,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1204,22 +1155,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1302,22 +1245,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1412,10 +1347,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1446,16 +1377,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js index d28080aba3c99..ad261f7882e6a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js @@ -85,7 +85,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -98,23 +98,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -131,7 +127,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -153,7 +149,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -172,32 +168,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -218,7 +205,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -281,10 +268,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -386,20 +369,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -573,22 +548,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -929,22 +896,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1032,22 +991,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1134,22 +1085,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1232,22 +1175,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1342,10 +1277,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1376,16 +1307,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js index e1a02bbd61ee9..c4afec7d1909c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-action-before-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js index 145311f3e7876..92d91411b78b4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-no-timeout.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js index cdd83ec7e6ba7..5eb728d8a13c0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js index 77f43a362555c..ff285d16e4c02 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js index 8008d07540305..0f0130f2aba64 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-action-before-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js index 54021c21df1c3..fa3868e3659a8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-no-timeout.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 23607e75583a3..6912ddf7c0114 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js index 80a10dc816c53..5ba16150c967e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 1071dfd6ac540..37939f5536ef3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js index 3a686ff4addd2..94e51d09822e6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js index c52e52d97c2b8..fd04b08a4a56d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js @@ -90,7 +90,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -103,23 +103,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -136,7 +132,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -158,7 +154,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -177,32 +173,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -223,7 +210,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -286,10 +273,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -391,20 +374,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -578,22 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -991,22 +958,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1094,22 +1053,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1196,22 +1147,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1294,22 +1237,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1404,10 +1339,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1438,16 +1369,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js index 13466138aa7f2..1fd3d973c5633 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -992,22 +959,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1095,22 +1054,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1197,22 +1148,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1295,22 +1238,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1405,10 +1340,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1439,16 +1370,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js index 352d9dca04e6d..0c70c7bf6a1ed 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js @@ -90,7 +90,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -103,23 +103,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -136,7 +132,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -158,7 +154,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -177,32 +173,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -223,7 +210,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -286,10 +273,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -391,20 +374,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -578,22 +553,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -934,22 +901,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1037,22 +996,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1139,22 +1090,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1237,22 +1180,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1347,10 +1282,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1381,16 +1312,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 4aed712259bc7..5109ab23e515c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 6d40bc9c2dd81..b24a7b86baba4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index 1570cfb8ca685..133670e29f9be 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index fd74231fc6fe1..26ae33e930676 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js index 578d61f717f4a..e7cabbc3983c8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js index e10c06c0a98d4..c8337380bf442 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js index 245a23b74ca52..c4423b224b21f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js index a133e5015ad4e..cae418c738cd7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js @@ -93,7 +93,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -106,23 +106,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -139,7 +135,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -161,7 +157,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -180,32 +176,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -226,7 +213,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -289,10 +276,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js index 16eaf956ff787..427ed8d522dc7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js @@ -126,10 +126,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -233,20 +229,12 @@ After request PolledWatches:: /user/username/projects/myproject/decls: *new* {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -420,22 +408,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -776,22 +756,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -879,22 +851,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -981,22 +945,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1079,22 +1035,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1187,10 +1135,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1223,16 +1167,8 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/decls: {"pollingInterval":500} -/user/username/projects/myproject/dependency/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js index 72bb506f9e8c9..2835fec9d4eeb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1029,22 +988,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1147,22 +1098,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1264,22 +1207,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1377,22 +1312,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1502,10 +1429,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1538,16 +1461,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js index c2123b5b228bb..1c37a26cfe645 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-action-before-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -859,7 +818,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -912,52 +870,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 3: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 1: /user/username/projects/myproject/main/tsconfig.json @@ -1091,7 +1003,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1147,50 +1058,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 2: *ensureProjectForOpenFiles* *deleted* 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js index 084feafec9b1d..34ea05fd35701 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-no-timeout.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js index 158b6b15da7bc..772ae8b90e88d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-delete.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -852,7 +811,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -910,52 +868,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 0 3: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* @@ -1033,7 +945,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1089,50 +1000,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 1 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 5: *ensureProjectForOpenFiles* *new* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js index a4785e7dc1f29..5a0ebae182488 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-change-as-rename-timeout-after-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index c4a8b67f78fe0..8e719cd7a9667 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js index 7db26bbeb7512..f806bd3689e97 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js index 8ab00e0f6a9b7..c739bd6d4daaf 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js @@ -86,7 +86,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -99,23 +99,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -132,7 +128,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -154,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,32 +169,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -219,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -282,9 +269,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -386,16 +370,10 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -565,18 +543,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -703,7 +675,6 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -762,22 +733,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1090,22 +1053,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1208,22 +1163,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1325,22 +1272,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1438,22 +1377,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1563,10 +1494,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1599,16 +1526,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js index 1595ad6c4001b..0ee31cbd0f506 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -859,7 +818,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -912,52 +870,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 3: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 1: /user/username/projects/myproject/main/tsconfig.json @@ -1214,18 +1126,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1334,18 +1240,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1453,18 +1353,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1543,18 +1437,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1640,9 +1528,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1674,12 +1559,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js index 5012e96214b28..bc9f5f16400e1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js @@ -86,7 +86,7 @@ function fn5() { } {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -99,23 +99,19 @@ function fn5() { } "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -132,7 +128,7 @@ function fn5() { } "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -154,7 +150,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -173,32 +169,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -219,7 +206,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -282,9 +269,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -386,16 +370,10 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -565,18 +543,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -913,18 +885,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1008,18 +974,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1102,18 +1062,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1192,18 +1146,12 @@ After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1289,9 +1237,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1323,12 +1268,6 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js index d27f0ede39364..0921fad38096a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-action-before-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -859,7 +818,6 @@ Info seq [hh:mm:ss:mss] request: "type": "request" } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -912,52 +870,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 3: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 1: /user/username/projects/myproject/main/tsconfig.json @@ -1090,7 +1002,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1146,50 +1057,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 2 2: *ensureProjectForOpenFiles* *deleted* 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js index 1d9e0a06e5c32..fc387d5c88d59 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-no-timeout.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js index e7b89b7a4da0e..ddc8487ca9ab8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-delete.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -852,7 +811,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/main/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -910,52 +868,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 0 3: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* @@ -1032,7 +944,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/main/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -1088,50 +999,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/main/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/random/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/node_modules/@types: - {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/user/username/projects/myproject/decls/FnS.d.ts.map: - {} -/user/username/projects/myproject/decls/fns.d.ts: - {} -/user/username/projects/myproject/dependency/FnS.ts: - {} -/user/username/projects/myproject/dependency/tsconfig.json: - {} -/user/username/projects/myproject/main/tsconfig.json: - {} -/user/username/projects/myproject/random/tsconfig.json: - {} - -FsWatchesRecursive:: -/user/username/projects/myproject/decls: - {} -/user/username/projects/myproject/dependency: - {} -/user/username/projects/myproject/main: - {} -/user/username/projects/myproject/random: - {} - Timeout callback:: count: 1 4: /user/username/projects/myproject/main/tsconfig.jsonFailedLookupInvalidation *deleted* 5: *ensureProjectForOpenFiles* *new* diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js index 2ae86aaafa9da..13893074a11f4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-rewrite-as-rename-timeout-after-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js index d3441e7c955a0..ba41c4df1f201 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-action-before-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js index 07569024b58f9..d246d87433b85 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-no-timeout.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js index 576e8ecd300e1..853bdfb9eea0d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-delete.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js index c5ced3caae6fc..4e685452b74d8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-change-as-rename-timeout-after-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index b134c15c712c9..aed40211b74ea 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js index 81eb76b18bc8c..00956cc19437d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js index 2bf26ae32126b..d00127744668e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js @@ -91,7 +91,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,23 +104,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -137,7 +133,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -159,7 +155,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -178,32 +174,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -224,7 +211,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -288,10 +275,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -703,22 +670,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -765,22 +724,14 @@ Before request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts.map: @@ -879,22 +830,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1204,22 +1147,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1322,22 +1257,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1439,22 +1366,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1552,22 +1471,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1677,10 +1588,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1713,16 +1620,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js index ab35be7e33fed..414738b4d496a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1149,22 +1108,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1271,22 +1222,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1394,22 +1337,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1501,22 +1436,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1620,10 +1547,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1656,16 +1579,8 @@ PolledWatches:: {"pollingInterval":500} PolledWatches *deleted*:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js index fa26c62fd222e..ea2940492bdf5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js @@ -91,7 +91,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -104,23 +104,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -137,7 +133,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -159,7 +155,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -178,32 +174,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -224,7 +211,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -288,10 +275,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -394,20 +377,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -581,22 +556,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -703,22 +670,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: *new* {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -992,22 +951,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1097,22 +1048,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1201,22 +1144,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1301,22 +1236,14 @@ After request PolledWatches:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1411,10 +1338,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -1448,16 +1371,8 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/decls/FnS.d.ts.map: {"pollingInterval":2000} -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js index 2eddd3782ca62..bb44f5339bdad 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-action-before-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js index 557069ea6daec..0368db5c63722 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-no-timeout.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js index a17056be9e85d..64a8875aeca3e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-delete.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js index 1c2f227222c1c..9e5cae20ce6df 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-rewrite-as-rename-timeout-after-write.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 6fb7c7d429c02..8d5d104b98df1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js index acd466b988d2a..c47f53abcc064 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js @@ -94,7 +94,7 @@ export declare function fn5(): void; //# sourceMappingURL=FnS.d.ts.map //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","./fns.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},{"version":"-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n","signature":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n"}],"root":[2],"options":{"composite":true,"declarationDir":"../decls","declarationMap":true},"latestChangedDtsFile":"../decls/FnS.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/dependency/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -107,23 +107,19 @@ export declare function fn5(): void; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "./fns.ts": { "original": { "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "version": "-18619918033-export function fn1() { }\nexport function fn2() { }\nexport function fn3() { }\nexport function fn4() { }\nexport function fn5() { }\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" } }, "root": [ @@ -140,7 +136,7 @@ export declare function fn5(): void; "latestChangedDtsFile": "../decls/FnS.d.ts" }, "version": "FakeTSVersion", - "size": 1059 + "size": 1023 } //// [/user/username/projects/myproject/main/main.js] @@ -162,7 +158,7 @@ export {}; //# sourceMappingURL=main.d.ts.map //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true,"impliedFormat":1},{"version":"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n","impliedFormat":1},{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n","impliedFormat":1}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../../../../a/lib/lib.d.ts","../decls/fns.d.ts","./main.ts"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n",{"version":"-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n","signature":"-3531856636-export {};\n"}],"root":[3],"options":{"composite":true,"declarationMap":true},"fileIdsList":[[2]],"referencedMap":[[3,1]],"latestChangedDtsFile":"./main.d.ts"},"version":"FakeTSVersion"} //// [/user/username/projects/myproject/main/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -181,32 +177,23 @@ export {}; "../../../../../a/lib/lib.d.ts": { "original": { "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": 1 + "affectsGlobalScope": true }, "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", - "affectsGlobalScope": true, - "impliedFormat": "commonjs" + "affectsGlobalScope": true }, "../decls/fns.d.ts": { - "original": { - "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": 1 - }, "version": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n", - "impliedFormat": "commonjs" + "signature": "-18267052502-export declare function fn1(): void;\nexport declare function fn2(): void;\nexport declare function fn3(): void;\nexport declare function fn4(): void;\nexport declare function fn5(): void;\n" }, "./main.ts": { "original": { "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": 1 + "signature": "-3531856636-export {};\n" }, "version": "-805644102-import {\n fn1,\n fn2,\n fn3,\n fn4,\n fn5\n} from '../decls/fns'\n\nfn1();\nfn2();\nfn3();\nfn4();\nfn5();\n", - "signature": "-3531856636-export {};\n", - "impliedFormat": "commonjs" + "signature": "-3531856636-export {};\n" } }, "root": [ @@ -227,7 +214,7 @@ export {}; "latestChangedDtsFile": "./main.d.ts" }, "version": "FakeTSVersion", - "size": 1134 + "size": 1068 } @@ -291,10 +278,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/package.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Type roots @@ -397,20 +380,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -584,22 +559,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -705,22 +672,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/decls/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/main/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/main/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/random/node_modules/@types: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js index d37a76f2384c6..151bb7956c4b7 100644 --- a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js +++ b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project-and-shared-is-first.js @@ -161,12 +161,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/shared/src 1 undefined Config: /home/src/workspaces/projects/shared/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/shared/src 1 undefined Config: /home/src/workspaces/projects/shared/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/shared/src/package.json 2000 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/shared/package.json 2000 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/package.json 2000 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/package.json 2000 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/server/src/package.json 2000 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/server/package.json 2000 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/server/node_modules/@types 1 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/server/node_modules/@types 1 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/node_modules/@types 1 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: Type roots @@ -287,22 +281,10 @@ After request PolledWatches:: /home/src/workspaces/node_modules/@types: *new* {"pollingInterval":500} -/home/src/workspaces/package.json: *new* - {"pollingInterval":2000} /home/src/workspaces/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/workspaces/projects/package.json: *new* - {"pollingInterval":2000} /home/src/workspaces/projects/server/node_modules/@types: *new* {"pollingInterval":500} -/home/src/workspaces/projects/server/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/server/src/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js index 80c65c47fc2ac..443e7820838a0 100644 --- a/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectRootFiles/when-root-file-is-from-referenced-project.js @@ -161,12 +161,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/p Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/shared/src 1 undefined Config: /home/src/workspaces/projects/shared/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/shared/src 1 undefined Config: /home/src/workspaces/projects/shared/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/shared/src/package.json 2000 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/shared/package.json 2000 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/package.json 2000 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/package.json 2000 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/server/src/package.json 2000 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/server/package.json 2000 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/server/node_modules/@types 1 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/server/node_modules/@types 1 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/workspaces/projects/node_modules/@types 1 undefined Project: /home/src/workspaces/projects/server/tsconfig.json WatchType: Type roots @@ -287,22 +281,10 @@ After request PolledWatches:: /home/src/workspaces/node_modules/@types: *new* {"pollingInterval":500} -/home/src/workspaces/package.json: *new* - {"pollingInterval":2000} /home/src/workspaces/projects/node_modules/@types: *new* {"pollingInterval":500} -/home/src/workspaces/projects/package.json: *new* - {"pollingInterval":2000} /home/src/workspaces/projects/server/node_modules/@types: *new* {"pollingInterval":500} -/home/src/workspaces/projects/server/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/server/src/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/package.json: *new* - {"pollingInterval":2000} -/home/src/workspaces/projects/shared/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js b/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js index 570fb43589fd4..a50f9f3670f9d 100644 --- a/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js +++ b/tests/baselines/reference/tsserver/projects/Orphan-source-files-are-handled-correctly-on-watch-trigger.js @@ -63,9 +63,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -163,14 +160,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js index 5fe17f8b08784..283566b04b72c 100644 --- a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js @@ -72,12 +72,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots @@ -180,22 +174,10 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/playground/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/playground/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/tests/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,22 +242,10 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/playground/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/playground/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/src/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/tests/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -354,11 +324,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/playground/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src 1 undefined Config: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src 1 undefined Config: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Type roots @@ -463,12 +428,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots @@ -492,26 +451,12 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/playground/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/playground/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/playground/tsconfig-json/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/playground/tsconfig-json/tests/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -596,11 +541,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -674,36 +614,24 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/playground/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/playground/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/playground/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/playground/tsconfig-json/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/tests/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/playground/tsconfig-json/tests/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js b/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js index 920ae41b4fe49..b2a99cb336ee7 100644 --- a/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js +++ b/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js @@ -62,9 +62,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/projects/config/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/files/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/files/package.json 2000 undefined Project: /a/b/projects/config/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/package.json 2000 undefined Project: /a/b/projects/config/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/config/package.json 2000 undefined Project: /a/b/projects/config/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/config/node_modules/@types 1 undefined Project: /a/b/projects/config/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/config/node_modules/@types 1 undefined Project: /a/b/projects/config/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/config/tsconfig.json WatchType: Type roots @@ -162,14 +159,8 @@ After request PolledWatches:: /a/b/projects/config/node_modules/@types: *new* {"pollingInterval":500} -/a/b/projects/config/package.json: *new* - {"pollingInterval":2000} -/a/b/projects/files/package.json: *new* - {"pollingInterval":2000} /a/b/projects/node_modules/@types: *new* {"pollingInterval":500} -/a/b/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/b/projects/config/tsconfig.json: *new* @@ -233,14 +224,8 @@ After request PolledWatches:: /a/b/projects/config/node_modules/@types: {"pollingInterval":500} -/a/b/projects/config/package.json: - {"pollingInterval":2000} -/a/b/projects/files/package.json: - {"pollingInterval":2000} /a/b/projects/node_modules/@types: {"pollingInterval":500} -/a/b/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/b/projects/config/tsconfig.json: @@ -299,14 +284,8 @@ After request PolledWatches:: /a/b/projects/config/node_modules/@types: {"pollingInterval":500} -/a/b/projects/config/package.json: - {"pollingInterval":2000} -/a/b/projects/files/package.json: - {"pollingInterval":2000} /a/b/projects/node_modules/@types: {"pollingInterval":500} -/a/b/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/b/projects/config/file.ts: *new* @@ -356,8 +335,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/projects/files/fi Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/files/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/files/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/files/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/files/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/files/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -394,9 +371,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b/projects/config 1 undefined Config: /a/b/projects/config/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/b/projects/config 1 undefined Config: /a/b/projects/config/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/config/tsconfig.json 2000 undefined Project: /a/b/projects/config/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/files/package.json 2000 undefined Project: /a/b/projects/config/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/package.json 2000 undefined Project: /a/b/projects/config/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/config/package.json 2000 undefined Project: /a/b/projects/config/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b/projects/config/node_modules/@types 1 undefined Project: /a/b/projects/config/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/b/projects/config/node_modules/@types 1 undefined Project: /a/b/projects/config/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /a/b/projects/config/tsconfig.json WatchType: Type roots @@ -422,20 +396,14 @@ PolledWatches:: {"pollingInterval":2000} /a/b/projects/files/node_modules/@types: *new* {"pollingInterval":500} -/a/b/projects/files/package.json: - {"pollingInterval":2000} /a/b/projects/files/tsconfig.json: *new* {"pollingInterval":2000} /a/b/projects/node_modules/@types: {"pollingInterval":500} -/a/b/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /a/b/projects/config/node_modules/@types: {"pollingInterval":500} -/a/b/projects/config/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -507,8 +475,6 @@ Info seq [hh:mm:ss:mss] Projects: Info seq [hh:mm:ss:mss] FileName: /a/b/projects/files/file2.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/files/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/files/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/files/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots diff --git a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js index f3f8bf70e1a87..3100eef882fd0 100644 --- a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js +++ b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js @@ -61,9 +61,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/a.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -161,14 +158,8 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/sub/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -233,14 +224,8 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} -/users/username/projects/project/sub/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -360,7 +345,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/a.ts ProjectRootPath: /users/username/projects/project:: Result: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/sub/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -392,30 +376,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/users/username/projects/node_modules/@types: - {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types: - {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/users/username/projects/project/sub/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {} -/users/username/projects/project/tsconfig.json: - {} - -FsWatchesRecursive:: -/users/username/projects/project: - {} - Projects:: /users/username/projects/project/tsconfig.json (Configured) *changed* projectStateVersion: 2 @@ -618,16 +578,12 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/a.ts: *new* {"pollingInterval":500} /users/username/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} /users/username/projects/project/sub/jsconfig.json: *new* {"pollingInterval":2000} /users/username/projects/project/sub/node_modules/@types: *new* @@ -826,12 +782,8 @@ After running Timeout callback:: count: 2 PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} /users/username/projects/project/sub/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js b/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js index 24994f2820b5a..c2b4bbc599ddb 100644 --- a/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js +++ b/tests/baselines/reference/tsserver/projects/no-project-structure-update-on-directory-watch-invoke-on-open-file-save.js @@ -41,8 +41,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -183,12 +181,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js index 52c300a454a7e..1524a52f97bab 100644 --- a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js @@ -72,12 +72,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots @@ -180,22 +174,10 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/playground/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/playground/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/tests/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,22 +242,10 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/playground/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/playground/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/src/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/tests/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -354,11 +324,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/playground/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src 1 undefined Config: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src 1 undefined Config: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.json WatchType: Type roots @@ -463,12 +428,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground 1 undefined Config: /user/username/projects/myproject/playground/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Config file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/src/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/package.json 2000 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/playground/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/playground/tsconfig.json WatchType: Type roots @@ -492,26 +451,12 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/playground/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/playground/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/playground/tsconfig-json/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/playground/tsconfig-json/tests/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -598,11 +543,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -680,28 +620,18 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/playground/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/playground/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/playground/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/playground/tsconfig-json/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/playground/tsconfig-json/src/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/tests/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/playground/tsconfig-json/tests/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/tests/spec.d.ts: *new* {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.json: *new* @@ -710,8 +640,6 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js b/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js index f3142f441d812..355df5833e4d7 100644 --- a/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js +++ b/tests/baselines/reference/tsserver/projects/requests-are-done-on-file-on-pendingReload-but-has-svc-for-previous-version.js @@ -61,9 +61,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/file1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -162,14 +159,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -233,14 +224,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -299,14 +284,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js index 889cca98f306d..29e9bcb935bc1 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-redirect-info-when-requested.js @@ -76,9 +76,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A 1 undefined Config: /users/username/projects/project/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/A/package.json 2000 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots @@ -179,16 +176,10 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/A/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/A/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -258,10 +249,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/B/tsconfig.jso Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/B 1 undefined Config: /users/username/projects/project/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/B 1 undefined Config: /users/username/projects/project/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/B/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/A/package.json 2000 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/B/package.json 2000 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/B/node_modules/@types 1 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/B/node_modules/@types 1 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Type roots @@ -371,20 +358,12 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/A/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/A/package.json: - {"pollingInterval":2000} /users/username/projects/project/B/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/B/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js index a2afce8df50dd..2a14b83336166 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-provides-updates-to-redirect-info-when-requested.js @@ -79,9 +79,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A 1 undefined Config: /users/username/projects/project/A/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/A/package.json 2000 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/A/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: Type roots @@ -182,16 +179,10 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/A/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/A/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -263,9 +254,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/B 1 undefined Config: /users/username/projects/project/B/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/B/b2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/B/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/B/package.json 2000 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/B/node_modules/@types 1 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/B/node_modules/@types 1 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/B/tsconfig.json WatchType: Type roots @@ -376,20 +364,12 @@ After request PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/A/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/A/package.json: - {"pollingInterval":2000} /users/username/projects/project/B/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/B/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -690,7 +670,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/project/A/tsconfig.jso } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/B/package.json 2000 undefined Project: /users/username/projects/project/A/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/A/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/A/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js index 124182fbe6bd5..447da3bcdf486 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved-and-redirect-info-is-requested.js @@ -58,8 +58,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -160,14 +158,10 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig_base.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js index 5148220ef1b13..1e7869bdd5327 100644 --- a/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js +++ b/tests/baselines/reference/tsserver/projects/synchronizeProjectList-returns-correct-information-when-base-configuration-file-cannot-be-resolved.js @@ -58,8 +58,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -160,14 +158,10 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig_base.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js b/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js index 0ab914bbd776e..2ae7938d015ca 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/sample-project.js @@ -182,11 +182,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/sample1/logic/index.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/sample1/core/anotherModule.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/sample1/core/package.json 2000 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/sample1/package.json 2000 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/sample1/logic/package.json 2000 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/sample1/tests/package.json 2000 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/sample1/tests/node_modules/@types 1 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/sample1/tests/node_modules/@types 1 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/sample1/node_modules/@types 1 undefined Project: /user/username/projects/sample1/tests/tsconfig.json WatchType: Type roots @@ -300,20 +295,10 @@ After request PolledWatches:: /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/core/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/sample1/logic/package.json: *new* - {"pollingInterval":2000} /user/username/projects/sample1/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/sample1/package.json: *new* - {"pollingInterval":2000} /user/username/projects/sample1/tests/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/sample1/tests/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js index 6799241348ef0..68d6895e6b0ea 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-referenced-config-file.js @@ -172,12 +172,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots @@ -284,24 +278,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -393,7 +375,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -472,26 +453,12 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -634,7 +601,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -700,24 +666,12 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js index 5a96295451329..f1ee9dc5a7885 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-deleting-transitively-referenced-config-file.js @@ -172,12 +172,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots @@ -284,24 +278,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js index 34ea6f3ce10b4..ee472a6b7c6b3 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-in-referenced-config-file.js @@ -172,12 +172,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots @@ -284,24 +278,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -432,10 +414,8 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -490,28 +470,12 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/nrefs/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -642,10 +606,8 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.js } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -700,28 +662,12 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/nrefs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js index d778cad9251ab..ef8fcd1886f19 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-edit-on-config-file.js @@ -172,12 +172,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots @@ -284,24 +278,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -441,10 +423,8 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -519,28 +499,12 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/nrefs/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -680,10 +644,8 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.js Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -758,28 +720,12 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/nrefs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js index ddf0a715d1fda..579f973e99887 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/transitive-references-with-non-local-edit.js @@ -172,12 +172,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots @@ -284,24 +278,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js index 536ddb4f152a0..de060f65a7a3b 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-referenced-config-file.js @@ -169,12 +169,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots @@ -281,24 +275,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -399,7 +381,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (4) @@ -478,26 +459,12 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -643,7 +610,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -709,24 +675,12 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js index 5040facd61f83..036ab54c72c85 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-deleting-transitively-referenced-config-file.js @@ -169,12 +169,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots @@ -281,24 +275,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js index 3f3c2f775de62..1883d55751c9d 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-in-referenced-config-file.js @@ -169,12 +169,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots @@ -281,24 +275,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -428,10 +410,8 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.js Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -486,28 +466,12 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/nrefs/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -635,10 +599,8 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/b/tsconfig.js } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -693,28 +655,12 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/nrefs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js index 5a5003025da67..a8212c77e2468 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-edit-on-config-file.js @@ -169,12 +169,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots @@ -281,24 +275,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -437,10 +419,8 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs/a.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/nrefs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -515,28 +495,12 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/nrefs/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/refs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -675,10 +639,8 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/c/tsconfig.js Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/nrefs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/c/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/c/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -753,28 +715,12 @@ Info seq [hh:mm:ss:mss] event: After running Timeout callback:: count: 0 PolledWatches:: -/user/username/projects/myproject/a/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/myproject/nrefs/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js index b27d950f031e5..e71cc6e106c01 100644 --- a/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js +++ b/tests/baselines/reference/tsserver/projectsWithReferences/trasitive-references-without-files-with-non-local-edit.js @@ -169,12 +169,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/refs/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/package.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Type roots @@ -281,24 +275,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/a/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/c/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/c/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/refs/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js index 29b2075f536e5..40f90c3d16871 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/configured-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/configured-project.js @@ -109,8 +109,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {" Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -206,14 +204,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -264,8 +258,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -297,10 +289,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -375,26 +363,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/node_modules/module1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -454,10 +430,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -487,10 +459,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -565,28 +533,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -643,10 +595,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.j Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: undefined:: Result: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -679,10 +627,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -756,28 +700,12 @@ After request PolledWatches:: /user/username/projects/myproject/file2: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js b/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js index 8dafe398614bf..356bb2c9ad59f 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js +++ b/tests/baselines/reference/tsserver/reloadProjects/external-project-with-config-file.js @@ -125,8 +125,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {" Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -221,14 +219,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -288,14 +282,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -345,8 +335,6 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -378,10 +366,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -457,26 +441,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/node_modules/module1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -535,10 +507,6 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -568,10 +536,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -647,28 +611,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -724,10 +672,6 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -760,10 +704,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -838,28 +778,12 @@ After request PolledWatches:: /user/username/projects/myproject/file2: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/reloadProjects/external-project.js b/tests/baselines/reference/tsserver/reloadProjects/external-project.js index 8979b28b6a7d7..f058da391ffec 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/external-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/external-project.js @@ -83,8 +83,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {" Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots @@ -155,14 +153,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -215,14 +209,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -266,8 +256,6 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots @@ -275,10 +263,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/pro Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots @@ -333,26 +317,14 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/node_modules/module1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -407,19 +379,11 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/project.sln, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/project.sln Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots @@ -474,28 +438,12 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -547,10 +495,6 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: /user/username/projects/myproject/project.sln, Cancelled earlier one Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots @@ -560,10 +504,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/file2.ts 500 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Missing file Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.sln WatchType: Type roots @@ -618,28 +558,12 @@ After request PolledWatches:: /user/username/projects/myproject/file2: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js index 7797866aa05ad..1804d80424a27 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js @@ -96,8 +96,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {" Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -133,16 +131,12 @@ After request PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -187,8 +181,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/project Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -204,10 +196,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferred Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -255,28 +243,16 @@ After request PolledWatches:: /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/module1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -332,10 +308,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -349,10 +321,6 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/file1.ts P Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -400,30 +368,14 @@ After request PolledWatches:: /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -476,10 +428,6 @@ Info seq [hh:mm:ss:mss] Scheduled: /dev/null/inferredProject1*, Cancelled earli Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /user/username/projects/myproject/file1.ts ProjectRootPath: /user/username/projects/myproject:: Result: undefined Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -497,10 +445,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module1/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/file2.ts"],"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -548,30 +492,14 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} *new* -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} *new* /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* -/user/username/projects/package.json: - {"pollingInterval":2000} *new* PolledWatches *deleted*:: -/user/username/projects/myproject/node_modules/module1/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js index 30cd7ecc377e9..969e6d86f2c62 100644 --- a/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js +++ b/tests/baselines/reference/tsserver/rename/with-symlinks-and-case-difference.js @@ -103,7 +103,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/proj Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project1 1 undefined Config: c:/temp/test/project1/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: c:/temp/test/project1/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/test/project1/package.json 2000 undefined Project: c:/temp/test/project1/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project1/node_modules/@types 1 undefined Project: c:/temp/test/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project1/node_modules/@types 1 undefined Project: c:/temp/test/project1/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/node_modules/@types 1 undefined Project: c:/temp/test/project1/tsconfig.json WatchType: Type roots @@ -219,7 +218,7 @@ c:/temp/test/project1/node_modules/@types: *new* FsWatches:: C:/a/lib/lib.d.ts: *new* {} -C:/temp/test/project1/package.json: *new* +c:/temp/test/project1/package.json: *new* {} c:/temp/test/project1/tsconfig.json: *new* {} @@ -395,9 +394,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/node_modules 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/node_modules 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/test/project1/package.json 2000 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/test/project2/package.json 2000 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/test/package.json 2000 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/package.json 2000 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project2/node_modules/@types 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/project2/node_modules/@types 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/test/node_modules/@types 1 undefined Project: c:/temp/test/project2/tsconfig.json WatchType: Type roots @@ -568,12 +564,6 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -C:/temp/package.json: *new* - {"pollingInterval":2000} -C:/temp/test/package.json: *new* - {"pollingInterval":2000} -C:/temp/test/project2/package.json: *new* - {"pollingInterval":2000} c:/temp/node_modules/@types: {"pollingInterval":500} c:/temp/test/node_modules/@types: @@ -590,7 +580,7 @@ c:/temp/test/project2/node_modules/@types: *new* FsWatches:: C:/a/lib/lib.d.ts: {} -C:/temp/test/project1/package.json: +c:/temp/test/project1/package.json: {} c:/temp/test/project1/tsconfig.json: {} diff --git a/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js b/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js index fee049338f96d..0e0c30c573418 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js +++ b/tests/baselines/reference/tsserver/resolutionCache/avoid-unnecessary-lookup-invalidation-on-save.js @@ -65,12 +65,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -97,40 +91,15 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/mo Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/index.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/node_modules/module2/index.ts', result '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/module1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module2/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -233,22 +202,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/module2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/node_modules/module1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js b/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js index 799f9271559bb..49d648e96a580 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js +++ b/tests/baselines/reference/tsserver/resolutionCache/can-load-typings-that-are-proper-modules.js @@ -40,9 +40,6 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/app.js ProjectRootPath: undefined:: Result: undefined Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] File '/a/b/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] ======== Resolving module 'lib' from '/a/b/app.js'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'lib' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -61,17 +58,6 @@ Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/lib.d.ts' does not exist. Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/@types/lib/package.json' does not exist. Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/@types/lib.d.ts' does not exist. Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/@types/lib/index.d.ts' exists - use it as a name resolution result. -Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/@types/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/@types/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/cache/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/cache/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/lib/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -89,12 +75,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer PolledWatches:: -/a/cache/node_modules/@types/lib/package.json: *new* - {"pollingInterval":2000} -/a/cache/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/a/cache/node_modules/package.json: *new* - {"pollingInterval":2000} /a/lib/lib.d.ts: *new* {"pollingInterval":500} @@ -241,12 +221,6 @@ PolledWatches:: {"pollingInterval":500} /a/b/node_modules: *new* {"pollingInterval":500} -/a/cache/node_modules/@types/lib/package.json: - {"pollingInterval":2000} -/a/cache/node_modules/@types/package.json: - {"pollingInterval":2000} -/a/cache/node_modules/package.json: - {"pollingInterval":2000} /a/lib/lib.d.ts: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js index b64ab7b42a014..9a69a1495747f 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-different-folders.js @@ -80,13 +80,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/file4.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -115,33 +108,10 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/mo Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/index.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/node_modules/module2/index.ts', result '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -156,13 +126,6 @@ Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for pre Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/src/feature/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product/src'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/test/file4.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -177,14 +140,6 @@ Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for pre Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -199,25 +154,11 @@ Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for pre Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product/test'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules/module1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module2/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/feature/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -335,30 +276,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/module2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/node_modules/module1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/src/feature/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/test/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/test/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -487,110 +406,14 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/src/feature/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/src/feature/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/test/file4.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/test/file4.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/test/src/file3.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/test/src/file3.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js index fdd3d9fc1be53..869f2a1f26379 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-files-in-same-folder.js @@ -70,12 +70,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'module1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -102,52 +96,21 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/mo Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/index.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/node_modules/module2/index.ts', result '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/src/file2.ts'. ======== Info seq [hh:mm:ss:mss] Resolution for module 'module1' was found in cache from location '/user/username/projects/myproject/src'. Info seq [hh:mm:ss:mss] ======== Module name 'module1' was successfully resolved to '/user/username/projects/myproject/src/node_modules/module1/index.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module 'module2' from '/user/username/projects/myproject/src/file2.ts'. ======== Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/src'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/module1/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module2/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -255,22 +218,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/module2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/node_modules/module1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -363,70 +312,10 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/module1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/src/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/src/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js index 7c40e509a55a4..1a22de0b8dc24 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js @@ -70,13 +70,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] ======== Resolving module './feature/file2' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/feature/file2', target file types: TypeScript, Declaration. @@ -120,14 +113,6 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/mo Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/index.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/node_modules/module2/index.ts', result '/user/username/projects/myproject/node_modules/module2/index.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/feature/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. @@ -143,32 +128,10 @@ Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for pre Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/src/feature/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product/src'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/file4.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/test/file4.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. @@ -184,14 +147,6 @@ Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for pre Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'module1' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. @@ -207,9 +162,6 @@ Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for pre Info seq [hh:mm:ss:mss] Directory '/user/username/projects/myproject/product/test/src/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'module2' was found in cache from location '/user/username/projects/myproject/product/test'. Info seq [hh:mm:ss:mss] ======== Module name 'module2' was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -223,17 +175,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules/module1/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/module2/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/feature/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -294,50 +235,28 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/module2/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/product/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/product/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/product/node_modules/module1/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/src/feature/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/product/src/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/product/src/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/product/src/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/product/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/product/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/product/test/node_modules: *new* {"pollingInterval":500} -/user/username/projects/myproject/product/test/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/product/test/src/node_modules: *new* {"pollingInterval":500} -/user/username/projects/myproject/product/test/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/product/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -462,113 +381,17 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module './feature/file2' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/src/feature/file2.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '../test/file4' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/test/file4.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '../test/src/file3' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/test/src/file3.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/src/feature/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/src/feature/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/module1/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/module2/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/node_modules/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/test/file4.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/test/file4.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module1' from '/user/username/projects/myproject/product/test/src/file3.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/node_modules/module1/index.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module 'module2' from '/user/username/projects/myproject/product/test/src/file3.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/node_modules/module2/index.ts'. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (7) diff --git a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js index 933858cf3a245..3ff8a896b1875 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/not-sharing-across-references.js @@ -103,11 +103,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/common/tsconfig.json : Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/common/tsconfig.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Config: /users/username/projects/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Config: /users/username/projects/common/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] File '/users/username/projects/app/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] ======== Resolving module 'moduleX' from '/users/username/projects/app/appA.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'moduleX' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -122,29 +117,13 @@ Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/ind Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/users/username/projects/node_modules/moduleX/index.d.ts', result '/users/username/projects/node_modules/moduleX/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'moduleX' was successfully resolved to '/users/username/projects/node_modules/moduleX/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] File '/users/username/projects/app/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '../common/moduleB' from '/users/username/projects/app/appB.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/users/username/projects/common/moduleB', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File '/users/username/projects/common/moduleB.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../common/moduleB' was successfully resolved to '/users/username/projects/common/moduleB.ts'. ======== -Info seq [hh:mm:ss:mss] File '/users/username/projects/common/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/common/moduleB.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'moduleX' from '/users/username/projects/common/moduleB.ts'. ======== Info seq [hh:mm:ss:mss] Using compiler options of project reference redirect '/users/username/projects/common/tsconfig.json'. @@ -161,18 +140,12 @@ Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/ind Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/users/username/projects/node_modules/moduleX/index.d.ts', result '/users/username/projects/node_modules/moduleX/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'moduleX' was successfully resolved to '/users/username/projects/node_modules/moduleX/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/moduleX/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/app/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/common/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/app/tsconfig.json' (Configured) @@ -324,18 +297,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/app/node_modules: *new* {"pollingInterval":500} -/users/username/projects/app/package.json: *new* - {"pollingInterval":2000} /users/username/projects/common/node_modules: *new* {"pollingInterval":500} -/users/username/projects/common/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/node_modules/moduleX/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/node_modules/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/app/appA.ts: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js index af8115afd925e..1fced67fc6b7b 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js +++ b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js @@ -39,8 +39,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/tem Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -76,16 +74,12 @@ PolledWatches:: {"pollingInterval":500} /a/b/projects/node_modules/@types: *new* {"pollingInterval":500} -/a/b/projects/package.json: *new* - {"pollingInterval":2000} /a/b/projects/temp/jsconfig.json: *new* {"pollingInterval":2000} /a/b/projects/temp/node_modules: *new* {"pollingInterval":500} /a/b/projects/temp/node_modules/@types: *new* {"pollingInterval":500} -/a/b/projects/temp/package.json: *new* - {"pollingInterval":2000} /a/b/projects/temp/tsconfig.json: *new* {"pollingInterval":2000} @@ -245,12 +239,8 @@ PolledWatches:: {"pollingInterval":500} /a/b/projects/node_modules/@types: {"pollingInterval":500} -/a/b/projects/package.json: - {"pollingInterval":2000} /a/b/projects/temp/jsconfig.json: {"pollingInterval":2000} -/a/b/projects/temp/package.json: - {"pollingInterval":2000} /a/b/projects/temp/tsconfig.json: {"pollingInterval":2000} @@ -286,9 +276,6 @@ Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earli Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules/@types/pad/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /a/b/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /a/b/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -313,18 +300,8 @@ After running Timeout callback:: count: 1 PolledWatches:: /a/b/projects/node_modules/@types: {"pollingInterval":500} -/a/b/projects/package.json: - {"pollingInterval":2000} /a/b/projects/temp/jsconfig.json: {"pollingInterval":2000} -/a/b/projects/temp/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/a/b/projects/temp/node_modules/@types/pad/package.json: *new* - {"pollingInterval":2000} -/a/b/projects/temp/node_modules/package.json: *new* - {"pollingInterval":2000} -/a/b/projects/temp/package.json: - {"pollingInterval":2000} /a/b/projects/temp/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js index 07f77e76dc930..9b88be968ca67 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js +++ b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-different-folders.js @@ -84,19 +84,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/file4.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/file3.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module './module1' from '/user/username/projects/myproject/product/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, Declaration. @@ -107,21 +94,6 @@ Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10' Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '../module1' from '/user/username/projects/myproject/product/src/feature/file2.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, Declaration. @@ -132,13 +104,6 @@ Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10' Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '../src/module1}' from '/user/username/projects/myproject/product/test/file4.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1}', target file types: TypeScript, Declaration. @@ -158,14 +123,6 @@ Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10' Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '../../src/module1' from '/user/username/projects/myproject/product/test/src/file3.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/src/module1', target file types: TypeScript, Declaration. @@ -176,17 +133,7 @@ Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10' Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/product/module2', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../../module2' was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/feature/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/test/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -305,22 +252,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/src/feature/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/test/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/product/test/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -449,106 +382,14 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module './module1' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '../module2' from '/user/username/projects/myproject/product/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/feature/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '../module1' from '/user/username/projects/myproject/product/src/feature/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '../../module2' from '/user/username/projects/myproject/product/src/feature/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '../src/module1}' from '/user/username/projects/myproject/product/test/file4.ts' of old program, it was not resolved. Info seq [hh:mm:ss:mss] Reusing resolution of module '../module2' from '/user/username/projects/myproject/product/test/file4.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/product/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module '../../src/module1' from '/user/username/projects/myproject/product/test/src/file3.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/src/module1.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '../../module2' from '/user/username/projects/myproject/product/test/src/file3.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/product/module2.ts'. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (7) diff --git a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js index 1f193d99f17a0..4400aafc9ef28 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js +++ b/tests/baselines/reference/tsserver/resolutionCache/relative-module-name-from-files-in-same-folder.js @@ -74,17 +74,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/project Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/file2.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/module1.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module './module1' from '/user/username/projects/myproject/src/file1.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/module1', target file types: TypeScript, Declaration. @@ -95,31 +84,13 @@ Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10' Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/user/username/projects/myproject/module2', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/module2.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/module2.ts'. ======== -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module './module1' from '/user/username/projects/myproject/src/file2.ts'. ======== Info seq [hh:mm:ss:mss] Resolution for module './module1' was found in cache from location '/user/username/projects/myproject/src'. Info seq [hh:mm:ss:mss] ======== Module name './module1' was successfully resolved to '/user/username/projects/myproject/src/module1.ts'. ======== Info seq [hh:mm:ss:mss] ======== Resolving module '../module2' from '/user/username/projects/myproject/src/file2.ts'. ======== Info seq [hh:mm:ss:mss] Resolution for module '../module2' was found in cache from location '/user/username/projects/myproject/src'. Info seq [hh:mm:ss:mss] ======== Module name '../module2' was successfully resolved to '/user/username/projects/myproject/module2.ts'. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -229,14 +200,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -327,62 +292,10 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module './module1' from '/user/username/projects/myproject/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/module1.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '../module2' from '/user/username/projects/myproject/src/file1.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/module2.ts'. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of module './module1' from '/user/username/projects/myproject/src/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/module1.ts'. Info seq [hh:mm:ss:mss] Reusing resolution of module '../module2' from '/user/username/projects/myproject/src/file2.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/module2.ts'. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) diff --git a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js index 6a41347e026e6..08371ada061f9 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js +++ b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-configured-projects.js @@ -46,8 +46,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -192,12 +190,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project/moduleFile.ts: *new* @@ -340,14 +334,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/moduleFile: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -526,12 +516,8 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile: diff --git a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js index 5b333b0cd77dd..027f1b1a2edc1 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js +++ b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js @@ -22,8 +22,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projec Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -60,14 +58,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/tsconfig.json: *new* {"pollingInterval":2000} @@ -194,16 +188,12 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/jsconfig.json: {"pollingInterval":2000} /users/username/projects/project/moduleFile: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} /users/username/projects/project/tsconfig.json: {"pollingInterval":2000} @@ -386,14 +376,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/jsconfig.json: {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} /users/username/projects/project/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js index caf7c0647c513..95765caee4695 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js +++ b/tests/baselines/reference/tsserver/resolutionCache/sharing-across-references.js @@ -101,11 +101,6 @@ Info seq [hh:mm:ss:mss] Config: /users/username/projects/common/tsconfig.json : Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/common/tsconfig.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Config: /users/username/projects/common/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common 1 undefined Config: /users/username/projects/common/tsconfig.json WatchType: Wild card directory -Info seq [hh:mm:ss:mss] File '/users/username/projects/app/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] ======== Resolving module 'moduleX' from '/users/username/projects/app/appA.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'moduleX' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -120,29 +115,13 @@ Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/ind Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/users/username/projects/node_modules/moduleX/index.d.ts', result '/users/username/projects/node_modules/moduleX/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'moduleX' was successfully resolved to '/users/username/projects/node_modules/moduleX/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/moduleX/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/username/projects/node_modules/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] File '/users/username/projects/app/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '../common/moduleB' from '/users/username/projects/app/appB.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/users/username/projects/common/moduleB', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File '/users/username/projects/common/moduleB.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '../common/moduleB' was successfully resolved to '/users/username/projects/common/moduleB.ts'. ======== -Info seq [hh:mm:ss:mss] File '/users/username/projects/common/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/users/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/users/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/common/moduleB.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving module 'moduleX' from '/users/username/projects/common/moduleB.ts'. ======== Info seq [hh:mm:ss:mss] Using compiler options of project reference redirect '/users/username/projects/common/tsconfig.json'. @@ -152,18 +131,12 @@ Info seq [hh:mm:ss:mss] Searching all ancestor node_modules directories for pre Info seq [hh:mm:ss:mss] Directory '/users/username/projects/common/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Resolution for module 'moduleX' was found in cache from location '/users/username/projects'. Info seq [hh:mm:ss:mss] ======== Module name 'moduleX' was successfully resolved to '/users/username/projects/node_modules/moduleX/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/common/node_modules 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/moduleX/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/app/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/common/package.json 2000 undefined Project: /users/username/projects/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules/@types 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/app/node_modules/@types 1 undefined Project: /users/username/projects/app/tsconfig.json WatchType: Type roots @@ -320,20 +293,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/app/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/app/package.json: *new* - {"pollingInterval":2000} /users/username/projects/common/node_modules: *new* {"pollingInterval":500} -/users/username/projects/common/package.json: *new* - {"pollingInterval":2000} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/node_modules/moduleX/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/node_modules/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/app/appA.ts: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js b/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js index 7e27e17338910..f9b8a87a3205c 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js +++ b/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js @@ -22,8 +22,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/moduleFile 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -57,16 +55,12 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/jsconfig.json: *new* {"pollingInterval":2000} /users/username/projects/project/moduleFile: *new* {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} /users/username/projects/project/tsconfig.json: *new* {"pollingInterval":2000} @@ -214,14 +208,10 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} /users/username/projects/project/jsconfig.json: {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} -/users/username/projects/project/package.json: - {"pollingInterval":2000} /users/username/projects/project/tsconfig.json: {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js index d0d1b9d634eb1..449264609777e 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolution-fails.js @@ -117,10 +117,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects 0 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/somefolder/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/typings 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/typings 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -229,20 +225,12 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/somefolder: *new* {"pollingInterval":500} /user/username/projects/myproject/src/node_modules: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/somefolder/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/somefolder: *new* {"pollingInterval":500} /user/username/somefolder: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js b/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js index 9ac76c24ea6ac..699702ebd80fb 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-resolves-to-ambient-module.js @@ -120,10 +120,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/typings 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/typings 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/somefolder/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/typings 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/typings 1 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -235,20 +231,12 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/somefolder: *new* {"pollingInterval":500} /user/username/projects/myproject/src/node_modules: *new* {"pollingInterval":500} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/somefolder/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} /user/username/projects/somefolder: *new* {"pollingInterval":500} /user/username/somefolder: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js index d12d8fbeed6da..174e7c1edea94 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-as-part-of-wild-card-directories-in-config-project.js @@ -62,10 +62,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/somemodule/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -163,16 +159,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/somemodule/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js index 05f7b99e53fcf..12aa2c7707e2a 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js @@ -39,10 +39,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/somemodule/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -81,18 +77,10 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/somemodule/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js b/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js index 03db295463ca0..92c8529945fd6 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js +++ b/tests/baselines/reference/tsserver/resolutionCache/works-correctly-when-typings-are-added-or-removed.js @@ -53,11 +53,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types/lib1/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Type roots @@ -201,16 +196,6 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types/lib1/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} FsWatches:: /users/username/projects/project/tsconfig.json: *new* @@ -288,11 +273,6 @@ Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/node_modules/@types/lib1/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/node_modules/@types/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/node_modules/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (1) @@ -404,18 +384,6 @@ PolledWatches:: /users/username/projects/node_modules/@types: {"pollingInterval":500} -PolledWatches *deleted*:: -/users/username/projects/package.json: - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types/lib1/package.json: - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types/package.json: - {"pollingInterval":2000} -/users/username/projects/project/node_modules/package.json: - {"pollingInterval":2000} -/users/username/projects/project/package.json: - {"pollingInterval":2000} - FsWatches:: /users/username/projects/project/tsconfig.json: {} @@ -481,11 +449,6 @@ Projects:: Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types/lib2/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -530,36 +493,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/a/lib/lib.d.ts: - {"pollingInterval":500} -/users/username/projects/node_modules: - {"pollingInterval":500} -/users/username/projects/node_modules/@types: - {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types/lib2/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/node_modules/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/project/package.json: *new* - {"pollingInterval":2000} - -FsWatches:: -/users/username/projects/project/tsconfig.json: - {} - -FsWatchesRecursive:: -/users/username/projects/project: - {} -/users/username/projects/project/node_modules: - {} -/users/username/projects/project/node_modules/@types: - {} - Timeout callback:: count: 0 14: /users/username/projects/project/tsconfig.jsonFailedLookupInvalidation *deleted* diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js index fe02ca0fb927b..59b3abc7b78d4 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-compiles-from-sources.js @@ -81,13 +81,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots @@ -190,36 +183,22 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/myproject/javascript/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/javascript/packages/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /users/username/projects/node_modules: *new* {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -367,34 +346,20 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/myproject/javascript/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules: {"pollingInterval":500} /users/username/projects/myproject/javascript/packages/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/node_modules: {"pollingInterval":500} /users/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/package.json: - {"pollingInterval":2000} /users/username/projects/node_modules: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules: @@ -438,8 +403,6 @@ Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -498,32 +461,14 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/myproject/javascript/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/package.json: - {"pollingInterval":2000} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/myproject/javascript/node_modules: diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js index 6553199a4fbc4..cea821cfa3e6c 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js @@ -85,13 +85,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots @@ -194,34 +187,20 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/myproject/javascript/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/javascript/packages/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /users/username/projects/node_modules: *new* {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -391,8 +370,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@microsoft/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@microsoft/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -453,32 +430,14 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/myproject/javascript/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/package.json: - {"pollingInterval":2000} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/myproject/javascript/node_modules: diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js index f8d8ae040c15d..5da7424475103 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-when-project-recompiles-after-deleting-generated-folders.js @@ -79,15 +79,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots @@ -191,32 +182,14 @@ After request PolledWatches:: /users/username/projects/myproject/javascript/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -383,8 +356,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -434,40 +405,20 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/myproject/javascript/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/javascript/packages/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/package.json: - {"pollingInterval":2000} /users/username/projects/node_modules: *new* {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -650,8 +601,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@microsoft/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@microsoft/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -712,32 +661,14 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/myproject/javascript/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/package.json: - {"pollingInterval":2000} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/myproject/javascript/node_modules: diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js index 7821d90ab5b44..f8ba1a4a08ca2 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-compiles-from-sources.js @@ -103,13 +103,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots @@ -216,36 +209,22 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/myproject/javascript/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/javascript/packages/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /users/username/projects/node_modules: *new* {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -411,34 +390,20 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/myproject/javascript/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules: {"pollingInterval":500} /users/username/projects/myproject/javascript/packages/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/node_modules: {"pollingInterval":500} /users/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/package.json: - {"pollingInterval":2000} /users/username/projects/node_modules: {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules: @@ -487,8 +452,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -553,32 +516,14 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/myproject/javascript/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/package.json: - {"pollingInterval":2000} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/myproject/javascript/node_modules: diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js index 7c2c2f898b2a1..92a8227ad6a59 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-has-node_modules-setup-but-doesnt-have-modules-in-typings-folder-and-then-recompiles.js @@ -106,13 +106,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots @@ -219,34 +212,20 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/myproject/javascript/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/javascript/packages/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /users/username/projects/node_modules: *new* {"pollingInterval":500} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -429,8 +408,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/recognizers-text.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -497,32 +474,14 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/myproject/javascript/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/package.json: - {"pollingInterval":2000} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/myproject/javascript/node_modules: diff --git a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js index 96975039f60b6..3d08b4447f16e 100644 --- a/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js +++ b/tests/baselines/reference/tsserver/symLinks/module-resolution-with-path-mapping-when-project-recompiles-after-deleting-generated-folders.js @@ -94,15 +94,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 un Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages 0 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/node_modules/@types 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Type roots @@ -210,32 +201,14 @@ After request PolledWatches:: /users/username/projects/myproject/javascript/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -408,8 +381,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/myproject/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -459,40 +430,20 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/myproject/javascript/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/javascript/packages/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/node_modules: *new* {"pollingInterval":500} /users/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/package.json: - {"pollingInterval":2000} /users/username/projects/node_modules: *new* {"pollingInterval":500} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -688,8 +639,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-text 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src 1 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Failed Lookup Locations @@ -756,32 +705,14 @@ After running Timeout callback:: count: 0 PolledWatches:: /users/username/projects/myproject/javascript/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/package.json: - {"pollingInterval":2000} /users/username/projects/myproject/javascript/packages/recognizers-date-time/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-date-time/src/package.json: - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/myproject/javascript/packages/recognizers-text/dist/types/package.json: *new* - {"pollingInterval":2000} /users/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/users/username/projects/myproject/package.json: - {"pollingInterval":2000} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/myproject/javascript/node_modules: diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js index aa70b773a0970..63a7d616195ad 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-Linux.js @@ -126,8 +126,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -197,9 +195,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations @@ -214,8 +209,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots @@ -338,8 +331,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: *new* @@ -543,8 +534,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -597,13 +586,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -626,13 +608,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/ Info seq [hh:mm:ss:mss] 'package.json' does not have a 'peerDependencies' field. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/dist/package.json' does not exist. -Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -691,14 +667,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: @@ -886,14 +858,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package1/dist/index.d.ts: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -952,13 +920,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1027,12 +988,8 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1100,14 +1057,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/project/packages/package1/dist: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -1164,13 +1117,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1240,9 +1186,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1445,8 +1388,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/project/packages/package1/dist/index.d.ts: @@ -1517,8 +1458,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -1573,13 +1512,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1602,12 +1534,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/ Info seq [hh:mm:ss:mss] 'package.json' does not have a 'peerDependencies' field. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 5 projectProgramVersion: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -1666,14 +1592,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js index a9f20884ab1af..05a2b13da797e 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built-Linux.js @@ -136,8 +136,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -160,12 +158,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/ Info seq [hh:mm:ss:mss] 'package.json' does not have a 'peerDependencies' field. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/dist/package.json' does not exist. -Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations @@ -178,9 +171,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots @@ -300,14 +290,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: *new* @@ -490,14 +476,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package1/dist/index.d.ts: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -556,13 +538,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -631,12 +606,8 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -707,14 +678,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/project/packages/package1/dist: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -771,13 +738,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -847,9 +807,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1052,8 +1009,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/project/packages/package1/dist/index.d.ts: @@ -1124,8 +1079,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -1180,13 +1133,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1209,12 +1155,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/ Info seq [hh:mm:ss:mss] 'package.json' does not have a 'peerDependencies' field. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -1273,14 +1213,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js index 307b63d2e24dc..a7268d5a5f2d8 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked-package1-built.js @@ -136,8 +136,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -160,12 +158,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/ Info seq [hh:mm:ss:mss] 'package.json' does not have a 'peerDependencies' field. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/dist/package.json' does not exist. -Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations @@ -178,9 +171,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/node_modules/package1 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots @@ -300,14 +290,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: *new* {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: *new* @@ -511,13 +497,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -587,12 +566,8 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -652,12 +627,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/home/src/projects/project/packages/package1/dist/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -887,13 +856,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -916,12 +878,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/ Info seq [hh:mm:ss:mss] 'package.json' does not have a 'peerDependencies' field. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -980,14 +936,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js index 82e374ceb4e7f..d1d34126e1e0a 100644 --- a/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js +++ b/tests/baselines/reference/tsserver/symLinks/monorepo-style-sibling-packages-symlinked.js @@ -126,8 +126,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/project/packages/package2/ts Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2 1 undefined Config: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package2/package.json'. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -197,9 +195,6 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations @@ -214,8 +209,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /ho Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/src/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package2/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/node_modules/@types 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Type roots @@ -338,8 +331,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: *new* {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: *new* @@ -548,13 +539,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -577,13 +561,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/ Info seq [hh:mm:ss:mss] 'package.json' does not have a 'peerDependencies' field. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/dist/package.json' does not exist. -Info seq [hh:mm:ss:mss] Found 'package.json' at '/home/src/projects/project/packages/package1/package.json'. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -642,14 +620,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: @@ -862,13 +836,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -938,12 +905,8 @@ Info seq [hh:mm:ss:mss] Directory '/home/src/node_modules' does not exist, skip Info seq [hh:mm:ss:mss] Directory '/home/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] Directory '/node_modules' does not exist, skipping all lookups in it. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was not resolved. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/project/packages/package2/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -1003,12 +966,6 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/home/src/projects/project/packages/package1/dist/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.es2016.full.d.ts: @@ -1238,13 +1195,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /home/src/projects/project/packages/package2/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package2/package.json' exists according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'package1' from '/home/src/projects/project/packages/package2/src/index.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] Loading module 'package1' from 'node_modules' folder, target file types: TypeScript, Declaration. @@ -1267,12 +1217,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/project/node_modules/package1/ Info seq [hh:mm:ss:mss] 'package.json' does not have a 'peerDependencies' field. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/project/node_modules/package1/dist/index.d.ts', result '/home/src/projects/project/packages/package1/dist/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'package1' was successfully resolved to '/home/src/projects/project/packages/package1/dist/index.d.ts' with Package ID 'package1/dist/index.d.ts@1.0.0'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/dist/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/project/packages/package1/package.json' exists according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/project/packages/package1/dist/package.json 2000 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/node_modules 1 undefined Project: /home/src/projects/project/packages/package2/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/project/packages/package2/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -1331,14 +1275,10 @@ PolledWatches:: {"pollingInterval":500} /home/src/projects/project/packages/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package1/dist/package.json: *new* - {"pollingInterval":2000} /home/src/projects/project/packages/package2/node_modules: {"pollingInterval":500} /home/src/projects/project/packages/package2/node_modules/@types: {"pollingInterval":500} -/home/src/projects/project/packages/package2/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /home/src/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js b/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js index d4983a4e6b9d2..120e452b93952 100644 --- a/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js +++ b/tests/baselines/reference/tsserver/symLinks/rename-in-common-file-renames-all-project.js @@ -78,9 +78,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/a/c/fc.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/a/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/c/package.json 2000 undefined Project: /users/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/a/package.json 2000 undefined Project: /users/username/projects/a/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/a/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/a/node_modules/@types 1 undefined Project: /users/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/a/node_modules/@types 1 undefined Project: /users/username/projects/a/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/a/tsconfig.json WatchType: Type roots @@ -181,14 +178,8 @@ After request PolledWatches:: /users/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/a/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/c/package.json: *new* - {"pollingInterval":2000} /users/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -260,9 +251,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/p Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/b 1 undefined Config: /users/username/projects/b/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/b/c/fc.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/b/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/c/package.json 2000 undefined Project: /users/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/b/package.json 2000 undefined Project: /users/username/projects/b/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/package.json 2000 undefined Project: /users/username/projects/b/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/b/node_modules/@types 1 undefined Project: /users/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/b/node_modules/@types 1 undefined Project: /users/username/projects/b/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /users/username/projects/b/tsconfig.json WatchType: Type roots @@ -369,18 +357,10 @@ After request PolledWatches:: /users/username/projects/a/node_modules/@types: {"pollingInterval":500} -/users/username/projects/a/package.json: - {"pollingInterval":2000} /users/username/projects/b/node_modules/@types: *new* {"pollingInterval":500} -/users/username/projects/b/package.json: *new* - {"pollingInterval":2000} -/users/username/projects/c/package.json: - {"pollingInterval":2000} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -469,18 +449,10 @@ After request PolledWatches:: /users/username/projects/a/node_modules/@types: {"pollingInterval":500} -/users/username/projects/a/package.json: - {"pollingInterval":2000} /users/username/projects/b/node_modules/@types: {"pollingInterval":500} -/users/username/projects/b/package.json: - {"pollingInterval":2000} -/users/username/projects/c/package.json: - {"pollingInterval":2000} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -566,18 +538,10 @@ After request PolledWatches:: /users/username/projects/a/node_modules/@types: {"pollingInterval":500} -/users/username/projects/a/package.json: - {"pollingInterval":2000} /users/username/projects/b/node_modules/@types: {"pollingInterval":500} -/users/username/projects/b/package.json: - {"pollingInterval":2000} -/users/username/projects/c/package.json: - {"pollingInterval":2000} /users/username/projects/node_modules/@types: {"pollingInterval":500} -/users/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js index 75d67c1226992..9e528fc7891ff 100644 --- a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js +++ b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js @@ -60,9 +60,6 @@ Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-s Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/lib/core/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/lib/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -89,7 +86,6 @@ Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 depe Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -120,10 +116,6 @@ After request PolledWatches:: C:/a/lib/lib.d.ts: *new* {"pollingInterval":500} -C:/temp/replay/axios-src/lib/core/package.json: *new* - {"pollingInterval":2000} -C:/temp/replay/axios-src/lib/package.json: *new* - {"pollingInterval":2000} c:/temp/node_modules/@types: *new* {"pollingInterval":500} c:/temp/replay/axios-src/jsconfig.json: *new* @@ -152,9 +144,7 @@ c:/temp/replay/tsconfig.json: *new* {"pollingInterval":2000} FsWatches:: -C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: *new* - {} -C:/temp/replay/axios-src/package.json: *new* +c:/temp/replay/axios-src/package.json: *new* {} FsWatchesRecursive:: @@ -266,9 +256,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/node_modules 1 undefined Project: /dev/null/inferredProject2* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/lib/core/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/lib/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/package.json 2000 undefined Project: /dev/null/inferredProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject2* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules/@types 1 undefined Project: /dev/null/inferredProject2* WatchType: Type roots @@ -313,12 +300,6 @@ Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject1*' (AutoIm Info seq [hh:mm:ss:mss] Files (1) Info seq [hh:mm:ss:mss] ----------------------------------------------- -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: C:/temp/replay/axios-src/lib/core/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: C:/temp/replay/axios-src/lib/core/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: C:/temp/replay/axios-src/lib/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: C:/temp/replay/axios-src/lib/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: C:/temp/replay/axios-src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: C:/temp/replay/axios-src/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: c:/temp/replay/axios-src/lib/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -330,8 +311,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: c:/ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: c:/temp/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: C:/a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json 2000 undefined Project: /dev/null/autoImportProviderProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject2*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -350,10 +329,6 @@ After request PolledWatches:: C:/a/lib/lib.d.ts: {"pollingInterval":500} -C:/temp/replay/axios-src/lib/core/package.json: - {"pollingInterval":2000} -C:/temp/replay/axios-src/lib/package.json: - {"pollingInterval":2000} c:/temp/node_modules: *new* {"pollingInterval":500} c:/temp/node_modules/@types: @@ -394,14 +369,14 @@ c:/temp/replay/tsconfig.json: {"pollingInterval":2000} FsWatches:: -C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: - {} -C:/temp/replay/axios-src/package.json: +C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: *new* {} c:/temp/replay/axios-src/lib/core: *new* {} c:/temp/replay/axios-src/lib/core/settle.js: *new* {} +c:/temp/replay/axios-src/package.json: + {} FsWatchesRecursive:: c:/temp/replay/axios-src/node_modules: @@ -460,9 +435,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/ax Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/AxiosHeaders.js 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core 0 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/lib/core/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/lib/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/package.json 2000 undefined Project: /dev/null/inferredProject3* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject3* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/node_modules/@types 1 undefined Project: /dev/null/inferredProject3* WatchType: Type roots @@ -489,7 +461,6 @@ Info seq [hh:mm:ss:mss] Files (2) Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] AutoImportProviderProject: found 1 root files in 1 dependencies 0 referenced projects in * ms Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/autoImportProviderProject2* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json 2000 undefined Project: /dev/null/autoImportProviderProject2* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/autoImportProviderProject2* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/autoImportProviderProject2*' (AutoImportProvider) Info seq [hh:mm:ss:mss] Files (1) @@ -599,10 +570,6 @@ After request PolledWatches:: C:/a/lib/lib.d.ts: {"pollingInterval":500} -C:/temp/replay/axios-src/lib/core/package.json: - {"pollingInterval":2000} -C:/temp/replay/axios-src/lib/package.json: - {"pollingInterval":2000} c:/temp/node_modules: {"pollingInterval":500} c:/temp/node_modules/@types: @@ -645,14 +612,14 @@ c:/temp/replay/tsconfig.json: FsWatches:: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: {} -C:/temp/replay/axios-src/package.json: - {} c:/temp/replay/axios-src/lib/core: {} c:/temp/replay/axios-src/lib/core/AxiosHeaders.js: *new* {} c:/temp/replay/axios-src/lib/core/settle.js: {} +c:/temp/replay/axios-src/package.json: + {} FsWatchesRecursive:: c:/temp/replay/axios-src/node_modules: @@ -749,10 +716,6 @@ After request PolledWatches:: C:/a/lib/lib.d.ts: {"pollingInterval":500} -C:/temp/replay/axios-src/lib/core/package.json: - {"pollingInterval":2000} -C:/temp/replay/axios-src/lib/package.json: - {"pollingInterval":2000} c:/temp/node_modules: {"pollingInterval":500} c:/temp/node_modules/@types: @@ -795,12 +758,12 @@ c:/temp/replay/tsconfig.json: FsWatches:: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: {} -C:/temp/replay/axios-src/package.json: - {} c:/temp/replay/axios-src/lib/core: {} c:/temp/replay/axios-src/lib/core/AxiosHeaders.js: {} +c:/temp/replay/axios-src/package.json: + {} FsWatches *deleted*:: c:/temp/replay/axios-src/lib/core/settle.js: diff --git a/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js b/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js index 931095638b392..9410f3d6ee2ed 100644 --- a/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js +++ b/tests/baselines/reference/tsserver/symlinkCache/contains-symlinks-discovered-by-project-references-resolution-after-program-creation.js @@ -96,7 +96,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/app/dep Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/app/dep 1 undefined Project: /packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /packages/app/src 1 undefined Project: /packages/app/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /packages/app/src 1 undefined Project: /packages/app/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /packages/app/src/package.json 2000 undefined Project: /packages/app/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /packages/app/tsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /packages/app/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/packages/app/tsconfig.json' (Configured) @@ -266,8 +265,6 @@ PolledWatches:: {"pollingInterval":500} /packages/app/dep: *new* {"pollingInterval":500} -/packages/app/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /packages/app/tsconfig.json: *new* diff --git a/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js b/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js index efc8c2a2ba8f6..660d034a05565 100644 --- a/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js +++ b/tests/baselines/reference/tsserver/syntaxOperations/file-is-removed-and-added-with-different-content.js @@ -217,8 +217,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -271,14 +269,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -346,14 +340,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -563,8 +553,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -618,12 +606,8 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/node_modules: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -678,8 +662,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -732,14 +714,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -807,14 +785,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/tsserver/configDir-template.js b/tests/baselines/reference/tsserver/tsserver/configDir-template.js index ace5db526f7e9..31978659a3e9a 100644 --- a/tests/baselines/reference/tsserver/tsserver/configDir-template.js +++ b/tests/baselines/reference/tsserver/tsserver/configDir-template.js @@ -179,11 +179,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Config: /home/src/projects/myproject/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/main.ts 500 {"excludeDirectories":["/home/src/projects/myproject/node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. @@ -193,19 +188,7 @@ Info seq [hh:mm:ss:mss] Trying substitution '/home/src/projects/myproject/types Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/types/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/types/sometype.ts 500 {"excludeDirectories":["/home/src/projects/myproject/node_modules"]} WatchType: Closed Script info -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/src/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. @@ -227,18 +210,7 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/sometype Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/index.d.ts', result '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'other/sometype2' was successfully resolved to '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/other/sometype2/index.d.ts 500 {"excludeDirectories":["/home/src/projects/myproject/node_modules"]} WatchType: Closed Script info -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {"excludeDirectories":["/home/src/projects/myproject/node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/other 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/other 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -251,13 +223,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/project Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/configs 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/types/package.json 2000 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/package.json 2000 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/package.json 2000 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/other/sometype2/package.json 2000 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/other/package.json 2000 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/root2/package.json 2000 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/projects/myproject/src/package.json 2000 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/home/src/projects/myproject/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (5) @@ -370,22 +335,8 @@ After request PolledWatches:: /home/src/projects/myproject/other: *new* {"pollingInterval":500} -/home/src/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/root2/other/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/root2/other/sometype2/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/root2/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} -/home/src/projects/myproject/types/package.json: *new* - {"pollingInterval":2000} /home/src/projects/node_modules: *new* {"pollingInterval":500} -/home/src/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -514,11 +465,6 @@ Info seq [hh:mm:ss:mss] Config: /home/src/projects/myproject/tsconfig.json : { } } Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module '@myscope/sometype' from '/home/src/projects/myproject/main.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name '@myscope/sometype'. @@ -528,18 +474,6 @@ Info seq [hh:mm:ss:mss] Trying substitution '/home/src/projects/myproject/types Info seq [hh:mm:ss:mss] Loading module as file / folder, candidate module location '/home/src/projects/myproject/types/sometype', target file types: TypeScript, Declaration. Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/types/sometype.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] ======== Module name '@myscope/sometype' was successfully resolved to '/home/src/projects/myproject/types/sometype.ts'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/types/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] ======== Resolving module 'other/sometype2' from '/home/src/projects/myproject/src/secondary.ts'. ======== Info seq [hh:mm:ss:mss] Module resolution kind is not specified, using 'Node10'. Info seq [hh:mm:ss:mss] 'baseUrl' option is set to '/home/src/projects/myproject', using this value to resolve non-relative module name 'other/sometype2'. @@ -560,17 +494,6 @@ Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/sometype Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/sometype2/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/home/src/projects/myproject/root2/other/sometype2/index.d.ts', result '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Module name 'other/sometype2' was successfully resolved to '/home/src/projects/myproject/root2/other/sometype2/index.d.ts'. ======== -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/sometype2/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/other/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/root2/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/src/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/home/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/configs 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/projects/configs 1 {"excludeDirectories":["/home/src/projects/myproject/node_modules"],"excludeFiles":["/home/src/projects/myproject/main.ts"]} Project: /home/src/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -637,22 +560,8 @@ After running Timeout callback:: count: 0 PolledWatches:: /home/src/projects/myproject/other: {"pollingInterval":500} -/home/src/projects/myproject/package.json: - {"pollingInterval":2000} -/home/src/projects/myproject/root2/other/package.json: - {"pollingInterval":2000} -/home/src/projects/myproject/root2/other/sometype2/package.json: - {"pollingInterval":2000} -/home/src/projects/myproject/root2/package.json: - {"pollingInterval":2000} -/home/src/projects/myproject/src/package.json: - {"pollingInterval":2000} -/home/src/projects/myproject/types/package.json: - {"pollingInterval":2000} /home/src/projects/node_modules: {"pollingInterval":500} -/home/src/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/tsserver/resolves-the-symlink-path.js b/tests/baselines/reference/tsserver/tsserver/resolves-the-symlink-path.js index 65b81a92375a7..c258fdf4760d0 100644 --- a/tests/baselines/reference/tsserver/tsserver/resolves-the-symlink-path.js +++ b/tests/baselines/reference/tsserver/tsserver/resolves-the-symlink-path.js @@ -79,9 +79,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/proje Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src 1 undefined Config: /users/user/projects/myproject/src/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/user/projects/myproject/src/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src/package.json 2000 undefined Project: /users/user/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/myproject/package.json 2000 undefined Project: /users/user/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/user/projects/package.json 2000 undefined Project: /users/user/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src/node_modules/@types 1 undefined Project: /users/user/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/src/node_modules/@types 1 undefined Project: /users/user/projects/myproject/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/user/projects/myproject/node_modules/@types 1 undefined Project: /users/user/projects/myproject/src/tsconfig.json WatchType: Type roots @@ -182,16 +179,10 @@ After request PolledWatches:: /users/user/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/users/user/projects/myproject/package.json: *new* - {"pollingInterval":2000} /users/user/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} -/users/user/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /users/user/projects/node_modules/@types: *new* {"pollingInterval":500} -/users/user/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js b/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js index 97216d7bd6e27..c94f803c9128b 100644 --- a/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js +++ b/tests/baselines/reference/tsserver/typeAquisition/prefer-typings-in-second-pass.js @@ -59,9 +59,6 @@ Info seq [hh:mm:ss:mss] Config: /a/b/jsconfig.json : { Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/jsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/typings/node_modules/@types/bar/package.json 2000 undefined Project: /a/b/jsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/typings/node_modules/@types/package.json 2000 undefined Project: /a/b/jsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/typings/node_modules/package.json 2000 undefined Project: /a/b/jsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /a/b/jsconfig.json WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/b/jsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/a/b/jsconfig.json' (Configured) @@ -81,12 +78,6 @@ TI:: Creating typing installer PolledWatches:: /a/lib/lib.d.ts: *new* {"pollingInterval":500} -/a/typings/node_modules/@types/bar/package.json: *new* - {"pollingInterval":2000} -/a/typings/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/a/typings/node_modules/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/b/jsconfig.json: *new* @@ -360,12 +351,6 @@ PolledWatches:: {"pollingInterval":500} /a/lib/lib.d.ts: {"pollingInterval":500} -/a/typings/node_modules/@types/bar/package.json: - {"pollingInterval":2000} -/a/typings/node_modules/@types/package.json: - {"pollingInterval":2000} -/a/typings/node_modules/package.json: - {"pollingInterval":2000} FsWatches:: /a/b/jsconfig.json: diff --git a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js index c2873a5e4b24c..0e4b379d02b35 100644 --- a/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js +++ b/tests/baselines/reference/tsserver/typeReferenceDirectives/when-typeReferenceDirective-contains-UpperCasePackage.js @@ -95,12 +95,6 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/test/tsconfig Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test 1 undefined Config: /user/username/projects/myproject/test/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test 1 undefined Config: /user/username/projects/myproject/test/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/test/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist. Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'UpperCasePackage', containing file '/user/username/projects/myproject/test/__inferred type names__.ts', root directory '/user/username/projects/myproject/lib/@types,/user/username/projects/myproject/lib/@app'. ======== Info seq [hh:mm:ss:mss] Resolving with primary search path '/user/username/projects/myproject/lib/@types, /user/username/projects/myproject/lib/@app'. Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/UpperCasePackage.d.ts' does not exist. @@ -118,23 +112,7 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@app/lib/pa Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@app/lib/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/lib/@app/lib/index.d.ts', result '/user/username/projects/myproject/lib/@app/lib/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Type reference directive 'lib' was successfully resolved to '/user/username/projects/myproject/lib/@app/lib/index.d.ts', primary: true. ======== -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/UpperCasePackage/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@app/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@app/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/@app/lib/index.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] ======== Resolving type reference directive 'UpperCasePackage', containing file '/user/username/projects/myproject/lib/@app/lib/index.d.ts', root directory '/user/username/projects/myproject/lib/@types,/user/username/projects/myproject/lib/@app'. ======== Info seq [hh:mm:ss:mss] Resolving with primary search path '/user/username/projects/myproject/lib/@types, /user/username/projects/myproject/lib/@app'. @@ -143,9 +121,6 @@ Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/Uppe Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts' exists - use it as a name resolution result. Info seq [hh:mm:ss:mss] Resolving real path for '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts', result '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts'. Info seq [hh:mm:ss:mss] ======== Type reference directive 'UpperCasePackage' was successfully resolved to '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts', primary: true. ======== -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/@types 1 undefined Project: /user/username/projects/myproject/test/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/lib/@types 1 undefined Project: /user/username/projects/myproject/test/tsconfig.json WatchType: Type roots @@ -342,31 +317,6 @@ ScriptInfos:: Info seq [hh:mm:ss:mss] Running: /user/username/projects/myproject/test/tsconfig.json Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json -Info seq [hh:mm:ss:mss] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/a/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/test/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/UpperCasePackage/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@types/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@app/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/@app/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/lib/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/user/package.json' does not exist according to earlier cached lookups. -Info seq [hh:mm:ss:mss] File '/package.json' does not exist according to earlier cached lookups. Info seq [hh:mm:ss:mss] Reusing resolution of type reference directive 'UpperCasePackage' from '/user/username/projects/myproject/lib/@app/lib/index.d.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/lib/@types/UpperCasePackage/index.d.ts'. Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/test/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/test/tsconfig.json' (Configured) diff --git a/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js b/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js index 8d14775fb4df6..146fcccd514b3 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/install-typings-for-unresolved-imports.js @@ -327,11 +327,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/node/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/ember__component/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (4) @@ -444,24 +439,6 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 2 -PolledWatches:: -/a/b/bower_components: - {"pollingInterval":500} -/a/b/node_modules: - {"pollingInterval":500} -/a/cache/node_modules/@types/commander/package.json: *new* - {"pollingInterval":2000} -/a/cache/node_modules/@types/ember__component/package.json: *new* - {"pollingInterval":2000} -/a/cache/node_modules/@types/node/package.json: *new* - {"pollingInterval":2000} -/a/cache/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/a/cache/node_modules/package.json: *new* - {"pollingInterval":2000} -/a/lib/lib.d.ts: - {"pollingInterval":500} - Timeout callback:: count: 2 2: *ensureProjectForOpenFiles* *deleted* 3: /dev/null/inferredProject1* *new* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js index 6d13692454d46..e9f96881536e6 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions-with-trimmed-names.js @@ -25,8 +25,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/app.js ProjectRoo Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/fooo/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -44,10 +42,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer PolledWatches:: -/a/b/node_modules/fooo/package.json: *new* - {"pollingInterval":2000} -/a/b/node_modules/package.json: *new* - {"pollingInterval":2000} /a/lib/lib.d.ts: *new* {"pollingInterval":500} @@ -192,10 +186,6 @@ After request PolledWatches:: /a/b/bower_components: *new* {"pollingInterval":500} -/a/b/node_modules/fooo/package.json: - {"pollingInterval":2000} -/a/b/node_modules/package.json: - {"pollingInterval":2000} /a/lib/lib.d.ts: {"pollingInterval":500} @@ -339,8 +329,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/foo/a/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/foo/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (6) @@ -458,24 +446,6 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 2 -PolledWatches:: -/a/b/bower_components: - {"pollingInterval":500} -/a/b/node_modules/fooo/package.json: - {"pollingInterval":2000} -/a/b/node_modules/package.json: - {"pollingInterval":2000} -/a/lib/lib.d.ts: - {"pollingInterval":500} -/tmp/node_modules/foo/a/package.json: *new* - {"pollingInterval":2000} -/tmp/node_modules/foo/package.json: *new* - {"pollingInterval":2000} - -FsWatchesRecursive:: -/a/b/node_modules: - {} - Timeout callback:: count: 2 2: *ensureProjectForOpenFiles* *deleted* 3: /dev/null/inferredProject1* *new* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js index a1e998aadc0ca..4a446d75c8ca4 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/invalidate-the-resolutions.js @@ -21,8 +21,6 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /a/b/app.js ProjectRoo Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/fooo/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) @@ -40,10 +38,6 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- TI:: Creating typing installer PolledWatches:: -/a/b/node_modules/fooo/package.json: *new* - {"pollingInterval":2000} -/a/b/node_modules/package.json: *new* - {"pollingInterval":2000} /a/lib/lib.d.ts: *new* {"pollingInterval":500} @@ -188,10 +182,6 @@ After request PolledWatches:: /a/b/bower_components: *new* {"pollingInterval":500} -/a/b/node_modules/fooo/package.json: - {"pollingInterval":2000} -/a/b/node_modules/package.json: - {"pollingInterval":2000} /a/lib/lib.d.ts: {"pollingInterval":500} @@ -326,7 +316,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tmp/node_modules/foo/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (3) @@ -436,22 +425,6 @@ Info seq [hh:mm:ss:mss] event: TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery After running Timeout callback:: count: 2 -PolledWatches:: -/a/b/bower_components: - {"pollingInterval":500} -/a/b/node_modules/fooo/package.json: - {"pollingInterval":2000} -/a/b/node_modules/package.json: - {"pollingInterval":2000} -/a/lib/lib.d.ts: - {"pollingInterval":500} -/tmp/node_modules/foo/package.json: *new* - {"pollingInterval":2000} - -FsWatchesRecursive:: -/a/b/node_modules: - {} - Timeout callback:: count: 2 2: *ensureProjectForOpenFiles* *deleted* 3: /dev/null/inferredProject1* *new* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js b/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js index 369b2b37d2b5f..0b15b2ba2bcaf 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/malformed-packagejson.js @@ -394,9 +394,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -535,24 +532,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/a/b/bower_components: - {"pollingInterval":500} -/a/b/node_modules: - {"pollingInterval":500} -/a/cache/node_modules/@types/commander/package.json: *new* - {"pollingInterval":2000} -/a/cache/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/a/cache/node_modules/package.json: *new* - {"pollingInterval":2000} -/a/lib/lib.d.ts: - {"pollingInterval":500} - -FsWatches:: -/a/b/package.json: - {} - Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js index a3939b8d6fb97..ced4ca38449c4 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/progress-notification.js @@ -309,9 +309,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -450,24 +447,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/a/bower_components: - {"pollingInterval":500} -/a/cache/node_modules/@types/commander/package.json: *new* - {"pollingInterval":2000} -/a/cache/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/a/cache/node_modules/package.json: *new* - {"pollingInterval":2000} -/a/lib/lib.d.ts: - {"pollingInterval":500} -/a/node_modules: - {"pollingInterval":500} - -FsWatches:: -/a/package.json: - {} - Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js index ce9bd39122667..fef5b74349e6e 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js @@ -32,11 +32,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/b/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /dev/null/inferredProject1* WatchType: Missing file Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/b/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -68,8 +63,6 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/a/b/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/b/package.json: *new* - {"pollingInterval":2000} /user/username/projects/a/b/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/a/jsconfig.json: *new* @@ -78,18 +71,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/a/package.json: *new* - {"pollingInterval":2000} /user/username/projects/a/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/node_modules/commander/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatchesRecursive:: /user/username/projects/node_modules: *new* @@ -238,8 +223,6 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/a/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/a/b/package.json: - {"pollingInterval":2000} /user/username/projects/a/b/tsconfig.json: {"pollingInterval":2000} /user/username/projects/a/jsconfig.json: @@ -248,18 +231,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/a/package.json: - {"pollingInterval":2000} /user/username/projects/a/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/node_modules/commander/package.json: - {"pollingInterval":2000} -/user/username/projects/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatchesRecursive:: /user/username/projects/node_modules: @@ -388,8 +363,6 @@ Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/cache/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/a/cache/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -505,8 +478,6 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/a/b/node_modules/@types: {"pollingInterval":500} -/user/username/projects/a/b/package.json: - {"pollingInterval":2000} /user/username/projects/a/b/tsconfig.json: {"pollingInterval":2000} /user/username/projects/a/jsconfig.json: @@ -515,20 +486,10 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/a/node_modules/@types: {"pollingInterval":500} -/user/username/projects/a/package.json: - {"pollingInterval":2000} /user/username/projects/a/tsconfig.json: {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/user/username/projects/node_modules/commander/package.json: - {"pollingInterval":2000} -/user/username/projects/node_modules/package.json: - {"pollingInterval":2000} FsWatchesRecursive:: /user/username/projects/a/cache/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js b/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js index 6036d5c88e66c..3a5cd7377c724 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/telemetry-events.js @@ -300,9 +300,6 @@ Before running Timeout callback:: count: 2 Info seq [hh:mm:ss:mss] Running: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/commander/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/@types/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/cache/node_modules/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred) Info seq [hh:mm:ss:mss] Files (2) @@ -441,24 +438,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 0 -PolledWatches:: -/a/bower_components: - {"pollingInterval":500} -/a/cache/node_modules/@types/commander/package.json: *new* - {"pollingInterval":2000} -/a/cache/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/a/cache/node_modules/package.json: *new* - {"pollingInterval":2000} -/a/lib/lib.d.ts: - {"pollingInterval":500} -/a/node_modules: - {"pollingInterval":500} - -FsWatches:: -/a/package.json: - {} - Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js index 224c41a30ec48..4d3fae410e7de 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-errors.js @@ -58,11 +58,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":[]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots @@ -140,18 +135,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -216,18 +201,8 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} -/user/username/projects/myproject/node_modules/bar/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js index edec9cd7880a5..2520af3f81bc5 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options-in-host-configuration.js @@ -86,11 +86,6 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots @@ -165,18 +160,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/node_modules/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -237,18 +222,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/node_modules/bar/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js index e8d5952b5c06a..0cb1f1e79b807 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/external-project-watch-options.js @@ -57,11 +57,6 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/project.csproj WatchType: Type roots @@ -136,18 +131,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/node_modules/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -210,18 +195,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/node_modules/bar/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: - {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} -/user/username/projects/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js index b114c7138d777..0e83b355f46fb 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js @@ -70,11 +70,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /us Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":[]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -116,24 +111,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/node_modules/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js index 0cc736b8ae065..26d3a967680c3 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js @@ -98,11 +98,6 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -141,24 +136,14 @@ After request PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js index 0133438484cb9..d9d4e34d46fdb 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js @@ -69,11 +69,6 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /dev/null/inferredProject1* WatchType: Type roots @@ -112,24 +107,14 @@ After request PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js b/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js index 48daea46f04be..2ff7cc13585a4 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/perVolumeCasing-and-new-file-addition.js @@ -61,7 +61,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/proj Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/project 1 undefined Config: /Volumes/git/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /Volumes/git/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Volumes/git/projects/project/package.json 2000 undefined Project: /Volumes/git/projects/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/project/node_modules/@types 1 undefined Project: /Volumes/git/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/project/node_modules/@types 1 undefined Project: /Volumes/git/projects/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /Volumes/git/projects/node_modules/@types 1 undefined Project: /Volumes/git/projects/project/tsconfig.json WatchType: Type roots diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js index 5adfeb71bf684..31f51705c6092 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js @@ -37,8 +37,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/i/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/i/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/i/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/i/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -76,16 +74,12 @@ PolledWatches:: {"pollingInterval":500} /User/userName/Projects/i/node_modules/@types: *new* {"pollingInterval":500} -/User/userName/Projects/i/package.json: *new* - {"pollingInterval":2000} /User/userName/Projects/i/tsconfig.json: *new* {"pollingInterval":2000} /User/userName/Projects/node_modules: *new* {"pollingInterval":500} /User/userName/Projects/node_modules/@types: *new* {"pollingInterval":500} -/User/userName/Projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js index c41f48f22369c..a755840d489ff 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js @@ -37,8 +37,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/I/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/I/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/I/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/I/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -76,16 +74,12 @@ PolledWatches:: {"pollingInterval":500} /User/userName/Projects/I/node_modules/@types: *new* {"pollingInterval":500} -/User/userName/Projects/I/package.json: *new* - {"pollingInterval":2000} /User/userName/Projects/I/tsconfig.json: *new* {"pollingInterval":2000} /User/userName/Projects/node_modules: *new* {"pollingInterval":500} /User/userName/Projects/node_modules/@types: *new* {"pollingInterval":500} -/User/userName/Projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js index 0102a6160b212..f104b40bea966 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js @@ -37,8 +37,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/Ä°/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/Ä°/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/package.json 2000 undefined Project: /dev/null/inferredProject1* WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/Ä°/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/Ä°/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /User/userName/Projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -74,16 +72,12 @@ PolledWatches:: {"pollingInterval":500} /User/userName/Projects/node_modules/@types: *new* {"pollingInterval":500} -/User/userName/Projects/package.json: *new* - {"pollingInterval":2000} /User/userName/Projects/Ä°/jsconfig.json: *new* {"pollingInterval":2000} /User/userName/Projects/Ä°/node_modules: *new* {"pollingInterval":500} /User/userName/Projects/Ä°/node_modules/@types: *new* {"pollingInterval":500} -/User/userName/Projects/Ä°/package.json: *new* - {"pollingInterval":2000} /User/userName/Projects/Ä°/tsconfig.json: *new* {"pollingInterval":2000} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js b/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js index 0ba841ccd0119..7966ffe4e0c86 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/recursive-directory-does-not-watch-files-starting-with-dot-in-node_modules.js @@ -67,8 +67,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/proje Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/src 1 undefined Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules 1 undefined Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules 1 undefined Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/src/package.json 2000 undefined Project: /a/username/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/package.json 2000 undefined Project: /a/username/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 undefined Project: /a/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 undefined Project: /a/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -164,10 +162,6 @@ After request PolledWatches:: /a/username/project/node_modules/@types: *new* {"pollingInterval":500} -/a/username/project/package.json: *new* - {"pollingInterval":2000} -/a/username/project/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js index 1278e96e041c3..2051039da2e95 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-dynamic-polling-when-file-is-added-to-subfolder.js @@ -71,8 +71,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/projec Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/src/package.json 2000 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/package.json 2000 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -166,12 +164,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/a/username/project/package.json: *new* - {"pollingInterval":2000} -/a/username/project/src/package.json: *new* - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: *new* {"inode":9} @@ -323,12 +315,6 @@ Info seq [hh:mm:ss:mss] response: } After request -PolledWatches:: -/a/username/project/package.json: - {"pollingInterval":2000} -/a/username/project/src/package.json: - {"pollingInterval":2000} - FsWatches:: /a/lib/lib.d.ts: {"inode":9} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js index 3425443d854a1..8240d4da08030 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-non-recursive-watchDirectory-when-file-is-added-to-subfolder.js @@ -71,8 +71,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/projec Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/src/package.json 2000 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/package.json 2000 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -169,10 +167,6 @@ After request PolledWatches:: /a/username/project/node_modules/@types: *new* {"pollingInterval":500} -/a/username/project/package.json: *new* - {"pollingInterval":2000} -/a/username/project/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -320,10 +314,6 @@ After running Timeout callback:: count: 0 PolledWatches:: /a/username/project/node_modules/@types: {"pollingInterval":500} -/a/username/project/package.json: - {"pollingInterval":2000} -/a/username/project/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js b/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js index 9fd4883a5f8ed..f937cedae921d 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/uses-watchFile-when-file-is-added-to-subfolder.js @@ -71,8 +71,6 @@ Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/username/projec Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/src/package.json 2000 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/package.json 2000 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/username/project/node_modules/@types 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /a/username/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -171,12 +169,8 @@ PolledWatches:: {"pollingInterval":500} /a/username/project/node_modules/@types: *new* {"pollingInterval":500} -/a/username/project/package.json: *new* - {"pollingInterval":2000} /a/username/project/src: *new* {"pollingInterval":500} -/a/username/project/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -294,12 +288,8 @@ PolledWatches:: {"pollingInterval":500} /a/username/project/node_modules/@types: {"pollingInterval":500} -/a/username/project/package.json: - {"pollingInterval":2000} /a/username/project/src: {"pollingInterval":500} -/a/username/project/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js index 244fdb7d417b9..cd840fabd1f0a 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/watching-npm-install-in-codespaces-where-workspaces-folder-is-hosted-at-root.js @@ -65,11 +65,6 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /wo Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types/random-seed/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/src/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/src/node_modules/@types 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/src/node_modules/@types 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types 1 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: Type roots @@ -166,20 +161,10 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/workspaces/somerepo/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/workspaces/somerepo/node_modules/@types/random-seed/package.json: *new* - {"pollingInterval":2000} -/workspaces/somerepo/node_modules/package.json: *new* - {"pollingInterval":2000} -/workspaces/somerepo/package.json: *new* - {"pollingInterval":2000} /workspaces/somerepo/src/node_modules: *new* {"pollingInterval":500} /workspaces/somerepo/src/node_modules/@types: *new* {"pollingInterval":500} -/workspaces/somerepo/src/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -334,20 +319,10 @@ PolledWatches:: {"pollingInterval":500} /workspaces/somerepo/node_modules/@types: *new* {"pollingInterval":500} -/workspaces/somerepo/node_modules/@types/package.json: - {"pollingInterval":2000} -/workspaces/somerepo/node_modules/@types/random-seed/package.json: - {"pollingInterval":2000} -/workspaces/somerepo/node_modules/package.json: - {"pollingInterval":2000} -/workspaces/somerepo/package.json: - {"pollingInterval":2000} /workspaces/somerepo/src/node_modules: {"pollingInterval":500} /workspaces/somerepo/src/node_modules/@types: {"pollingInterval":500} -/workspaces/somerepo/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -427,9 +402,6 @@ Before running Timeout callback:: count: 5 Invoking Timeout callback:: timeoutId:: 18:: checkOne Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /workspaces/somerepo/node_modules/@types/random-seed/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /workspaces/somerepo/node_modules/@types/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /workspaces/somerepo/node_modules/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/workspaces/somerepo/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (2) @@ -455,36 +427,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 3 -PolledWatches:: -/workspaces/somerepo/node_modules: - {"pollingInterval":500} -/workspaces/somerepo/node_modules/@types: - {"pollingInterval":500} -/workspaces/somerepo/package.json: - {"pollingInterval":2000} -/workspaces/somerepo/src/node_modules: - {"pollingInterval":500} -/workspaces/somerepo/src/node_modules/@types: - {"pollingInterval":500} -/workspaces/somerepo/src/package.json: - {"pollingInterval":2000} - -PolledWatches *deleted*:: -/workspaces/somerepo/node_modules/@types/package.json: - {"pollingInterval":2000} -/workspaces/somerepo/node_modules/@types/random-seed/package.json: - {"pollingInterval":2000} -/workspaces/somerepo/node_modules/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {"inode":12} -/workspaces/somerepo/src: - {"inode":3} -/workspaces/somerepo/src/tsconfig.json: - {"inode":4} - Timeout callback:: count: 3 17: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* 13: /workspaces/somerepo/src/tsconfig.json @@ -638,14 +580,10 @@ export function randomSeed(): string; PolledWatches:: -/workspaces/somerepo/package.json: - {"pollingInterval":2000} /workspaces/somerepo/src/node_modules: {"pollingInterval":500} /workspaces/somerepo/src/node_modules/@types: {"pollingInterval":500} -/workspaces/somerepo/src/package.json: - {"pollingInterval":2000} PolledWatches *deleted*:: /workspaces/somerepo/node_modules: @@ -706,9 +644,6 @@ Before running Timeout callback:: count: 5 Invoking Timeout callback:: timeoutId:: 34:: checkOne Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types/random-seed/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/@types/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /workspaces/somerepo/node_modules/package.json 2000 undefined Project: /workspaces/somerepo/src/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /workspaces/somerepo/src/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info seq [hh:mm:ss:mss] Project '/workspaces/somerepo/src/tsconfig.json' (Configured) Info seq [hh:mm:ss:mss] Files (3) @@ -738,34 +673,6 @@ Info seq [hh:mm:ss:mss] event: } After running Timeout callback:: count: 3 -PolledWatches:: -/workspaces/somerepo/node_modules/@types/package.json: *new* - {"pollingInterval":2000} -/workspaces/somerepo/node_modules/@types/random-seed/package.json: *new* - {"pollingInterval":2000} -/workspaces/somerepo/node_modules/package.json: *new* - {"pollingInterval":2000} -/workspaces/somerepo/package.json: - {"pollingInterval":2000} -/workspaces/somerepo/src/node_modules: - {"pollingInterval":500} -/workspaces/somerepo/src/node_modules/@types: - {"pollingInterval":500} -/workspaces/somerepo/src/package.json: - {"pollingInterval":2000} - -FsWatches:: -/a/lib/lib.d.ts: - {"inode":12} -/workspaces/somerepo/node_modules: - {"inode":13} -/workspaces/somerepo/node_modules/@types: - {"inode":14} -/workspaces/somerepo/src: - {"inode":3} -/workspaces/somerepo/src/tsconfig.json: - {"inode":4} - Timeout callback:: count: 3 26: *ensureProjectForOpenFiles* *deleted* 27: /workspaces/somerepo/src/tsconfig.jsonFailedLookupInvalidation *deleted* @@ -862,20 +769,10 @@ Info seq [hh:mm:ss:mss] sysLog:: Elapsed:: *ms:: onTimerToUpdateChildWatches:: After running Timeout callback:: count: 3 PolledWatches:: -/workspaces/somerepo/node_modules/@types/package.json: - {"pollingInterval":2000} -/workspaces/somerepo/node_modules/@types/random-seed/package.json: - {"pollingInterval":2000} -/workspaces/somerepo/node_modules/package.json: - {"pollingInterval":2000} -/workspaces/somerepo/package.json: - {"pollingInterval":2000} /workspaces/somerepo/src/node_modules: {"pollingInterval":500} /workspaces/somerepo/src/node_modules/@types: {"pollingInterval":500} -/workspaces/somerepo/src/package.json: - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js index aa0855ba650b5..0d70d48e3a1c5 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/when-watchFile-is-single-watcher-per-file.js @@ -67,8 +67,6 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/pr Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 0 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -170,14 +168,10 @@ After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js index 2eac39b221963..7c0daf84b83ba 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configFile.js @@ -82,11 +82,6 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -184,18 +179,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/node_modules/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js index 02f94c0958a6d..53249fb49479c 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/with-excludeDirectories-option-in-configuration.js @@ -111,11 +111,6 @@ Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/proj Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 {"excludeDirectories":["node_modules"]} WatchType: Closed Script info Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution -Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: File location affecting resolution Info seq [hh:mm:ss:mss] ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Project: /user/username/projects/myproject/tsconfig.json WatchType: Type roots @@ -213,18 +208,8 @@ Info seq [hh:mm:ss:mss] response: After request PolledWatches:: -/user/username/projects/myproject/node_modules/bar/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/node_modules/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/package.json: *new* - {"pollingInterval":2000} -/user/username/projects/myproject/src/package.json: *new* - {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} -/user/username/projects/package.json: *new* - {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/typeReferenceDirectiveScopedPackageCustomTypeRoot.trace.json b/tests/baselines/reference/typeReferenceDirectiveScopedPackageCustomTypeRoot.trace.json index af808d436429d..47435970cf8f0 100644 --- a/tests/baselines/reference/typeReferenceDirectiveScopedPackageCustomTypeRoot.trace.json +++ b/tests/baselines/reference/typeReferenceDirectiveScopedPackageCustomTypeRoot.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive '@scoped/typescache', containing file '/__inferred type names__.ts', root directory '/types,/node_modules,/node_modules/@types'. ========", "Resolving with primary search path '/types, /node_modules, /node_modules/@types'.", "File '/types/@scoped/typescache.d.ts' does not exist.", @@ -43,20 +42,6 @@ "File '/node_modules/@types/mangled__attypescache/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/mangled__attypescache/index.d.ts', result '/node_modules/@types/mangled__attypescache/index.d.ts'.", "======== Type reference directive '@mangled/attypescache' was successfully resolved to '/node_modules/@types/mangled__attypescache/index.d.ts', primary: true. ========", - "File '/types/@scoped/typescache/package.json' does not exist according to earlier cached lookups.", - "File '/types/@scoped/package.json' does not exist.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@scoped/nodemodulescache/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@scoped/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/mangled__attypescache/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -66,8 +51,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -77,8 +60,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -87,8 +68,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -98,8 +77,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -108,8 +85,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -118,7 +93,5 @@ "File '/node_modules/@types/typescript__lib-scripthost.d.ts' does not exist.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectiveWithFailedFromTypeRoot.trace.json b/tests/baselines/reference/typeReferenceDirectiveWithFailedFromTypeRoot.trace.json index 1d4bc7cad02ef..759edd68fc5fb 100644 --- a/tests/baselines/reference/typeReferenceDirectiveWithFailedFromTypeRoot.trace.json +++ b/tests/baselines/reference/typeReferenceDirectiveWithFailedFromTypeRoot.trace.json @@ -1,12 +1,9 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive 'phaser', containing file '/__inferred type names__.ts', root directory '/typings'. ========", "Resolving with primary search path '/typings'.", "File '/typings/phaser.d.ts' does not exist.", "Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder.", "======== Type reference directive 'phaser' was not resolved. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -16,8 +13,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -27,8 +22,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -38,8 +31,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +40,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -60,8 +49,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -70,7 +57,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectiveWithTypeAsFile.trace.json b/tests/baselines/reference/typeReferenceDirectiveWithTypeAsFile.trace.json index ebf0a553c2275..85b39822233f6 100644 --- a/tests/baselines/reference/typeReferenceDirectiveWithTypeAsFile.trace.json +++ b/tests/baselines/reference/typeReferenceDirectiveWithTypeAsFile.trace.json @@ -1,17 +1,10 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive 'phaser', containing file '/__inferred type names__.ts', root directory '/node_modules/phaser/types'. ========", "Resolving with primary search path '/node_modules/phaser/types'.", "File '/node_modules/phaser/types/phaser.d.ts' exists - use it as a name resolution result.", "File '/node_modules/phaser/package.json' does not exist.", "Resolving real path for '/node_modules/phaser/types/phaser.d.ts', result '/node_modules/phaser/types/phaser.d.ts'.", "======== Type reference directive 'phaser' was successfully resolved to '/node_modules/phaser/types/phaser.d.ts', primary: true. ========", - "File '/node_modules/phaser/types/package.json' does not exist.", - "File '/node_modules/phaser/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -21,8 +14,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -32,8 +23,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -43,8 +32,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -54,8 +41,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -65,8 +50,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -75,7 +58,5 @@ "Scoped package detected, looking in 'typescript__lib-scripthost'", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives1.trace.json b/tests/baselines/reference/typeReferenceDirectives1.trace.json index bdfff06bcf48d..3511def32e455 100644 --- a/tests/baselines/reference/typeReferenceDirectives1.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives1.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib.d.ts' does not exist.", @@ -7,14 +6,9 @@ "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/types/lib/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -25,8 +19,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -37,8 +29,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +39,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +49,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +59,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -84,7 +68,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives10.trace.json b/tests/baselines/reference/typeReferenceDirectives10.trace.json index 28e78c976a70d..207c83eb07ac2 100644 --- a/tests/baselines/reference/typeReferenceDirectives10.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives10.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib.d.ts' does not exist.", @@ -7,9 +6,6 @@ "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/types/lib/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './ref' from '/app.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/ref', target file types: TypeScript, Declaration.", @@ -17,12 +13,9 @@ "File '/ref.tsx' does not exist.", "File '/ref.d.ts' exists - use it as a name resolution result.", "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -33,8 +26,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -45,8 +36,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -57,8 +46,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +56,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -81,8 +66,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,7 +75,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives11.trace.json b/tests/baselines/reference/typeReferenceDirectives11.trace.json index b67eaf630e750..8808f1f82d363 100644 --- a/tests/baselines/reference/typeReferenceDirectives11.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives11.trace.json @@ -1,11 +1,9 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './mod1' from '/mod2.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/mod1', target file types: TypeScript, Declaration.", "File '/mod1.ts' exists - use it as a name resolution result.", "======== Module name './mod1' was successfully resolved to '/mod1.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib.d.ts' does not exist.", @@ -13,11 +11,6 @@ "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/types/lib/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -28,8 +21,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -40,8 +31,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -52,8 +41,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +51,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +61,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -87,7 +70,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives12.trace.json b/tests/baselines/reference/typeReferenceDirectives12.trace.json index f39d5640e8beb..e5d424d1a27ea 100644 --- a/tests/baselines/reference/typeReferenceDirectives12.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives12.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './main' from '/mod2.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/main', target file types: TypeScript, Declaration.", @@ -10,8 +9,6 @@ "Loading module as file / folder, candidate module location '/mod1', target file types: TypeScript, Declaration.", "File '/mod1.ts' exists - use it as a name resolution result.", "======== Module name './mod1' was successfully resolved to '/mod1.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/mod1.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib.d.ts' does not exist.", @@ -19,17 +16,12 @@ "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/types/lib/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './main' from '/mod1.ts'. ========", "Resolution for module './main' was found in cache from location '/'.", "======== Module name './main' was successfully resolved to '/main.ts'. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -40,8 +32,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -52,8 +42,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +52,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +62,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -88,8 +72,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -99,7 +81,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives13.trace.json b/tests/baselines/reference/typeReferenceDirectives13.trace.json index 28e78c976a70d..207c83eb07ac2 100644 --- a/tests/baselines/reference/typeReferenceDirectives13.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives13.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib.d.ts' does not exist.", @@ -7,9 +6,6 @@ "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/types/lib/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './ref' from '/app.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/ref', target file types: TypeScript, Declaration.", @@ -17,12 +13,9 @@ "File '/ref.tsx' does not exist.", "File '/ref.d.ts' exists - use it as a name resolution result.", "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -33,8 +26,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -45,8 +36,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -57,8 +46,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +56,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -81,8 +66,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,7 +75,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives2.trace.json b/tests/baselines/reference/typeReferenceDirectives2.trace.json index dca01e4d88d57..816082ac3ff1a 100644 --- a/tests/baselines/reference/typeReferenceDirectives2.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives2.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib.d.ts' does not exist.", @@ -7,11 +6,6 @@ "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/types/lib/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -22,8 +16,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -34,8 +26,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -46,8 +36,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +46,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -70,8 +56,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -81,7 +65,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives3.trace.json b/tests/baselines/reference/typeReferenceDirectives3.trace.json index faa17e79b2ff2..3511def32e455 100644 --- a/tests/baselines/reference/typeReferenceDirectives3.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives3.trace.json @@ -1,6 +1,4 @@ [ - "File '/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib.d.ts' does not exist.", @@ -8,14 +6,9 @@ "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/types/lib/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -26,8 +19,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -38,8 +29,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -50,8 +39,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -62,8 +49,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -74,8 +59,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -85,7 +68,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives4.trace.json b/tests/baselines/reference/typeReferenceDirectives4.trace.json index faa17e79b2ff2..3511def32e455 100644 --- a/tests/baselines/reference/typeReferenceDirectives4.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives4.trace.json @@ -1,6 +1,4 @@ [ - "File '/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib.d.ts' does not exist.", @@ -8,14 +6,9 @@ "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/types/lib/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -26,8 +19,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -38,8 +29,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -50,8 +39,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -62,8 +49,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -74,8 +59,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -85,7 +68,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives5.trace.json b/tests/baselines/reference/typeReferenceDirectives5.trace.json index 28e78c976a70d..207c83eb07ac2 100644 --- a/tests/baselines/reference/typeReferenceDirectives5.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives5.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib.d.ts' does not exist.", @@ -7,9 +6,6 @@ "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/types/lib/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './ref' from '/app.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/ref', target file types: TypeScript, Declaration.", @@ -17,12 +13,9 @@ "File '/ref.tsx' does not exist.", "File '/ref.d.ts' exists - use it as a name resolution result.", "======== Module name './ref' was successfully resolved to '/ref.d.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -33,8 +26,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -45,8 +36,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -57,8 +46,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +56,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -81,8 +66,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -92,7 +75,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives6.trace.json b/tests/baselines/reference/typeReferenceDirectives6.trace.json index faa17e79b2ff2..3511def32e455 100644 --- a/tests/baselines/reference/typeReferenceDirectives6.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives6.trace.json @@ -1,6 +1,4 @@ [ - "File '/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib.d.ts' does not exist.", @@ -8,14 +6,9 @@ "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/types/lib/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -26,8 +19,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -38,8 +29,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -50,8 +39,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -62,8 +49,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -74,8 +59,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -85,7 +68,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives7.trace.json b/tests/baselines/reference/typeReferenceDirectives7.trace.json index bdfff06bcf48d..3511def32e455 100644 --- a/tests/baselines/reference/typeReferenceDirectives7.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives7.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive 'lib', containing file '/app.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib.d.ts' does not exist.", @@ -7,14 +6,9 @@ "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/types/lib/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -25,8 +19,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -37,8 +29,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +39,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -61,8 +49,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -73,8 +59,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -84,7 +68,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives8.trace.json b/tests/baselines/reference/typeReferenceDirectives8.trace.json index b67eaf630e750..8808f1f82d363 100644 --- a/tests/baselines/reference/typeReferenceDirectives8.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives8.trace.json @@ -1,11 +1,9 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './mod1' from '/mod2.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/mod1', target file types: TypeScript, Declaration.", "File '/mod1.ts' exists - use it as a name resolution result.", "======== Module name './mod1' was successfully resolved to '/mod1.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib.d.ts' does not exist.", @@ -13,11 +11,6 @@ "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/types/lib/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -28,8 +21,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -40,8 +31,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -52,8 +41,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +51,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +61,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -87,7 +70,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeReferenceDirectives9.trace.json b/tests/baselines/reference/typeReferenceDirectives9.trace.json index f39d5640e8beb..e5d424d1a27ea 100644 --- a/tests/baselines/reference/typeReferenceDirectives9.trace.json +++ b/tests/baselines/reference/typeReferenceDirectives9.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module './main' from '/mod2.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/main', target file types: TypeScript, Declaration.", @@ -10,8 +9,6 @@ "Loading module as file / folder, candidate module location '/mod1', target file types: TypeScript, Declaration.", "File '/mod1.ts' exists - use it as a name resolution result.", "======== Module name './mod1' was successfully resolved to '/mod1.ts'. ========", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'lib', containing file '/mod1.ts', root directory '/types'. ========", "Resolving with primary search path '/types'.", "File '/types/lib.d.ts' does not exist.", @@ -19,17 +16,12 @@ "File '/types/lib/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/types/lib/index.d.ts', result '/types/lib/index.d.ts'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/types/lib/package.json' does not exist according to earlier cached lookups.", - "File '/types/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module './main' from '/mod1.ts'. ========", "Resolution for module './main' was found in cache from location '/'.", "======== Module name './main' was successfully resolved to '/main.ts'. ========", "======== Resolving type reference directive 'lib', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'lib' was found in cache from location '/'.", "======== Type reference directive 'lib' was successfully resolved to '/types/lib/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -40,8 +32,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -52,8 +42,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -64,8 +52,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +62,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -88,8 +72,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -99,7 +81,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json index 81d7fa883b2b0..f620afce87e93 100644 --- a/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json +++ b/tests/baselines/reference/typeRootsFromMultipleNodeModulesDirectories.trace.json @@ -1,7 +1,4 @@ [ - "File '/foo/bar/package.json' does not exist.", - "File '/foo/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'xyz' from '/foo/bar/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'xyz' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -86,22 +83,6 @@ "File '/node_modules/@types/dopey/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/dopey/index.d.ts', result '/node_modules/@types/dopey/index.d.ts'.", "======== Type reference directive 'dopey' was successfully resolved to '/node_modules/@types/dopey/index.d.ts', primary: true. ========", - "File '/foo/node_modules/@types/grumpy/package.json' does not exist according to earlier cached lookups.", - "File '/foo/node_modules/@types/package.json' does not exist.", - "File '/foo/node_modules/package.json' does not exist.", - "File '/foo/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/foo/node_modules/@types/sneezy/package.json' does not exist according to earlier cached lookups.", - "File '/foo/node_modules/@types/package.json' does not exist according to earlier cached lookups.", - "File '/foo/node_modules/package.json' does not exist according to earlier cached lookups.", - "File '/foo/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/dopey/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/foo/bar/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -116,8 +97,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/foo/bar/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/foo/bar/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -132,8 +111,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/foo/bar/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/foo/bar/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -146,8 +123,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/foo/bar/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/foo/bar/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -162,8 +137,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/foo/bar/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/foo/bar/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -176,8 +149,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/foo/bar/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/foo/bar/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -191,7 +162,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/foo/bar/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json index da7f5b25d8fcd..5d97aa0870b61 100644 --- a/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json +++ b/tests/baselines/reference/typeRootsFromNodeModulesInParentDirectory.trace.json @@ -1,6 +1,4 @@ [ - "File '/src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'xyz' from '/src/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'xyz' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -23,12 +21,6 @@ "File '/node_modules/@types/foo/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/foo/index.d.ts', result '/node_modules/@types/foo/index.d.ts'.", "======== Type reference directive 'foo' was successfully resolved to '/node_modules/@types/foo/index.d.ts', primary: true. ========", - "File '/node_modules/@types/foo/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -41,8 +33,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -55,8 +45,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -68,8 +56,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -82,8 +68,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -95,8 +79,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/src/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -108,7 +90,5 @@ "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/src/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typesVersions.ambientModules.trace.json b/tests/baselines/reference/typesVersions.ambientModules.trace.json index 656887a06e765..91387ca4d646a 100644 --- a/tests/baselines/reference/typesVersions.ambientModules.trace.json +++ b/tests/baselines/reference/typesVersions.ambientModules.trace.json @@ -1,6 +1,4 @@ [ - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'ext' from '/.src/main.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -74,10 +72,6 @@ "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'ext/other' was not resolved. ========", - "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", - "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -90,8 +84,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023' from '/.src/__lib_node_modules_lookup_lib.es2023.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,8 +96,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022' from '/.src/__lib_node_modules_lookup_lib.es2022.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -118,8 +108,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021' from '/.src/__lib_node_modules_lookup_lib.es2021.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -132,8 +120,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020' from '/.src/__lib_node_modules_lookup_lib.es2020.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -146,8 +132,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019' from '/.src/__lib_node_modules_lookup_lib.es2019.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -160,8 +144,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018' from '/.src/__lib_node_modules_lookup_lib.es2018.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -174,8 +156,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017' from '/.src/__lib_node_modules_lookup_lib.es2017.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -188,8 +168,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016' from '/.src/__lib_node_modules_lookup_lib.es2016.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -202,8 +180,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015' from '/.src/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -216,8 +192,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -230,8 +204,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -244,8 +216,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -258,8 +228,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/core' from '/.src/__lib_node_modules_lookup_lib.es2015.core.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -272,8 +240,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/core' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/collection' from '/.src/__lib_node_modules_lookup_lib.es2015.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -286,8 +252,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/iterable' from '/.src/__lib_node_modules_lookup_lib.es2015.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -300,8 +264,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -314,8 +276,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/generator' from '/.src/__lib_node_modules_lookup_lib.es2015.generator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -328,8 +288,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/generator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/promise' from '/.src/__lib_node_modules_lookup_lib.es2015.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -342,8 +300,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/proxy' from '/.src/__lib_node_modules_lookup_lib.es2015.proxy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -356,8 +312,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/proxy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/reflect' from '/.src/__lib_node_modules_lookup_lib.es2015.reflect.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -370,8 +324,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/reflect' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -384,8 +336,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/array-include' from '/.src/__lib_node_modules_lookup_lib.es2016.array.include.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/array-include' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -398,8 +348,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/array-include' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/intl' from '/.src/__lib_node_modules_lookup_lib.es2016.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -412,8 +360,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/object' from '/.src/__lib_node_modules_lookup_lib.es2017.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -426,8 +372,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2017.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -440,8 +384,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/string' from '/.src/__lib_node_modules_lookup_lib.es2017.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -454,8 +396,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/intl' from '/.src/__lib_node_modules_lookup_lib.es2017.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -468,8 +408,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/typedarrays' from '/.src/__lib_node_modules_lookup_lib.es2017.typedarrays.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/typedarrays' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -482,8 +420,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/typedarrays' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/date' from '/.src/__lib_node_modules_lookup_lib.es2017.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -496,8 +432,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asynciterable' from '/.src/__lib_node_modules_lookup_lib.es2018.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -510,8 +444,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asyncgenerator' from '/.src/__lib_node_modules_lookup_lib.es2018.asyncgenerator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asyncgenerator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -524,8 +456,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asyncgenerator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/promise' from '/.src/__lib_node_modules_lookup_lib.es2018.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -538,8 +468,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/regexp' from '/.src/__lib_node_modules_lookup_lib.es2018.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -552,8 +480,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/intl' from '/.src/__lib_node_modules_lookup_lib.es2018.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -566,8 +492,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/array' from '/.src/__lib_node_modules_lookup_lib.es2019.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -580,8 +504,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/object' from '/.src/__lib_node_modules_lookup_lib.es2019.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -594,8 +516,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/string' from '/.src/__lib_node_modules_lookup_lib.es2019.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -608,8 +528,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/symbol' from '/.src/__lib_node_modules_lookup_lib.es2019.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -622,8 +540,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/intl' from '/.src/__lib_node_modules_lookup_lib.es2019.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -636,8 +552,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/bigint' from '/.src/__lib_node_modules_lookup_lib.es2020.bigint.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/bigint' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -650,8 +564,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/bigint' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/intl' from '/.src/__lib_node_modules_lookup_lib.es2020.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -664,8 +576,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/date' from '/.src/__lib_node_modules_lookup_lib.es2020.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -678,8 +588,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/number' from '/.src/__lib_node_modules_lookup_lib.es2020.number.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/number' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -692,8 +600,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/number' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/promise' from '/.src/__lib_node_modules_lookup_lib.es2020.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -706,8 +612,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2020.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -720,8 +624,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/string' from '/.src/__lib_node_modules_lookup_lib.es2020.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -734,8 +636,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2020.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -748,8 +648,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/promise' from '/.src/__lib_node_modules_lookup_lib.es2021.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -762,8 +660,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/string' from '/.src/__lib_node_modules_lookup_lib.es2021.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -776,8 +672,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/weakref' from '/.src/__lib_node_modules_lookup_lib.es2021.weakref.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/weakref' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -790,8 +684,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/weakref' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/intl' from '/.src/__lib_node_modules_lookup_lib.es2021.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -804,8 +696,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/array' from '/.src/__lib_node_modules_lookup_lib.es2022.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -818,8 +708,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/error' from '/.src/__lib_node_modules_lookup_lib.es2022.error.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/error' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -832,8 +720,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/error' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/intl' from '/.src/__lib_node_modules_lookup_lib.es2022.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -846,8 +732,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/object' from '/.src/__lib_node_modules_lookup_lib.es2022.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -860,8 +744,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2022.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -874,8 +756,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/string' from '/.src/__lib_node_modules_lookup_lib.es2022.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -888,8 +768,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/regexp' from '/.src/__lib_node_modules_lookup_lib.es2022.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -902,8 +780,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/array' from '/.src/__lib_node_modules_lookup_lib.es2023.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -916,8 +792,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -930,8 +804,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/intl' from '/.src/__lib_node_modules_lookup_lib.es2023.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -944,8 +816,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -958,8 +828,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/decorators' from '/.src/__lib_node_modules_lookup_lib.esnext.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -972,8 +840,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/disposable' from '/.src/__lib_node_modules_lookup_lib.esnext.disposable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -986,8 +852,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/promise' from '/.src/__lib_node_modules_lookup_lib.esnext.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1000,8 +864,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/object' from '/.src/__lib_node_modules_lookup_lib.esnext.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1014,8 +876,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/collection' from '/.src/__lib_node_modules_lookup_lib.esnext.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1028,8 +888,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1042,8 +900,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/regexp' from '/.src/__lib_node_modules_lookup_lib.esnext.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1056,8 +912,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/string' from '/.src/__lib_node_modules_lookup_lib.esnext.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1070,8 +924,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1084,8 +936,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1098,8 +948,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1112,8 +960,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/.src/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1126,8 +972,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/asynciterable' from '/.src/__lib_node_modules_lookup_lib.dom.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1139,7 +983,5 @@ "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typesVersions.emptyTypes.trace.json b/tests/baselines/reference/typesVersions.emptyTypes.trace.json index bcf740e65afed..ad8ce1a041e77 100644 --- a/tests/baselines/reference/typesVersions.emptyTypes.trace.json +++ b/tests/baselines/reference/typesVersions.emptyTypes.trace.json @@ -1,8 +1,4 @@ [ - "File '/a/ts3.1/package.json' does not exist.", - "Found 'package.json' at '/a/package.json'.", - "File '/b/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'a' from '/b/user.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'a'.", @@ -11,7 +7,7 @@ "File '/a.ts' does not exist.", "File '/a.tsx' does not exist.", "File '/a.d.ts' does not exist.", - "File '/a/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/a/package.json'.", "'package.json' has a 'typesVersions' field with version-specific path mappings.", "'package.json' does not have a 'typings' field.", "'package.json' had a falsy 'types' field.", @@ -24,8 +20,6 @@ "File '/a/ts3.1/index.tsx' does not exist.", "File '/a/ts3.1/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'a' was successfully resolved to '/a/ts3.1/index.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -39,8 +33,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023' from '/.src/__lib_node_modules_lookup_lib.es2023.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -54,8 +46,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022' from '/.src/__lib_node_modules_lookup_lib.es2022.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +59,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021' from '/.src/__lib_node_modules_lookup_lib.es2021.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -84,8 +72,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020' from '/.src/__lib_node_modules_lookup_lib.es2020.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -99,8 +85,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019' from '/.src/__lib_node_modules_lookup_lib.es2019.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -114,8 +98,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018' from '/.src/__lib_node_modules_lookup_lib.es2018.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -129,8 +111,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017' from '/.src/__lib_node_modules_lookup_lib.es2017.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -144,8 +124,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016' from '/.src/__lib_node_modules_lookup_lib.es2016.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -159,8 +137,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015' from '/.src/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -174,8 +150,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -189,8 +163,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -204,8 +176,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -219,8 +189,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/core' from '/.src/__lib_node_modules_lookup_lib.es2015.core.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -234,8 +202,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/core' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/collection' from '/.src/__lib_node_modules_lookup_lib.es2015.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -249,8 +215,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/iterable' from '/.src/__lib_node_modules_lookup_lib.es2015.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -264,8 +228,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -279,8 +241,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/generator' from '/.src/__lib_node_modules_lookup_lib.es2015.generator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -294,8 +254,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/generator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/promise' from '/.src/__lib_node_modules_lookup_lib.es2015.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -309,8 +267,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/proxy' from '/.src/__lib_node_modules_lookup_lib.es2015.proxy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -324,8 +280,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/proxy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/reflect' from '/.src/__lib_node_modules_lookup_lib.es2015.reflect.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -339,8 +293,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/reflect' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -354,8 +306,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/array-include' from '/.src/__lib_node_modules_lookup_lib.es2016.array.include.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/array-include' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -369,8 +319,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/array-include' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/intl' from '/.src/__lib_node_modules_lookup_lib.es2016.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -384,8 +332,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/object' from '/.src/__lib_node_modules_lookup_lib.es2017.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -399,8 +345,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2017.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -414,8 +358,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/string' from '/.src/__lib_node_modules_lookup_lib.es2017.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -429,8 +371,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/intl' from '/.src/__lib_node_modules_lookup_lib.es2017.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -444,8 +384,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/typedarrays' from '/.src/__lib_node_modules_lookup_lib.es2017.typedarrays.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/typedarrays' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -459,8 +397,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/typedarrays' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/date' from '/.src/__lib_node_modules_lookup_lib.es2017.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -474,8 +410,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asynciterable' from '/.src/__lib_node_modules_lookup_lib.es2018.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -489,8 +423,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asyncgenerator' from '/.src/__lib_node_modules_lookup_lib.es2018.asyncgenerator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asyncgenerator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -504,8 +436,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asyncgenerator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/promise' from '/.src/__lib_node_modules_lookup_lib.es2018.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -519,8 +449,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/regexp' from '/.src/__lib_node_modules_lookup_lib.es2018.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -534,8 +462,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/intl' from '/.src/__lib_node_modules_lookup_lib.es2018.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -549,8 +475,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/array' from '/.src/__lib_node_modules_lookup_lib.es2019.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -564,8 +488,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/object' from '/.src/__lib_node_modules_lookup_lib.es2019.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -579,8 +501,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/string' from '/.src/__lib_node_modules_lookup_lib.es2019.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -594,8 +514,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/symbol' from '/.src/__lib_node_modules_lookup_lib.es2019.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -609,8 +527,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/intl' from '/.src/__lib_node_modules_lookup_lib.es2019.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -624,8 +540,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/bigint' from '/.src/__lib_node_modules_lookup_lib.es2020.bigint.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/bigint' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -639,8 +553,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/bigint' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/intl' from '/.src/__lib_node_modules_lookup_lib.es2020.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -654,8 +566,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/date' from '/.src/__lib_node_modules_lookup_lib.es2020.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -669,8 +579,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/number' from '/.src/__lib_node_modules_lookup_lib.es2020.number.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/number' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -684,8 +592,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/number' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/promise' from '/.src/__lib_node_modules_lookup_lib.es2020.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -699,8 +605,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2020.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -714,8 +618,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/string' from '/.src/__lib_node_modules_lookup_lib.es2020.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -729,8 +631,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2020.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -744,8 +644,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/promise' from '/.src/__lib_node_modules_lookup_lib.es2021.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -759,8 +657,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/string' from '/.src/__lib_node_modules_lookup_lib.es2021.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -774,8 +670,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/weakref' from '/.src/__lib_node_modules_lookup_lib.es2021.weakref.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/weakref' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -789,8 +683,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/weakref' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/intl' from '/.src/__lib_node_modules_lookup_lib.es2021.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -804,8 +696,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/array' from '/.src/__lib_node_modules_lookup_lib.es2022.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -819,8 +709,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/error' from '/.src/__lib_node_modules_lookup_lib.es2022.error.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/error' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -834,8 +722,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/error' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/intl' from '/.src/__lib_node_modules_lookup_lib.es2022.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -849,8 +735,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/object' from '/.src/__lib_node_modules_lookup_lib.es2022.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -864,8 +748,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2022.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -879,8 +761,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/string' from '/.src/__lib_node_modules_lookup_lib.es2022.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -894,8 +774,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/regexp' from '/.src/__lib_node_modules_lookup_lib.es2022.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -909,8 +787,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/array' from '/.src/__lib_node_modules_lookup_lib.es2023.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -924,8 +800,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -939,8 +813,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/intl' from '/.src/__lib_node_modules_lookup_lib.es2023.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -954,8 +826,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -969,8 +839,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/decorators' from '/.src/__lib_node_modules_lookup_lib.esnext.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -984,8 +852,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/disposable' from '/.src/__lib_node_modules_lookup_lib.esnext.disposable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -999,8 +865,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/promise' from '/.src/__lib_node_modules_lookup_lib.esnext.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1014,8 +878,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/object' from '/.src/__lib_node_modules_lookup_lib.esnext.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1029,8 +891,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/collection' from '/.src/__lib_node_modules_lookup_lib.esnext.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1044,8 +904,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1059,8 +917,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/regexp' from '/.src/__lib_node_modules_lookup_lib.esnext.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1074,8 +930,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/string' from '/.src/__lib_node_modules_lookup_lib.esnext.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1089,8 +943,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1104,8 +956,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1119,8 +969,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1134,8 +982,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/.src/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1149,8 +995,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/asynciterable' from '/.src/__lib_node_modules_lookup_lib.dom.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1163,7 +1007,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typesVersions.justIndex.trace.json b/tests/baselines/reference/typesVersions.justIndex.trace.json index 010cf16aaea89..b256dc3de4b1b 100644 --- a/tests/baselines/reference/typesVersions.justIndex.trace.json +++ b/tests/baselines/reference/typesVersions.justIndex.trace.json @@ -1,8 +1,4 @@ [ - "File '/a/ts3.1/package.json' does not exist.", - "Found 'package.json' at '/a/package.json'.", - "File '/b/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'a' from '/b/user.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "'baseUrl' option is set to '/', using this value to resolve non-relative module name 'a'.", @@ -11,7 +7,7 @@ "File '/a.ts' does not exist.", "File '/a.tsx' does not exist.", "File '/a.d.ts' does not exist.", - "File '/a/package.json' exists according to earlier cached lookups.", + "Found 'package.json' at '/a/package.json'.", "'package.json' has a 'typesVersions' field with version-specific path mappings.", "'package.json' does not have a 'typings' field.", "'package.json' does not have a 'types' field.", @@ -24,8 +20,6 @@ "File '/a/ts3.1/index.tsx' does not exist.", "File '/a/ts3.1/index.d.ts' exists - use it as a name resolution result.", "======== Module name 'a' was successfully resolved to '/a/ts3.1/index.d.ts'. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -39,8 +33,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023' from '/.src/__lib_node_modules_lookup_lib.es2023.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -54,8 +46,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022' from '/.src/__lib_node_modules_lookup_lib.es2022.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -69,8 +59,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021' from '/.src/__lib_node_modules_lookup_lib.es2021.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -84,8 +72,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020' from '/.src/__lib_node_modules_lookup_lib.es2020.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -99,8 +85,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019' from '/.src/__lib_node_modules_lookup_lib.es2019.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -114,8 +98,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018' from '/.src/__lib_node_modules_lookup_lib.es2018.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -129,8 +111,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017' from '/.src/__lib_node_modules_lookup_lib.es2017.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -144,8 +124,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016' from '/.src/__lib_node_modules_lookup_lib.es2016.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -159,8 +137,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015' from '/.src/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -174,8 +150,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -189,8 +163,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -204,8 +176,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -219,8 +189,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/core' from '/.src/__lib_node_modules_lookup_lib.es2015.core.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -234,8 +202,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/core' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/collection' from '/.src/__lib_node_modules_lookup_lib.es2015.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -249,8 +215,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/iterable' from '/.src/__lib_node_modules_lookup_lib.es2015.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -264,8 +228,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -279,8 +241,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/generator' from '/.src/__lib_node_modules_lookup_lib.es2015.generator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -294,8 +254,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/generator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/promise' from '/.src/__lib_node_modules_lookup_lib.es2015.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -309,8 +267,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/proxy' from '/.src/__lib_node_modules_lookup_lib.es2015.proxy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -324,8 +280,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/proxy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/reflect' from '/.src/__lib_node_modules_lookup_lib.es2015.reflect.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -339,8 +293,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/reflect' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -354,8 +306,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/array-include' from '/.src/__lib_node_modules_lookup_lib.es2016.array.include.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/array-include' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -369,8 +319,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/array-include' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/intl' from '/.src/__lib_node_modules_lookup_lib.es2016.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -384,8 +332,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/object' from '/.src/__lib_node_modules_lookup_lib.es2017.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -399,8 +345,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2017.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -414,8 +358,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/string' from '/.src/__lib_node_modules_lookup_lib.es2017.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -429,8 +371,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/intl' from '/.src/__lib_node_modules_lookup_lib.es2017.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -444,8 +384,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/typedarrays' from '/.src/__lib_node_modules_lookup_lib.es2017.typedarrays.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/typedarrays' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -459,8 +397,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/typedarrays' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/date' from '/.src/__lib_node_modules_lookup_lib.es2017.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -474,8 +410,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asynciterable' from '/.src/__lib_node_modules_lookup_lib.es2018.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -489,8 +423,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asyncgenerator' from '/.src/__lib_node_modules_lookup_lib.es2018.asyncgenerator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asyncgenerator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -504,8 +436,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asyncgenerator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/promise' from '/.src/__lib_node_modules_lookup_lib.es2018.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -519,8 +449,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/regexp' from '/.src/__lib_node_modules_lookup_lib.es2018.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -534,8 +462,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/intl' from '/.src/__lib_node_modules_lookup_lib.es2018.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -549,8 +475,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/array' from '/.src/__lib_node_modules_lookup_lib.es2019.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -564,8 +488,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/object' from '/.src/__lib_node_modules_lookup_lib.es2019.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -579,8 +501,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/string' from '/.src/__lib_node_modules_lookup_lib.es2019.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -594,8 +514,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/symbol' from '/.src/__lib_node_modules_lookup_lib.es2019.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -609,8 +527,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/intl' from '/.src/__lib_node_modules_lookup_lib.es2019.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -624,8 +540,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/bigint' from '/.src/__lib_node_modules_lookup_lib.es2020.bigint.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/bigint' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -639,8 +553,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/bigint' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/intl' from '/.src/__lib_node_modules_lookup_lib.es2020.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -654,8 +566,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/date' from '/.src/__lib_node_modules_lookup_lib.es2020.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -669,8 +579,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/number' from '/.src/__lib_node_modules_lookup_lib.es2020.number.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/number' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -684,8 +592,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/number' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/promise' from '/.src/__lib_node_modules_lookup_lib.es2020.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -699,8 +605,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2020.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -714,8 +618,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/string' from '/.src/__lib_node_modules_lookup_lib.es2020.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -729,8 +631,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2020.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -744,8 +644,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/promise' from '/.src/__lib_node_modules_lookup_lib.es2021.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -759,8 +657,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/string' from '/.src/__lib_node_modules_lookup_lib.es2021.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -774,8 +670,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/weakref' from '/.src/__lib_node_modules_lookup_lib.es2021.weakref.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/weakref' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -789,8 +683,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/weakref' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/intl' from '/.src/__lib_node_modules_lookup_lib.es2021.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -804,8 +696,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/array' from '/.src/__lib_node_modules_lookup_lib.es2022.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -819,8 +709,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/error' from '/.src/__lib_node_modules_lookup_lib.es2022.error.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/error' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -834,8 +722,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/error' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/intl' from '/.src/__lib_node_modules_lookup_lib.es2022.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -849,8 +735,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/object' from '/.src/__lib_node_modules_lookup_lib.es2022.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -864,8 +748,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2022.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -879,8 +761,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/string' from '/.src/__lib_node_modules_lookup_lib.es2022.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -894,8 +774,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/regexp' from '/.src/__lib_node_modules_lookup_lib.es2022.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -909,8 +787,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/array' from '/.src/__lib_node_modules_lookup_lib.es2023.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -924,8 +800,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -939,8 +813,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/intl' from '/.src/__lib_node_modules_lookup_lib.es2023.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -954,8 +826,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -969,8 +839,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/decorators' from '/.src/__lib_node_modules_lookup_lib.esnext.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -984,8 +852,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/disposable' from '/.src/__lib_node_modules_lookup_lib.esnext.disposable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -999,8 +865,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/promise' from '/.src/__lib_node_modules_lookup_lib.esnext.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1014,8 +878,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/object' from '/.src/__lib_node_modules_lookup_lib.esnext.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1029,8 +891,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/collection' from '/.src/__lib_node_modules_lookup_lib.esnext.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1044,8 +904,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1059,8 +917,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/regexp' from '/.src/__lib_node_modules_lookup_lib.esnext.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1074,8 +930,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/string' from '/.src/__lib_node_modules_lookup_lib.esnext.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1089,8 +943,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1104,8 +956,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1119,8 +969,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1134,8 +982,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/.src/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1149,8 +995,6 @@ "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/asynciterable' from '/.src/__lib_node_modules_lookup_lib.dom.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1163,7 +1007,5 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/.src/node_modules' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typesVersions.multiFile.trace.json b/tests/baselines/reference/typesVersions.multiFile.trace.json index cb2eb58717b60..eddcfe7784250 100644 --- a/tests/baselines/reference/typesVersions.multiFile.trace.json +++ b/tests/baselines/reference/typesVersions.multiFile.trace.json @@ -1,6 +1,4 @@ [ - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'ext' from '/.src/main.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -35,12 +33,6 @@ "File '/.src/node_modules/ext/ts3.1/other.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/.src/node_modules/ext/ts3.1/other.d.ts', result '/.src/node_modules/ext/ts3.1/other.d.ts'.", "======== Module name 'ext/other' was successfully resolved to '/.src/node_modules/ext/ts3.1/other.d.ts' with Package ID 'ext/ts3.1/other.d.ts@1.0.0'. ========", - "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", - "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", - "File '/.src/node_modules/ext/ts3.1/package.json' does not exist according to earlier cached lookups.", - "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -53,8 +45,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023' from '/.src/__lib_node_modules_lookup_lib.es2023.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -67,8 +57,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022' from '/.src/__lib_node_modules_lookup_lib.es2022.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -81,8 +69,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021' from '/.src/__lib_node_modules_lookup_lib.es2021.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -95,8 +81,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020' from '/.src/__lib_node_modules_lookup_lib.es2020.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -109,8 +93,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019' from '/.src/__lib_node_modules_lookup_lib.es2019.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -123,8 +105,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018' from '/.src/__lib_node_modules_lookup_lib.es2018.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -137,8 +117,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017' from '/.src/__lib_node_modules_lookup_lib.es2017.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -151,8 +129,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016' from '/.src/__lib_node_modules_lookup_lib.es2016.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -165,8 +141,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015' from '/.src/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -179,8 +153,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -193,8 +165,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -207,8 +177,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -221,8 +189,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/core' from '/.src/__lib_node_modules_lookup_lib.es2015.core.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -235,8 +201,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/core' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/collection' from '/.src/__lib_node_modules_lookup_lib.es2015.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -249,8 +213,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/iterable' from '/.src/__lib_node_modules_lookup_lib.es2015.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -263,8 +225,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -277,8 +237,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/generator' from '/.src/__lib_node_modules_lookup_lib.es2015.generator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -291,8 +249,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/generator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/promise' from '/.src/__lib_node_modules_lookup_lib.es2015.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -305,8 +261,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/proxy' from '/.src/__lib_node_modules_lookup_lib.es2015.proxy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -319,8 +273,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/proxy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/reflect' from '/.src/__lib_node_modules_lookup_lib.es2015.reflect.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -333,8 +285,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/reflect' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -347,8 +297,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/array-include' from '/.src/__lib_node_modules_lookup_lib.es2016.array.include.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/array-include' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -361,8 +309,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/array-include' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/intl' from '/.src/__lib_node_modules_lookup_lib.es2016.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -375,8 +321,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/object' from '/.src/__lib_node_modules_lookup_lib.es2017.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -389,8 +333,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2017.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -403,8 +345,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/string' from '/.src/__lib_node_modules_lookup_lib.es2017.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -417,8 +357,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/intl' from '/.src/__lib_node_modules_lookup_lib.es2017.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -431,8 +369,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/typedarrays' from '/.src/__lib_node_modules_lookup_lib.es2017.typedarrays.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/typedarrays' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -445,8 +381,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/typedarrays' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/date' from '/.src/__lib_node_modules_lookup_lib.es2017.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -459,8 +393,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asynciterable' from '/.src/__lib_node_modules_lookup_lib.es2018.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -473,8 +405,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asyncgenerator' from '/.src/__lib_node_modules_lookup_lib.es2018.asyncgenerator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asyncgenerator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -487,8 +417,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asyncgenerator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/promise' from '/.src/__lib_node_modules_lookup_lib.es2018.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -501,8 +429,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/regexp' from '/.src/__lib_node_modules_lookup_lib.es2018.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -515,8 +441,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/intl' from '/.src/__lib_node_modules_lookup_lib.es2018.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -529,8 +453,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/array' from '/.src/__lib_node_modules_lookup_lib.es2019.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -543,8 +465,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/object' from '/.src/__lib_node_modules_lookup_lib.es2019.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -557,8 +477,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/string' from '/.src/__lib_node_modules_lookup_lib.es2019.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -571,8 +489,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/symbol' from '/.src/__lib_node_modules_lookup_lib.es2019.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -585,8 +501,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/intl' from '/.src/__lib_node_modules_lookup_lib.es2019.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -599,8 +513,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/bigint' from '/.src/__lib_node_modules_lookup_lib.es2020.bigint.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/bigint' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -613,8 +525,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/bigint' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/intl' from '/.src/__lib_node_modules_lookup_lib.es2020.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -627,8 +537,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/date' from '/.src/__lib_node_modules_lookup_lib.es2020.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -641,8 +549,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/number' from '/.src/__lib_node_modules_lookup_lib.es2020.number.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/number' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -655,8 +561,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/number' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/promise' from '/.src/__lib_node_modules_lookup_lib.es2020.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -669,8 +573,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2020.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -683,8 +585,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/string' from '/.src/__lib_node_modules_lookup_lib.es2020.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -697,8 +597,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2020.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -711,8 +609,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/promise' from '/.src/__lib_node_modules_lookup_lib.es2021.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -725,8 +621,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/string' from '/.src/__lib_node_modules_lookup_lib.es2021.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -739,8 +633,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/weakref' from '/.src/__lib_node_modules_lookup_lib.es2021.weakref.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/weakref' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -753,8 +645,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/weakref' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/intl' from '/.src/__lib_node_modules_lookup_lib.es2021.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -767,8 +657,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/array' from '/.src/__lib_node_modules_lookup_lib.es2022.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -781,8 +669,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/error' from '/.src/__lib_node_modules_lookup_lib.es2022.error.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/error' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -795,8 +681,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/error' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/intl' from '/.src/__lib_node_modules_lookup_lib.es2022.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -809,8 +693,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/object' from '/.src/__lib_node_modules_lookup_lib.es2022.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -823,8 +705,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2022.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -837,8 +717,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/string' from '/.src/__lib_node_modules_lookup_lib.es2022.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -851,8 +729,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/regexp' from '/.src/__lib_node_modules_lookup_lib.es2022.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -865,8 +741,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/array' from '/.src/__lib_node_modules_lookup_lib.es2023.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -879,8 +753,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -893,8 +765,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/intl' from '/.src/__lib_node_modules_lookup_lib.es2023.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -907,8 +777,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -921,8 +789,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/decorators' from '/.src/__lib_node_modules_lookup_lib.esnext.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -935,8 +801,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/disposable' from '/.src/__lib_node_modules_lookup_lib.esnext.disposable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -949,8 +813,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/promise' from '/.src/__lib_node_modules_lookup_lib.esnext.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -963,8 +825,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/object' from '/.src/__lib_node_modules_lookup_lib.esnext.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -977,8 +837,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/collection' from '/.src/__lib_node_modules_lookup_lib.esnext.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -991,8 +849,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1005,8 +861,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/regexp' from '/.src/__lib_node_modules_lookup_lib.esnext.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1019,8 +873,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/string' from '/.src/__lib_node_modules_lookup_lib.esnext.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1033,8 +885,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1047,8 +897,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1061,8 +909,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1075,8 +921,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/.src/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1089,8 +933,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/asynciterable' from '/.src/__lib_node_modules_lookup_lib.dom.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1102,7 +944,5 @@ "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json index 656887a06e765..91387ca4d646a 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json @@ -1,6 +1,4 @@ [ - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'ext' from '/.src/main.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -74,10 +72,6 @@ "Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name 'ext/other' was not resolved. ========", - "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", - "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -90,8 +84,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023' from '/.src/__lib_node_modules_lookup_lib.es2023.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,8 +96,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022' from '/.src/__lib_node_modules_lookup_lib.es2022.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -118,8 +108,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021' from '/.src/__lib_node_modules_lookup_lib.es2021.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -132,8 +120,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020' from '/.src/__lib_node_modules_lookup_lib.es2020.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -146,8 +132,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019' from '/.src/__lib_node_modules_lookup_lib.es2019.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -160,8 +144,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018' from '/.src/__lib_node_modules_lookup_lib.es2018.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -174,8 +156,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017' from '/.src/__lib_node_modules_lookup_lib.es2017.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -188,8 +168,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016' from '/.src/__lib_node_modules_lookup_lib.es2016.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -202,8 +180,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015' from '/.src/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -216,8 +192,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -230,8 +204,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -244,8 +216,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -258,8 +228,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/core' from '/.src/__lib_node_modules_lookup_lib.es2015.core.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -272,8 +240,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/core' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/collection' from '/.src/__lib_node_modules_lookup_lib.es2015.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -286,8 +252,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/iterable' from '/.src/__lib_node_modules_lookup_lib.es2015.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -300,8 +264,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -314,8 +276,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/generator' from '/.src/__lib_node_modules_lookup_lib.es2015.generator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -328,8 +288,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/generator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/promise' from '/.src/__lib_node_modules_lookup_lib.es2015.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -342,8 +300,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/proxy' from '/.src/__lib_node_modules_lookup_lib.es2015.proxy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -356,8 +312,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/proxy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/reflect' from '/.src/__lib_node_modules_lookup_lib.es2015.reflect.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -370,8 +324,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/reflect' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -384,8 +336,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/array-include' from '/.src/__lib_node_modules_lookup_lib.es2016.array.include.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/array-include' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -398,8 +348,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/array-include' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/intl' from '/.src/__lib_node_modules_lookup_lib.es2016.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -412,8 +360,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/object' from '/.src/__lib_node_modules_lookup_lib.es2017.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -426,8 +372,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2017.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -440,8 +384,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/string' from '/.src/__lib_node_modules_lookup_lib.es2017.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -454,8 +396,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/intl' from '/.src/__lib_node_modules_lookup_lib.es2017.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -468,8 +408,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/typedarrays' from '/.src/__lib_node_modules_lookup_lib.es2017.typedarrays.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/typedarrays' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -482,8 +420,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/typedarrays' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/date' from '/.src/__lib_node_modules_lookup_lib.es2017.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -496,8 +432,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asynciterable' from '/.src/__lib_node_modules_lookup_lib.es2018.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -510,8 +444,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asyncgenerator' from '/.src/__lib_node_modules_lookup_lib.es2018.asyncgenerator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asyncgenerator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -524,8 +456,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asyncgenerator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/promise' from '/.src/__lib_node_modules_lookup_lib.es2018.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -538,8 +468,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/regexp' from '/.src/__lib_node_modules_lookup_lib.es2018.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -552,8 +480,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/intl' from '/.src/__lib_node_modules_lookup_lib.es2018.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -566,8 +492,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/array' from '/.src/__lib_node_modules_lookup_lib.es2019.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -580,8 +504,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/object' from '/.src/__lib_node_modules_lookup_lib.es2019.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -594,8 +516,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/string' from '/.src/__lib_node_modules_lookup_lib.es2019.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -608,8 +528,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/symbol' from '/.src/__lib_node_modules_lookup_lib.es2019.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -622,8 +540,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/intl' from '/.src/__lib_node_modules_lookup_lib.es2019.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -636,8 +552,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/bigint' from '/.src/__lib_node_modules_lookup_lib.es2020.bigint.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/bigint' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -650,8 +564,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/bigint' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/intl' from '/.src/__lib_node_modules_lookup_lib.es2020.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -664,8 +576,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/date' from '/.src/__lib_node_modules_lookup_lib.es2020.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -678,8 +588,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/number' from '/.src/__lib_node_modules_lookup_lib.es2020.number.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/number' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -692,8 +600,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/number' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/promise' from '/.src/__lib_node_modules_lookup_lib.es2020.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -706,8 +612,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2020.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -720,8 +624,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/string' from '/.src/__lib_node_modules_lookup_lib.es2020.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -734,8 +636,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2020.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -748,8 +648,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/promise' from '/.src/__lib_node_modules_lookup_lib.es2021.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -762,8 +660,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/string' from '/.src/__lib_node_modules_lookup_lib.es2021.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -776,8 +672,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/weakref' from '/.src/__lib_node_modules_lookup_lib.es2021.weakref.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/weakref' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -790,8 +684,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/weakref' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/intl' from '/.src/__lib_node_modules_lookup_lib.es2021.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -804,8 +696,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/array' from '/.src/__lib_node_modules_lookup_lib.es2022.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -818,8 +708,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/error' from '/.src/__lib_node_modules_lookup_lib.es2022.error.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/error' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -832,8 +720,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/error' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/intl' from '/.src/__lib_node_modules_lookup_lib.es2022.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -846,8 +732,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/object' from '/.src/__lib_node_modules_lookup_lib.es2022.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -860,8 +744,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2022.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -874,8 +756,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/string' from '/.src/__lib_node_modules_lookup_lib.es2022.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -888,8 +768,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/regexp' from '/.src/__lib_node_modules_lookup_lib.es2022.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -902,8 +780,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/array' from '/.src/__lib_node_modules_lookup_lib.es2023.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -916,8 +792,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -930,8 +804,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/intl' from '/.src/__lib_node_modules_lookup_lib.es2023.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -944,8 +816,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -958,8 +828,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/decorators' from '/.src/__lib_node_modules_lookup_lib.esnext.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -972,8 +840,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/disposable' from '/.src/__lib_node_modules_lookup_lib.esnext.disposable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -986,8 +852,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/promise' from '/.src/__lib_node_modules_lookup_lib.esnext.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1000,8 +864,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/object' from '/.src/__lib_node_modules_lookup_lib.esnext.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1014,8 +876,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/collection' from '/.src/__lib_node_modules_lookup_lib.esnext.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1028,8 +888,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1042,8 +900,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/regexp' from '/.src/__lib_node_modules_lookup_lib.esnext.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1056,8 +912,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/string' from '/.src/__lib_node_modules_lookup_lib.esnext.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1070,8 +924,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1084,8 +936,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1098,8 +948,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1112,8 +960,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/.src/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1126,8 +972,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/asynciterable' from '/.src/__lib_node_modules_lookup_lib.dom.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1139,7 +983,5 @@ "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json index cb2eb58717b60..eddcfe7784250 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json @@ -1,6 +1,4 @@ [ - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'ext' from '/.src/main.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -35,12 +33,6 @@ "File '/.src/node_modules/ext/ts3.1/other.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/.src/node_modules/ext/ts3.1/other.d.ts', result '/.src/node_modules/ext/ts3.1/other.d.ts'.", "======== Module name 'ext/other' was successfully resolved to '/.src/node_modules/ext/ts3.1/other.d.ts' with Package ID 'ext/ts3.1/other.d.ts@1.0.0'. ========", - "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", - "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", - "File '/.src/node_modules/ext/ts3.1/package.json' does not exist according to earlier cached lookups.", - "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -53,8 +45,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023' from '/.src/__lib_node_modules_lookup_lib.es2023.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -67,8 +57,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022' from '/.src/__lib_node_modules_lookup_lib.es2022.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -81,8 +69,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021' from '/.src/__lib_node_modules_lookup_lib.es2021.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -95,8 +81,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020' from '/.src/__lib_node_modules_lookup_lib.es2020.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -109,8 +93,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019' from '/.src/__lib_node_modules_lookup_lib.es2019.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -123,8 +105,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018' from '/.src/__lib_node_modules_lookup_lib.es2018.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -137,8 +117,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017' from '/.src/__lib_node_modules_lookup_lib.es2017.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -151,8 +129,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016' from '/.src/__lib_node_modules_lookup_lib.es2016.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -165,8 +141,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015' from '/.src/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -179,8 +153,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -193,8 +165,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -207,8 +177,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -221,8 +189,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/core' from '/.src/__lib_node_modules_lookup_lib.es2015.core.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -235,8 +201,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/core' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/collection' from '/.src/__lib_node_modules_lookup_lib.es2015.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -249,8 +213,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/iterable' from '/.src/__lib_node_modules_lookup_lib.es2015.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -263,8 +225,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -277,8 +237,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/generator' from '/.src/__lib_node_modules_lookup_lib.es2015.generator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -291,8 +249,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/generator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/promise' from '/.src/__lib_node_modules_lookup_lib.es2015.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -305,8 +261,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/proxy' from '/.src/__lib_node_modules_lookup_lib.es2015.proxy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -319,8 +273,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/proxy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/reflect' from '/.src/__lib_node_modules_lookup_lib.es2015.reflect.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -333,8 +285,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/reflect' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -347,8 +297,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/array-include' from '/.src/__lib_node_modules_lookup_lib.es2016.array.include.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/array-include' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -361,8 +309,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/array-include' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/intl' from '/.src/__lib_node_modules_lookup_lib.es2016.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -375,8 +321,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/object' from '/.src/__lib_node_modules_lookup_lib.es2017.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -389,8 +333,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2017.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -403,8 +345,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/string' from '/.src/__lib_node_modules_lookup_lib.es2017.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -417,8 +357,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/intl' from '/.src/__lib_node_modules_lookup_lib.es2017.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -431,8 +369,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/typedarrays' from '/.src/__lib_node_modules_lookup_lib.es2017.typedarrays.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/typedarrays' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -445,8 +381,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/typedarrays' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/date' from '/.src/__lib_node_modules_lookup_lib.es2017.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -459,8 +393,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asynciterable' from '/.src/__lib_node_modules_lookup_lib.es2018.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -473,8 +405,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asyncgenerator' from '/.src/__lib_node_modules_lookup_lib.es2018.asyncgenerator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asyncgenerator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -487,8 +417,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asyncgenerator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/promise' from '/.src/__lib_node_modules_lookup_lib.es2018.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -501,8 +429,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/regexp' from '/.src/__lib_node_modules_lookup_lib.es2018.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -515,8 +441,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/intl' from '/.src/__lib_node_modules_lookup_lib.es2018.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -529,8 +453,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/array' from '/.src/__lib_node_modules_lookup_lib.es2019.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -543,8 +465,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/object' from '/.src/__lib_node_modules_lookup_lib.es2019.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -557,8 +477,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/string' from '/.src/__lib_node_modules_lookup_lib.es2019.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -571,8 +489,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/symbol' from '/.src/__lib_node_modules_lookup_lib.es2019.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -585,8 +501,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/intl' from '/.src/__lib_node_modules_lookup_lib.es2019.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -599,8 +513,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/bigint' from '/.src/__lib_node_modules_lookup_lib.es2020.bigint.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/bigint' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -613,8 +525,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/bigint' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/intl' from '/.src/__lib_node_modules_lookup_lib.es2020.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -627,8 +537,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/date' from '/.src/__lib_node_modules_lookup_lib.es2020.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -641,8 +549,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/number' from '/.src/__lib_node_modules_lookup_lib.es2020.number.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/number' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -655,8 +561,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/number' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/promise' from '/.src/__lib_node_modules_lookup_lib.es2020.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -669,8 +573,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2020.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -683,8 +585,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/string' from '/.src/__lib_node_modules_lookup_lib.es2020.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -697,8 +597,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2020.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -711,8 +609,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/promise' from '/.src/__lib_node_modules_lookup_lib.es2021.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -725,8 +621,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/string' from '/.src/__lib_node_modules_lookup_lib.es2021.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -739,8 +633,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/weakref' from '/.src/__lib_node_modules_lookup_lib.es2021.weakref.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/weakref' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -753,8 +645,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/weakref' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/intl' from '/.src/__lib_node_modules_lookup_lib.es2021.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -767,8 +657,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/array' from '/.src/__lib_node_modules_lookup_lib.es2022.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -781,8 +669,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/error' from '/.src/__lib_node_modules_lookup_lib.es2022.error.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/error' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -795,8 +681,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/error' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/intl' from '/.src/__lib_node_modules_lookup_lib.es2022.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -809,8 +693,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/object' from '/.src/__lib_node_modules_lookup_lib.es2022.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -823,8 +705,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2022.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -837,8 +717,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/string' from '/.src/__lib_node_modules_lookup_lib.es2022.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -851,8 +729,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/regexp' from '/.src/__lib_node_modules_lookup_lib.es2022.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -865,8 +741,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/array' from '/.src/__lib_node_modules_lookup_lib.es2023.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -879,8 +753,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -893,8 +765,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/intl' from '/.src/__lib_node_modules_lookup_lib.es2023.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -907,8 +777,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -921,8 +789,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/decorators' from '/.src/__lib_node_modules_lookup_lib.esnext.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -935,8 +801,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/disposable' from '/.src/__lib_node_modules_lookup_lib.esnext.disposable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -949,8 +813,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/promise' from '/.src/__lib_node_modules_lookup_lib.esnext.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -963,8 +825,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/object' from '/.src/__lib_node_modules_lookup_lib.esnext.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -977,8 +837,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/collection' from '/.src/__lib_node_modules_lookup_lib.esnext.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -991,8 +849,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1005,8 +861,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/regexp' from '/.src/__lib_node_modules_lookup_lib.esnext.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1019,8 +873,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/string' from '/.src/__lib_node_modules_lookup_lib.esnext.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1033,8 +885,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1047,8 +897,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1061,8 +909,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1075,8 +921,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/.src/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1089,8 +933,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/asynciterable' from '/.src/__lib_node_modules_lookup_lib.dom.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1102,7 +944,5 @@ "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json index af2f5c534cca9..f172221e6854e 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json @@ -1,6 +1,4 @@ [ - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'ext' from '/.src/main.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -35,8 +33,6 @@ "File '/.src/node_modules/ext/ts3.1/other.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/.src/node_modules/ext/ts3.1/other.d.ts', result '/.src/node_modules/ext/ts3.1/other.d.ts'.", "======== Module name 'ext/other' was successfully resolved to '/.src/node_modules/ext/ts3.1/other.d.ts' with Package ID 'ext/ts3.1/other.d.ts@1.0.0'. ========", - "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", - "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '../' from '/.src/node_modules/ext/ts3.1/index.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/.src/node_modules/ext/', target file types: TypeScript, Declaration.", @@ -51,8 +47,6 @@ "File '/.src/node_modules/ext/ts3.1/index.tsx' does not exist.", "File '/.src/node_modules/ext/ts3.1/index.d.ts' exists - use it as a name resolution result.", "======== Module name '../' was successfully resolved to '/.src/node_modules/ext/ts3.1/index.d.ts' with Package ID 'ext/s3.1/index.d.ts@1.0.0'. ========", - "File '/.src/node_modules/ext/ts3.1/package.json' does not exist according to earlier cached lookups.", - "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '../other' from '/.src/node_modules/ext/ts3.1/other.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/.src/node_modules/ext/other', target file types: TypeScript, Declaration.", @@ -61,9 +55,6 @@ "File '/.src/node_modules/ext/other.d.ts' exists - use it as a name resolution result.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Module name '../other' was successfully resolved to '/.src/node_modules/ext/other.d.ts' with Package ID 'ext/other.d.ts@1.0.0'. ========", - "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,8 +67,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023' from '/.src/__lib_node_modules_lookup_lib.es2023.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -90,8 +79,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022' from '/.src/__lib_node_modules_lookup_lib.es2022.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,8 +91,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021' from '/.src/__lib_node_modules_lookup_lib.es2021.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -118,8 +103,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020' from '/.src/__lib_node_modules_lookup_lib.es2020.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -132,8 +115,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019' from '/.src/__lib_node_modules_lookup_lib.es2019.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -146,8 +127,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018' from '/.src/__lib_node_modules_lookup_lib.es2018.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -160,8 +139,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017' from '/.src/__lib_node_modules_lookup_lib.es2017.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -174,8 +151,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016' from '/.src/__lib_node_modules_lookup_lib.es2016.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -188,8 +163,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015' from '/.src/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -202,8 +175,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -216,8 +187,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -230,8 +199,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -244,8 +211,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/core' from '/.src/__lib_node_modules_lookup_lib.es2015.core.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -258,8 +223,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/core' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/collection' from '/.src/__lib_node_modules_lookup_lib.es2015.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -272,8 +235,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/iterable' from '/.src/__lib_node_modules_lookup_lib.es2015.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -286,8 +247,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -300,8 +259,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/generator' from '/.src/__lib_node_modules_lookup_lib.es2015.generator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -314,8 +271,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/generator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/promise' from '/.src/__lib_node_modules_lookup_lib.es2015.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -328,8 +283,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/proxy' from '/.src/__lib_node_modules_lookup_lib.es2015.proxy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -342,8 +295,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/proxy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/reflect' from '/.src/__lib_node_modules_lookup_lib.es2015.reflect.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -356,8 +307,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/reflect' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -370,8 +319,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/array-include' from '/.src/__lib_node_modules_lookup_lib.es2016.array.include.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/array-include' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -384,8 +331,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/array-include' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/intl' from '/.src/__lib_node_modules_lookup_lib.es2016.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -398,8 +343,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/object' from '/.src/__lib_node_modules_lookup_lib.es2017.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -412,8 +355,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2017.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -426,8 +367,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/string' from '/.src/__lib_node_modules_lookup_lib.es2017.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -440,8 +379,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/intl' from '/.src/__lib_node_modules_lookup_lib.es2017.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -454,8 +391,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/typedarrays' from '/.src/__lib_node_modules_lookup_lib.es2017.typedarrays.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/typedarrays' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -468,8 +403,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/typedarrays' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/date' from '/.src/__lib_node_modules_lookup_lib.es2017.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -482,8 +415,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asynciterable' from '/.src/__lib_node_modules_lookup_lib.es2018.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -496,8 +427,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asyncgenerator' from '/.src/__lib_node_modules_lookup_lib.es2018.asyncgenerator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asyncgenerator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -510,8 +439,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asyncgenerator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/promise' from '/.src/__lib_node_modules_lookup_lib.es2018.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -524,8 +451,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/regexp' from '/.src/__lib_node_modules_lookup_lib.es2018.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -538,8 +463,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/intl' from '/.src/__lib_node_modules_lookup_lib.es2018.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -552,8 +475,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/array' from '/.src/__lib_node_modules_lookup_lib.es2019.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -566,8 +487,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/object' from '/.src/__lib_node_modules_lookup_lib.es2019.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -580,8 +499,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/string' from '/.src/__lib_node_modules_lookup_lib.es2019.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -594,8 +511,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/symbol' from '/.src/__lib_node_modules_lookup_lib.es2019.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -608,8 +523,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/intl' from '/.src/__lib_node_modules_lookup_lib.es2019.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -622,8 +535,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/bigint' from '/.src/__lib_node_modules_lookup_lib.es2020.bigint.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/bigint' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -636,8 +547,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/bigint' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/intl' from '/.src/__lib_node_modules_lookup_lib.es2020.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -650,8 +559,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/date' from '/.src/__lib_node_modules_lookup_lib.es2020.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -664,8 +571,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/number' from '/.src/__lib_node_modules_lookup_lib.es2020.number.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/number' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -678,8 +583,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/number' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/promise' from '/.src/__lib_node_modules_lookup_lib.es2020.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -692,8 +595,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2020.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -706,8 +607,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/string' from '/.src/__lib_node_modules_lookup_lib.es2020.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -720,8 +619,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2020.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -734,8 +631,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/promise' from '/.src/__lib_node_modules_lookup_lib.es2021.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -748,8 +643,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/string' from '/.src/__lib_node_modules_lookup_lib.es2021.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -762,8 +655,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/weakref' from '/.src/__lib_node_modules_lookup_lib.es2021.weakref.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/weakref' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -776,8 +667,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/weakref' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/intl' from '/.src/__lib_node_modules_lookup_lib.es2021.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -790,8 +679,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/array' from '/.src/__lib_node_modules_lookup_lib.es2022.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -804,8 +691,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/error' from '/.src/__lib_node_modules_lookup_lib.es2022.error.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/error' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -818,8 +703,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/error' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/intl' from '/.src/__lib_node_modules_lookup_lib.es2022.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -832,8 +715,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/object' from '/.src/__lib_node_modules_lookup_lib.es2022.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -846,8 +727,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2022.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -860,8 +739,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/string' from '/.src/__lib_node_modules_lookup_lib.es2022.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -874,8 +751,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/regexp' from '/.src/__lib_node_modules_lookup_lib.es2022.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -888,8 +763,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/array' from '/.src/__lib_node_modules_lookup_lib.es2023.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -902,8 +775,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -916,8 +787,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/intl' from '/.src/__lib_node_modules_lookup_lib.es2023.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -930,8 +799,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -944,8 +811,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/decorators' from '/.src/__lib_node_modules_lookup_lib.esnext.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -958,8 +823,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/disposable' from '/.src/__lib_node_modules_lookup_lib.esnext.disposable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -972,8 +835,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/promise' from '/.src/__lib_node_modules_lookup_lib.esnext.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -986,8 +847,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/object' from '/.src/__lib_node_modules_lookup_lib.esnext.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1000,8 +859,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/collection' from '/.src/__lib_node_modules_lookup_lib.esnext.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1014,8 +871,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1028,8 +883,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/regexp' from '/.src/__lib_node_modules_lookup_lib.esnext.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1042,8 +895,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/string' from '/.src/__lib_node_modules_lookup_lib.esnext.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1056,8 +907,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1070,8 +919,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1084,8 +931,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1098,8 +943,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/.src/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1112,8 +955,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/asynciterable' from '/.src/__lib_node_modules_lookup_lib.dom.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1125,7 +966,5 @@ "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json index 196f91896e47b..cdd64b13a3fab 100644 --- a/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json +++ b/tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json @@ -1,6 +1,4 @@ [ - "File '/.src/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'ext' from '/.src/main.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'ext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -33,8 +31,6 @@ "File '/.src/node_modules/ext/other.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/.src/node_modules/ext/other.d.ts', result '/.src/node_modules/ext/other.d.ts'.", "======== Module name 'ext/other' was successfully resolved to '/.src/node_modules/ext/other.d.ts' with Package ID 'ext/other.d.ts@1.0.0'. ========", - "File '/.src/node_modules/ext/ts3.1/package.json' does not exist.", - "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Resolving module '../other' from '/.src/node_modules/ext/ts3.1/index.d.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module as file / folder, candidate module location '/.src/node_modules/ext/other', target file types: TypeScript, Declaration.", @@ -43,9 +39,6 @@ "File '/.src/node_modules/ext/other.d.ts' exists - use it as a name resolution result.", "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", "======== Module name '../other' was successfully resolved to '/.src/node_modules/ext/other.d.ts' with Package ID 'ext/other.d.ts@1.0.0'. ========", - "File '/.src/node_modules/ext/package.json' exists according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext' from '/.src/__lib_node_modules_lookup_lib.esnext.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -58,8 +51,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023' from '/.src/__lib_node_modules_lookup_lib.es2023.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -72,8 +63,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022' from '/.src/__lib_node_modules_lookup_lib.es2022.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -86,8 +75,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021' from '/.src/__lib_node_modules_lookup_lib.es2021.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -100,8 +87,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020' from '/.src/__lib_node_modules_lookup_lib.es2020.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -114,8 +99,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019' from '/.src/__lib_node_modules_lookup_lib.es2019.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -128,8 +111,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018' from '/.src/__lib_node_modules_lookup_lib.es2018.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -142,8 +123,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017' from '/.src/__lib_node_modules_lookup_lib.es2017.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -156,8 +135,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016' from '/.src/__lib_node_modules_lookup_lib.es2016.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -170,8 +147,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015' from '/.src/__lib_node_modules_lookup_lib.es2015.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -184,8 +159,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/.src/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -198,8 +171,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/.src/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -212,8 +183,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/.src/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -226,8 +195,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/core' from '/.src/__lib_node_modules_lookup_lib.es2015.core.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/core' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -240,8 +207,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/core' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/collection' from '/.src/__lib_node_modules_lookup_lib.es2015.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -254,8 +219,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/iterable' from '/.src/__lib_node_modules_lookup_lib.es2015.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -268,8 +231,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -282,8 +243,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/generator' from '/.src/__lib_node_modules_lookup_lib.es2015.generator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/generator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -296,8 +255,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/generator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/promise' from '/.src/__lib_node_modules_lookup_lib.es2015.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -310,8 +267,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/proxy' from '/.src/__lib_node_modules_lookup_lib.es2015.proxy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/proxy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -324,8 +279,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/proxy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/reflect' from '/.src/__lib_node_modules_lookup_lib.es2015.reflect.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/reflect' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -338,8 +291,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/reflect' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2015/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2015.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2015/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -352,8 +303,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2015/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/array-include' from '/.src/__lib_node_modules_lookup_lib.es2016.array.include.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/array-include' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -366,8 +315,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/array-include' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2016/intl' from '/.src/__lib_node_modules_lookup_lib.es2016.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2016/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -380,8 +327,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2016/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/object' from '/.src/__lib_node_modules_lookup_lib.es2017.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -394,8 +339,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2017.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -408,8 +351,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/string' from '/.src/__lib_node_modules_lookup_lib.es2017.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -422,8 +363,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/intl' from '/.src/__lib_node_modules_lookup_lib.es2017.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -436,8 +375,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/typedarrays' from '/.src/__lib_node_modules_lookup_lib.es2017.typedarrays.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/typedarrays' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -450,8 +387,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/typedarrays' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2017/date' from '/.src/__lib_node_modules_lookup_lib.es2017.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2017/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -464,8 +399,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2017/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asynciterable' from '/.src/__lib_node_modules_lookup_lib.es2018.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -478,8 +411,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/asyncgenerator' from '/.src/__lib_node_modules_lookup_lib.es2018.asyncgenerator.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/asyncgenerator' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -492,8 +423,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/asyncgenerator' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/promise' from '/.src/__lib_node_modules_lookup_lib.es2018.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -506,8 +435,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/regexp' from '/.src/__lib_node_modules_lookup_lib.es2018.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -520,8 +447,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2018/intl' from '/.src/__lib_node_modules_lookup_lib.es2018.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2018/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -534,8 +459,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2018/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/array' from '/.src/__lib_node_modules_lookup_lib.es2019.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -548,8 +471,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/object' from '/.src/__lib_node_modules_lookup_lib.es2019.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -562,8 +483,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/string' from '/.src/__lib_node_modules_lookup_lib.es2019.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -576,8 +495,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/symbol' from '/.src/__lib_node_modules_lookup_lib.es2019.symbol.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/symbol' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -590,8 +507,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/symbol' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2019/intl' from '/.src/__lib_node_modules_lookup_lib.es2019.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2019/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -604,8 +519,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2019/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/bigint' from '/.src/__lib_node_modules_lookup_lib.es2020.bigint.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/bigint' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -618,8 +531,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/bigint' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/intl' from '/.src/__lib_node_modules_lookup_lib.es2020.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -632,8 +543,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/date' from '/.src/__lib_node_modules_lookup_lib.es2020.date.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/date' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -646,8 +555,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/date' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/number' from '/.src/__lib_node_modules_lookup_lib.es2020.number.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/number' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -660,8 +567,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/number' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/promise' from '/.src/__lib_node_modules_lookup_lib.es2020.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -674,8 +579,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2020.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -688,8 +591,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/string' from '/.src/__lib_node_modules_lookup_lib.es2020.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -702,8 +603,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2020/symbol-wellknown' from '/.src/__lib_node_modules_lookup_lib.es2020.symbol.wellknown.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2020/symbol-wellknown' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -716,8 +615,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2020/symbol-wellknown' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/promise' from '/.src/__lib_node_modules_lookup_lib.es2021.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -730,8 +627,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/string' from '/.src/__lib_node_modules_lookup_lib.es2021.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -744,8 +639,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/weakref' from '/.src/__lib_node_modules_lookup_lib.es2021.weakref.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/weakref' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -758,8 +651,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/weakref' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2021/intl' from '/.src/__lib_node_modules_lookup_lib.es2021.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2021/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -772,8 +663,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2021/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/array' from '/.src/__lib_node_modules_lookup_lib.es2022.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -786,8 +675,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/error' from '/.src/__lib_node_modules_lookup_lib.es2022.error.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/error' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -800,8 +687,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/error' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/intl' from '/.src/__lib_node_modules_lookup_lib.es2022.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -814,8 +699,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/object' from '/.src/__lib_node_modules_lookup_lib.es2022.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -828,8 +711,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/sharedmemory' from '/.src/__lib_node_modules_lookup_lib.es2022.sharedmemory.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/sharedmemory' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -842,8 +723,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/sharedmemory' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/string' from '/.src/__lib_node_modules_lookup_lib.es2022.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -856,8 +735,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2022/regexp' from '/.src/__lib_node_modules_lookup_lib.es2022.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2022/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -870,8 +747,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2022/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/array' from '/.src/__lib_node_modules_lookup_lib.es2023.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -884,8 +759,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -898,8 +771,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es2023/intl' from '/.src/__lib_node_modules_lookup_lib.es2023.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es2023/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -912,8 +783,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-es2023/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -926,8 +795,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/intl' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/decorators' from '/.src/__lib_node_modules_lookup_lib.esnext.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -940,8 +807,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/disposable' from '/.src/__lib_node_modules_lookup_lib.esnext.disposable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/disposable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -954,8 +819,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/disposable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/promise' from '/.src/__lib_node_modules_lookup_lib.esnext.promise.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/promise' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -968,8 +831,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/promise' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/object' from '/.src/__lib_node_modules_lookup_lib.esnext.object.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/object' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -982,8 +843,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/object' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/collection' from '/.src/__lib_node_modules_lookup_lib.esnext.collection.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -996,8 +855,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/collection' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/array' from '/.src/__lib_node_modules_lookup_lib.esnext.array.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/array' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1010,8 +867,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/array' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/regexp' from '/.src/__lib_node_modules_lookup_lib.esnext.regexp.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/regexp' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1024,8 +879,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/regexp' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-esnext/string' from '/.src/__lib_node_modules_lookup_lib.esnext.string.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-esnext/string' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1038,8 +891,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-esnext/string' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/.src/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1052,8 +903,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/.src/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1066,8 +915,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/.src/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1080,8 +927,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/iterable' from '/.src/__lib_node_modules_lookup_lib.dom.iterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/iterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1094,8 +939,6 @@ "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", "======== Module name '@typescript/lib-dom/iterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom/asynciterable' from '/.src/__lib_node_modules_lookup_lib.dom.asynciterable.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -1107,7 +950,5 @@ "Loading module '@typescript/lib-dom/asynciterable' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "Directory '/node_modules' does not exist, skipping all lookups in it.", - "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-dom/asynciterable' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typingsLookup1.trace.json b/tests/baselines/reference/typingsLookup1.trace.json index 34f0b54b8debb..ca05094980119 100644 --- a/tests/baselines/reference/typingsLookup1.trace.json +++ b/tests/baselines/reference/typingsLookup1.trace.json @@ -1,20 +1,13 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive 'jquery', containing file '/a.ts', root directory '/node_modules/@types'. ========", "Resolving with primary search path '/node_modules/@types'.", "File '/node_modules/@types/jquery/package.json' does not exist.", "File '/node_modules/@types/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/jquery/index.d.ts', result '/node_modules/@types/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/index.d.ts', primary: true. ========", - "File '/node_modules/@types/jquery/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'jquery', containing file '/__inferred type names__.ts'. ========", "Resolution for type reference directive 'jquery' was found in cache from location '/'.", "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -24,8 +17,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -35,8 +26,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -45,8 +34,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -56,8 +43,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -66,8 +51,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -76,7 +59,5 @@ "File '/node_modules/@types/typescript__lib-scripthost.d.ts' does not exist.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typingsLookup2.trace.json b/tests/baselines/reference/typingsLookup2.trace.json index d28412e8563b4..4433ceee06a74 100644 --- a/tests/baselines/reference/typingsLookup2.trace.json +++ b/tests/baselines/reference/typingsLookup2.trace.json @@ -1,7 +1,4 @@ [ - "File '/package.json' does not exist.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -11,8 +8,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -22,8 +17,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -32,8 +25,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -43,8 +34,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -53,8 +42,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -63,7 +50,5 @@ "File '/node_modules/@types/typescript__lib-scripthost.d.ts' does not exist.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typingsLookup3.trace.json b/tests/baselines/reference/typingsLookup3.trace.json index 817ce49ceff11..794dbee4123bf 100644 --- a/tests/baselines/reference/typingsLookup3.trace.json +++ b/tests/baselines/reference/typingsLookup3.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving type reference directive 'JqUeRy', containing file '/a.ts', root directory '/node_modules/@types'. ========", "Resolving with primary search path '/node_modules/@types'.", "Looking up in 'node_modules' folder, initial location '/'.", @@ -13,12 +12,6 @@ "File '/node_modules/@types/jquery/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/jquery/index.d.ts', result '/node_modules/@types/jquery/index.d.ts'.", "======== Type reference directive 'jquery' was successfully resolved to '/node_modules/@types/jquery/index.d.ts', primary: true. ========", - "File '/node_modules/@types/jquery/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -28,8 +21,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -39,8 +30,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -49,8 +38,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -60,8 +47,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -70,8 +55,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -80,7 +63,5 @@ "File '/node_modules/@types/typescript__lib-scripthost.d.ts' does not exist.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typingsLookup4.trace.json b/tests/baselines/reference/typingsLookup4.trace.json index 1aa96de5eadde..746760f576fd5 100644 --- a/tests/baselines/reference/typingsLookup4.trace.json +++ b/tests/baselines/reference/typingsLookup4.trace.json @@ -1,5 +1,4 @@ [ - "File '/package.json' does not exist.", "======== Resolving module 'jquery' from '/a.ts'. ========", "Module resolution kind is not specified, using 'Node10'.", "Loading module 'jquery' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -65,11 +64,6 @@ "File '/node_modules/@types/mquery/mquery/index.tsx' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/mquery/mquery/index.tsx', result '/node_modules/@types/mquery/mquery/index.tsx'.", "======== Module name 'mquery' was successfully resolved to '/node_modules/@types/mquery/mquery/index.tsx'. ========", - "File '/node_modules/@types/jquery/package.json' exists according to earlier cached lookups.", - "File '/node_modules/@types/kquery/package.json' exists according to earlier cached lookups.", - "File '/node_modules/@types/lquery/package.json' exists according to earlier cached lookups.", - "File '/node_modules/@types/mquery/mquery/package.json' does not exist.", - "File '/node_modules/@types/mquery/package.json' exists according to earlier cached lookups.", "======== Resolving type reference directive 'jquery', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", "Resolving with primary search path '/node_modules/@types'.", "File '/node_modules/@types/jquery/package.json' exists according to earlier cached lookups.", @@ -107,8 +101,6 @@ "File '/node_modules/@types/mquery/mquery/index.tsx' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/mquery/mquery/index.tsx', result '/node_modules/@types/mquery/mquery/index.tsx'.", "======== Type reference directive 'mquery' was successfully resolved to '/node_modules/@types/mquery/mquery/index.tsx', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -118,8 +110,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -129,8 +119,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -139,8 +127,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -150,8 +136,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -160,8 +144,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -170,7 +152,5 @@ "File '/node_modules/@types/typescript__lib-scripthost.d.ts' does not exist.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file diff --git a/tests/baselines/reference/typingsLookupAmd.trace.json b/tests/baselines/reference/typingsLookupAmd.trace.json index 7e90aacb1ba5e..a60e37c92bea3 100644 --- a/tests/baselines/reference/typingsLookupAmd.trace.json +++ b/tests/baselines/reference/typingsLookupAmd.trace.json @@ -1,7 +1,4 @@ [ - "File '/x/y/package.json' does not exist.", - "File '/x/package.json' does not exist.", - "File '/package.json' does not exist.", "======== Resolving module 'b' from '/x/y/foo.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", "File '/x/y/b.ts' does not exist.", @@ -20,11 +17,6 @@ "File '/x/node_modules/@types/b/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/x/node_modules/@types/b/index.d.ts', result '/x/node_modules/@types/b/index.d.ts'.", "======== Module name 'b' was successfully resolved to '/x/node_modules/@types/b/index.d.ts'. ========", - "File '/x/node_modules/@types/b/package.json' does not exist according to earlier cached lookups.", - "File '/x/node_modules/@types/package.json' does not exist.", - "File '/x/node_modules/package.json' does not exist.", - "File '/x/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module 'a' from '/x/node_modules/@types/b/index.d.ts'. ========", "Module resolution kind is not specified, using 'Classic'.", "File '/x/node_modules/@types/b/a.ts' does not exist.", @@ -51,18 +43,12 @@ "File '/node_modules/@types/a/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/a/index.d.ts', result '/node_modules/@types/a/index.d.ts'.", "======== Module name 'a' was successfully resolved to '/node_modules/@types/a/index.d.ts'. ========", - "File '/node_modules/@types/a/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@types/package.json' does not exist.", - "File '/node_modules/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving type reference directive 'a', containing file '/__inferred type names__.ts', root directory '/node_modules/@types'. ========", "Resolving with primary search path '/node_modules/@types'.", "File '/node_modules/@types/a/package.json' does not exist according to earlier cached lookups.", "File '/node_modules/@types/a/index.d.ts' exists - use it as a name resolution result.", "Resolving real path for '/node_modules/@types/a/index.d.ts', result '/node_modules/@types/a/index.d.ts'.", "======== Type reference directive 'a' was successfully resolved to '/node_modules/@types/a/index.d.ts', primary: true. ========", - "File '/.ts/package.json' does not exist.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-es5' from '/__lib_node_modules_lookup_lib.es5.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -72,8 +58,6 @@ "Loading module '@typescript/lib-es5' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-es5' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators' from '/__lib_node_modules_lookup_lib.decorators.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -83,8 +67,6 @@ "Loading module '@typescript/lib-decorators' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-decorators/legacy' from '/__lib_node_modules_lookup_lib.decorators.legacy.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -93,8 +75,6 @@ "Loading module '@typescript/lib-decorators/legacy' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-decorators/legacy' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-dom' from '/__lib_node_modules_lookup_lib.dom.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -104,8 +84,6 @@ "Loading module '@typescript/lib-dom' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-dom' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-webworker/importscripts' from '/__lib_node_modules_lookup_lib.webworker.importscripts.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -114,8 +92,6 @@ "Loading module '@typescript/lib-webworker/importscripts' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", "======== Module name '@typescript/lib-webworker/importscripts' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups.", "======== Resolving module '@typescript/lib-scripthost' from '/__lib_node_modules_lookup_lib.scripthost.d.ts__.ts'. ========", "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: TypeScript, Declaration.", @@ -124,7 +100,5 @@ "File '/node_modules/@types/typescript__lib-scripthost.d.ts' does not exist.", "Loading module '@typescript/lib-scripthost' from 'node_modules' folder, target file types: JavaScript.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript.", - "======== Module name '@typescript/lib-scripthost' was not resolved. ========", - "File '/.ts/package.json' does not exist according to earlier cached lookups.", - "File '/package.json' does not exist according to earlier cached lookups." + "======== Module name '@typescript/lib-scripthost' was not resolved. ========" ] \ No newline at end of file